<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Alex Chen</title>
    <description>The latest articles on Forem by Alex Chen (@tryonfy).</description>
    <link>https://forem.com/tryonfy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3862077%2Fb3e111c5-ceb4-4acf-9159-7461bd03b255.png</url>
      <title>Forem: Alex Chen</title>
      <link>https://forem.com/tryonfy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/tryonfy"/>
    <language>en</language>
    <item>
      <title>Building a Multi-Language Pokémon Fansite with Next.js 16 (en/ja/ko/zh)</title>
      <dc:creator>Alex Chen</dc:creator>
      <pubDate>Fri, 17 Apr 2026 16:08:12 +0000</pubDate>
      <link>https://forem.com/tryonfy/building-a-multi-language-pokemon-fansite-with-nextjs-16-enjakozh-4en8</link>
      <guid>https://forem.com/tryonfy/building-a-multi-language-pokemon-fansite-with-nextjs-16-enjakozh-4en8</guid>
      <description>&lt;p&gt;I recently launched &lt;a href="https://pokopiahabitats.com" rel="noopener noreferrer"&gt;Pokopia Habitats&lt;/a&gt; — a complete game guide for Pokémon Pokopia. Sharing the build because the multi-language static-site setup had a few non-obvious wins worth documenting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 16&lt;/strong&gt; with App Router&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Static HTML Export&lt;/strong&gt; (output: "export") — full SSG, no server&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare Pages&lt;/strong&gt; — free tier, auto-build on GitHub push&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tailwind 4 + TypeScript&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;4 locales: en (default), ja, ko, zh&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Scale
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;212 habitats&lt;/li&gt;
&lt;li&gt;303 Pokémon&lt;/li&gt;
&lt;li&gt;282 materials&lt;/li&gt;
&lt;li&gt;105 crafting + 20 cooking recipes&lt;/li&gt;
&lt;li&gt;33 guides&lt;/li&gt;
&lt;li&gt;~11.6K URLs in sitemap&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Multi-language without i18n routing complexity
&lt;/h2&gt;

&lt;p&gt;Most Next.js i18n tutorials push you toward next-i18next or middleware-based locale detection. For a static export, both are overkill. What worked:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Locale dicts in src/dictionaries/{en,ja,ko,zh}.json&lt;/li&gt;
&lt;li&gt;Route each locale as a separate [locale] segment&lt;/li&gt;
&lt;li&gt;generateStaticParams emits all (habitat × locale) combos at build time&lt;/li&gt;
&lt;li&gt;HtmlLangUpdater client component sets  on the fly&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every page gets statically rendered per locale, which Cloudflare CDNs love. Build time: ~4 min for ~11K pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Asset trick: external → own CDN
&lt;/h2&gt;

&lt;p&gt;The Pokémon company assets (serebii.net area images, pokemon.com background images) were hot-linked initially. Ran into browser cache issues + the obvious "please don't hot-link" etiquette. Solution: a small Cloudflare R2 worker that fetches on first request, caches, and serves from our own CDN.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's the site for?
&lt;/h2&gt;

&lt;p&gt;Pokemon Pokopia has a ton of hidden data — habitat unlock conditions, material drop rates, cross-language item names — scattered across 7+ fan sites. &lt;a href="https://pokopiahabitats.com" rel="noopener noreferrer"&gt;Pokopia Habitats&lt;/a&gt; consolidates it and is the only site covering all four languages (en/ja/ko/zh) with cross-referenced item names.&lt;/p&gt;

&lt;p&gt;If you're playing on the Japanese or Korean version, the Pokédex at &lt;a href="https://pokopiahabitats.com/pokemon" rel="noopener noreferrer"&gt;pokopiahabitats.com/pokemon&lt;/a&gt; shows names in every language — useful when a Japanese wiki is your only reference.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do differently
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Pre-build a subset of pages first, lazy-generate the long tail via ISR-at-build-time&lt;/li&gt;
&lt;li&gt;Use next/image unoptimized mode earlier — SSG + remote images is a classic footgun&lt;/li&gt;
&lt;li&gt;Dict keys should be typed (currently Record) — typed-i18n next time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to answer questions about the build if anyone is doing similar fansite work.&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>showdev</category>
      <category>sideprojects</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building an AI Virtual Try-On Product: What I Learned</title>
      <dc:creator>Alex Chen</dc:creator>
      <pubDate>Sun, 05 Apr 2026 13:03:32 +0000</pubDate>
      <link>https://forem.com/tryonfy/building-an-ai-virtual-try-on-product-what-i-learned-1bfp</link>
      <guid>https://forem.com/tryonfy/building-an-ai-virtual-try-on-product-what-i-learned-1bfp</guid>
      <description>&lt;p&gt;I've been working on &lt;a href="https://tryonfy.com" rel="noopener noreferrer"&gt;TryOnfy&lt;/a&gt;, an AI-powered virtual try-on platform that lets users preview clothing, hairstyles, and accessories on their own photos. Here's what I've learned building it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Return rates in online fashion are brutal — around 30%. The #1 reason? "It didn't look like I expected." Customers can't visualize how something will actually look on &lt;em&gt;them&lt;/em&gt;, so they either don't buy (lost revenue) or buy and return (lost margin).&lt;/p&gt;

&lt;h2&gt;
  
  
  The AI Pipeline
&lt;/h2&gt;

&lt;p&gt;Our try-on system works in three stages:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Body Parsing
&lt;/h3&gt;

&lt;p&gt;We detect pose keypoints and segment the person into regions (face, torso, arms, legs, background). This tells the model &lt;em&gt;where&lt;/em&gt; to place the garment and &lt;em&gt;how&lt;/em&gt; to deform it.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Garment Warping
&lt;/h3&gt;

&lt;p&gt;The target clothing item gets geometrically transformed to match the person's pose.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Diffusion-Based Rendering
&lt;/h3&gt;

&lt;p&gt;A fine-tuned diffusion model generates the final composite, handling realistic fabric texture, proper lighting, skin tone preservation, and edge blending.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenges We Hit
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Speed vs. quality tradeoff&lt;/strong&gt;: Full diffusion inference is slow. We optimized with model distillation and caching to get results in seconds, not minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hair try-on is harder than clothing&lt;/strong&gt;: Hair interacts with face shape, skin tone, and lighting in complex ways.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Accessories need precision&lt;/strong&gt;: Glasses and jewelry require pixel-level accuracy around facial features.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;Users can now upload one photo and try on any item in under 10 seconds. We offer a free tier (10 credits) and a $9.90/month subscription for unlimited access.&lt;/p&gt;

&lt;p&gt;Check it out at &lt;a href="https://tryonfy.com" rel="noopener noreferrer"&gt;tryonfy.com&lt;/a&gt; if you're curious.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;We're exploring video try-on, multi-item compositing, and API for e-commerce integrations.&lt;/p&gt;




&lt;p&gt;If you're working on similar computer vision problems, I'd love to exchange notes.&lt;/p&gt;

</description>
      <category>aiwebdev</category>
    </item>
  </channel>
</rss>
