<?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>DEV Community: fhyoni</title>
    <description>The latest articles on DEV Community by fhyoni (@fhyoni).</description>
    <link>https://dev.to/fhyoni</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4264327%2Fabe401bf-bc06-409c-a977-bd0f498422d2.png</url>
      <title>DEV Community: fhyoni</title>
      <link>https://dev.to/fhyoni</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fhyoni"/>
    <language>en</language>
    <item>
      <title>How I Built a 16,000-Page Browser Game Portal &amp; AI Tools Directory on Cloudflare</title>
      <dc:creator>fhyoni</dc:creator>
      <pubDate>Wed, 25 Nov 2026 09:17:58 +0000</pubDate>
      <link>https://dev.to/fhyoni/how-i-built-a-16000-page-browser-game-portal-ai-tools-directory-on-cloudflare-517i</link>
      <guid>https://dev.to/fhyoni/how-i-built-a-16000-page-browser-game-portal-ai-tools-directory-on-cloudflare-517i</guid>
      <description>&lt;p&gt;Over the past few months, I built and deployed two very different content-heavy web projects on the exact same stack—&lt;strong&gt;Astro + Cloudflare (Pages, Workers, D1, and R2)&lt;/strong&gt;—with the goal of keeping infrastructure dead simple, fast globally, and cheap to maintain.&lt;/p&gt;

&lt;p&gt;Here is a quick breakdown of what worked well, what broke along the way, and the architecture behind both sites.&lt;/p&gt;




&lt;h2&gt;
  
  
  Project 1: DashJoy Studio — A 16,000+ Page Browser Game Portal
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://dashjoystudio.com" rel="noopener noreferrer"&gt;DashJoy Studio&lt;/a&gt;&lt;/strong&gt; is a lightweight browser game portal built for instant play on desktop, Chromebook, and mobile without downloads or forced sign-ups.&lt;/p&gt;

&lt;h3&gt;
  
  
  The stack &amp;amp; key lessons
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Static generation + R2 for 69,000+ WebP thumbnails&lt;/strong&gt;&lt;br&gt;
Bundling tens of thousands of cover images directly inside the build output quickly hits deployment file limits. Moving all resized WebP covers and thumbnails (&lt;code&gt;512px&lt;/code&gt;, &lt;code&gt;192px&lt;/code&gt;, &lt;code&gt;160px&lt;/code&gt;, &lt;code&gt;96px&lt;/code&gt;) to &lt;strong&gt;Cloudflare R2&lt;/strong&gt; behind a custom image domain kept the Astro Pages deployment lean while delivering instant edge-cached images.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Migrating votes, reports, and player comments to Workers + D1&lt;/strong&gt;&lt;br&gt;
Originally, broken-game reporting and voting ran in a small Docker container backed by SQLite on a VPS. Moving that entire API to &lt;strong&gt;Cloudflare Workers + D1&lt;/strong&gt; eliminated server maintenance, dropped cold-start latency globally, and made it easy to add a lightweight &lt;strong&gt;Player Comments&lt;/strong&gt; system with rate limiting, spam-link filtering, and a built-in moderation dashboard.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dedicated "Ad-Free Originals" via Workers Static Assets&lt;/strong&gt;&lt;br&gt;
One common frustration on casual game portals is waiting through third-party pre-roll ads. To fix that, I created a separate static Workers project hosting ad-free HTML5 classics—like 2048, Tower Building, OutRun JS Racer, Classic Block Tetris, and Chess vs AI—adapted for dark backgrounds and consistent aspect ratios. You can try them directly in the &lt;strong&gt;&lt;a href="https://dashjoystudio.com/originals/" rel="noopener noreferrer"&gt;Ad-Free Originals section&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Project 2: Dorameow — A Bilingual AI &amp;amp; Developer Tools Directory
&lt;/h2&gt;

&lt;p&gt;Alongside the gaming portal, I also built &lt;strong&gt;&lt;a href="https://www.hajimiblog.com" rel="noopener noreferrer"&gt;Dorameow&lt;/a&gt;&lt;/strong&gt;, a clean English/Chinese directory for curated AI products, open-source developer tools, and concise daily AI news digests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Astro works so well for directories
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero client-side JavaScript by default&lt;/strong&gt;: Category grids, tool comparison pages, and daily news posts render as pure HTML/CSS and load almost instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simple bilingual routing&lt;/strong&gt;: Keeping English and Chinese routes in a single Astro project makes it easy to publish daily updates without maintaining two separate codebases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No bloat&lt;/strong&gt;: Minimal scripts, fast search/filtering, and clear categories so developers can actually find a useful tool in 10 seconds instead of scrolling through sponsored banners.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Takeaways for Indie Builders
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Split heavy media from your app deploy early&lt;/strong&gt; (Cloudflare R2 saves a ton of pain once you pass a few thousand assets).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare D1 is more than enough for small community features&lt;/strong&gt; like voting, reporting, comments, and leaderboards—no need to babysit a VPS database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep self-hosted sub-apps in separate deployments&lt;/strong&gt; so updating one interactive feature never forces a full rebuild of a 16,000-page static site.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're building with Astro or Cloudflare Workers—or just want to test a quick ad-free game break—feel free to check out &lt;strong&gt;&lt;a href="https://dashjoystudio.com" rel="noopener noreferrer"&gt;DashJoy Studio&lt;/a&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;a href="https://www.hajimiblog.com" rel="noopener noreferrer"&gt;Dorameow&lt;/a&gt;&lt;/strong&gt;. Always happy to hear feedback!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>cloudflare</category>
      <category>astro</category>
      <category>indiedev</category>
    </item>
  </channel>
</rss>
