[{"data":1,"prerenderedAt":386},["ShallowReactive",2],{"\u002Fblog\u002Fcloudflare-broke-stack\u002F:en":3,"\u002Fblog\u002Fcloudflare-broke-stack\u002F-surround:en":283,"blog-all-posts:en":284},{"id":4,"title":5,"author":6,"body":10,"date":265,"description":266,"extension":267,"image":268,"locale":269,"meta":270,"minRead":271,"navigation":272,"original":273,"path":274,"pinned":273,"seo":275,"source":276,"sourceUrl":23,"stem":277,"tags":278,"updated":268,"__hash__":282},"blog\u002Fblog\u002Fcloudflare-broke-stack.en.md","2026 indie dev best practices: the Cloudflare \"broke-ass all-in-one\" stack",{"name":7,"avatar":8},"Chen Dahuang",{"src":9,"alt":7},"\u002Favatar.jpg",{"type":11,"value":12,"toc":251},"minimark",[13,28,36,41,158,162,167,170,174,177,181,184,206,210,213,217,237,241,244],[14,15,16],"blockquote",{},[17,18,19,20,27],"p",{},"Pinned post. Originally published on ",[21,22,26],"a",{"href":23,"rel":24},"https:\u002F\u002Fx.com\u002Frealchendahuang\u002Fstatus\u002F2066586160902881542",[25],"nofollow","X"," — 40k+ views.",[17,29,30,31,35],{},"2026 indie development best practices: ",[32,33,34],"strong",{},"the Cloudflare broke-ass all-in-one stack",".",[37,38,40],"h2",{"id":39},"the-stack-at-a-glance","The stack at a glance",[42,43,44,60],"table",{},[45,46,47],"thead",{},[48,49,50,54,57],"tr",{},[51,52,53],"th",{},"Layer",[51,55,56],{},"Choice",[51,58,59],{},"Cost",[61,62,63,75,86,97,107,118,128,138,148],"tbody",{},[48,64,65,69,72],{},[66,67,68],"td",{},"Writing code",[66,70,71],{},"Codex",[66,73,74],{},"Subscription",[48,76,77,80,83],{},[66,78,79],{},"Version control",[66,81,82],{},"GitHub",[66,84,85],{},"Free",[48,87,88,91,94],{},[66,89,90],{},"Payments",[66,92,93],{},"Stripe",[66,95,96],{},"Per-transaction fee",[48,98,99,102,105],{},[66,100,101],{},"Frontend",[66,103,104],{},"TanStack Start",[66,106,85],{},[48,108,109,112,115],{},[66,110,111],{},"Backend",[66,113,114],{},"Hono + Cloudflare Workers",[66,116,117],{},"Free quota",[48,119,120,123,126],{},[66,121,122],{},"Deployment",[66,124,125],{},"Cloudflare Pages",[66,127,85],{},[48,129,130,133,136],{},[66,131,132],{},"Database",[66,134,135],{},"Cloudflare D1",[66,137,117],{},[48,139,140,143,146],{},[66,141,142],{},"File storage",[66,144,145],{},"Cloudflare R2",[66,147,117],{},[48,149,150,153,156],{},[66,151,152],{},"Cache \u002F config",[66,154,155],{},"Cloudflare KV",[66,157,117],{},[37,159,161],{"id":160},"why-this-combination","Why this combination",[163,164,166],"h3",{"id":165},"codex-write-code-handle-full-stack-development","Codex: write code, handle full-stack development",[17,168,169],{},"AI coding is already the default productivity tool for indie developers. Codex's Agent mode compresses the pipeline from \"requirement → code → test → deploy\" down to almost nothing — one person doing the work of a whole team.",[163,171,173],{"id":172},"tanstack-start-frontend-hono-backend","TanStack Start frontend + Hono backend",[17,175,176],{},"TanStack Start is a full-stack React framework that fits the Workers ecosystem well. For the backend, Hono — a small framework built for Workers, with comfortable routing, middleware, and type hints. Small footprint, fast startup.",[163,178,180],{"id":179},"d1-database-r2-storage-kv-cache","D1 database + R2 storage + KV cache",[17,182,183],{},"This trio is the core of Cloudflare's free quota:",[185,186,187,194,200],"ul",{},[188,189,190,193],"li",{},[32,191,192],{},"D1",": a SQLite-compatible relational database. The free quota is more than enough for personal projects.",[188,195,196,199],{},[32,197,198],{},"R2",": S3-compatible object storage. 10 GB free storage, zero egress fees — this alone blows AWS out of the water.",[188,201,202,205],{},[32,203,204],{},"KV",": globally distributed key-value storage, great for config, cache, and sessions.",[163,207,209],{"id":208},"pages-deployment-all-free-infrastructure","Pages deployment + all-free infrastructure",[17,211,212],{},"Pages connects directly to your GitHub repo — push to deploy, with CDN and HTTPS included. Domain, DNS, CDN — all one-stop on Cloudflare. The free quota carries an entire product line.",[37,214,216],{"id":215},"the-broke-ass-strategy-in-essence","The broke-ass strategy, in essence",[185,218,219,225,231],{},[188,220,221,224],{},[32,222,223],{},"Milk the free quota to the max",": DNS, CDN, Pages, Workers, KV, D1, R2, Tunnel, AI Gateway — sign up for everything free.",[188,226,227,230],{},[32,228,229],{},"Don't pay when you can freeload",": subscription money goes only where it counts (Codex); everything else runs on free infrastructure.",[188,232,233,236],{},[32,234,235],{},"One platform for everything",": no jumping between clouds, minimal operational overhead.",[37,238,240],{"id":239},"who-its-for","Who it's for",[17,242,243],{},"Indie developers on a tight budget who want to validate a product fast; AI-coding enthusiasts who don't want to spend effort on infrastructure; and every project that wants to \"ship first, figure it out later.\"",[17,245,246,247,35],{},"Cloudflare is the cyber-bodhisattva of indie developers. Without spending a cent, you can get a product fully running. Details: ",[21,248,250],{"href":249},"\u002Fblog\u002Ffree-cloudflare","How to squeeze Cloudflare dry as a free user",{"title":252,"searchDepth":253,"depth":253,"links":254},"",2,[255,256,263,264],{"id":39,"depth":253,"text":40},{"id":160,"depth":253,"text":161,"children":257},[258,260,261,262],{"id":165,"depth":259,"text":166},3,{"id":172,"depth":259,"text":173},{"id":179,"depth":259,"text":180},{"id":208,"depth":259,"text":209},{"id":215,"depth":253,"text":216},{"id":239,"depth":253,"text":240},"2026-06-15","The zero-cost tech stack for indie developers: Codex for writing code, GitHub for version control, Stripe for payments, TanStack Start for frontend, Hono + Workers for backend, D1 for database, R2 for storage, KV for caching — all running on Cloudflare.","md",null,"en",{},6,true,false,"\u002Fblog\u002Fcloudflare-broke-stack",{"title":5,"description":266},"x","blog\u002Fcloudflare-broke-stack.en",[279,280,281],"Cloudflare","Indie development","Tech stack","BUnicGx55v73_3m9PVej1JphP32kn7JwU1DTR3ra7QI",[268,268],[285,293,295,304,311,317,324,332,340,346,353,362,369,377],{"path":286,"title":287,"description":288,"date":289,"minRead":271,"tags":290},"\u002Fblog\u002Fagent-harness-selection","After tinkering with Pi Agent, OMP, Codex, and ZCode, why I finally chose OpenCode + OpenChamber","A retrospective on choosing an Agent Harness: three criteria — GUI experience, vendor lock-in, and freedom for secondary development — ruled out Pi Agent, OMP, Codex, and ZCode, and finally settled on the OpenCode core + OpenChamber interface.","2026-08-06",[291,292],"AI Agent","Tool selection",{"path":274,"title":5,"description":266,"date":265,"minRead":271,"tags":294},[279,280,281],{"path":296,"title":297,"description":298,"date":299,"minRead":271,"tags":300},"\u002Fblog\u002Fdeepseek-api-web-search","DeepSeek's API has built-in web search — freeload the official search via the Responses API","DeepSeek built web search straight into the API: call deepseek-v4-flash through the Responses interface and declare the web_search tool. No third-party search engine integration, no search API key required.","2026-08-05",[301,302,303],"DeepSeek","API","AI tools",{"path":305,"title":306,"description":307,"date":299,"minRead":308,"tags":309},"\u002Fblog\u002Fdeepseek-v4-flash-review","DeepSeek V4 Flash stable release, hands-on: cheap, fast, 1M context, built-in search","A few days deep-diving the stable DeepSeek V4 Flash release: aggressively cheap, lightning fast, 1M context, official built-in web search, fully open source. The one weakness is multimodality — but you can patch it by combining other models.",7,[301,310,303],"Model review",{"path":249,"title":312,"description":313,"date":265,"minRead":314,"tags":315},"How free users can squeeze Cloudflare dry — how far does the free tier actually get you?","Cloudflare's free tier can carry an entire personal internet infrastructure: DNS, CDN, Pages, Workers, KV, D1, R2, email, Tunnel, AI Gateway and more.",8,[279,316,122],"Free tier",{"path":318,"title":319,"description":320,"date":321,"minRead":314,"tags":322},"\u002Fblog\u002Fmodel-harness-decoupling","The First-Party Harness Isn't Always the Best Answer: In the Open-Model Era, Pick Your Model and Harness Separately","Using Claude? Go Claude Code. In the open-model era that instinct deserves an upgrade. The first-party advantage is real, but training a good model and building a good harness are two different kinds of engineering — here's why models and harnesses are now separable choices, plus a positioning map of five harnesses.","2026-09-09",[291,323,292],"Harness",{"path":325,"title":326,"description":327,"date":321,"minRead":314,"tags":328},"\u002Fblog\u002Fopencode-productive-stack","Stable, Fast, Productive, Cheap: My AI Coding Stack, Documented","OpenCode + OpenChamber + two DeepSeek V4 Flash subscriptions: 15 projects running code simultaneously and the quota barely moved. The full configuration laid out — context pruning, layered memory, desktop automation, and the \"stick with the original pairing\" lesson.",[329,330,331],"OpenCode","AI Coding","Configuration",{"path":333,"title":334,"description":335,"date":336,"minRead":337,"tags":338},"\u002Fblog\u002Fproduct-faxin-principle","The founding-intention principle: why indie developers must learn to let go","Why do you set out? Who do you set out for? Which problem are you actually trying to solve? A product's sharpness comes from what you dare to cut.","2026-06-20",10,[339,280],"Product thinking",{"path":341,"title":342,"description":343,"date":336,"minRead":314,"tags":344},"\u002Fblog\u002Fproduct-pain-vs-itch","Don't get carried away when users say \"that's awesome\": pain points vs. itch points","Verbal approval is worth nothing. There's only one hard standard for judging demand: what the user is willing to pay.",[339,345],"Demand judgment",{"path":347,"title":348,"description":349,"date":289,"minRead":350,"tags":351},"\u002Fblog\u002Fqwen-vision-for-deepseek","Giving DeepSeek multimodality: the Qwen-3.7-Flash vision approach","DeepSeek V4 Flash has no multimodality — what do you do for image understanding? After surveying the market, the most cost-effective option right now is Qwen-3.7-Flash: recognizing an image costs almost nothing, and pairing it with V4 Flash patches the gap.",5,[301,352,310],"Multimodality",{"path":354,"title":355,"description":356,"date":357,"minRead":358,"tags":359},"\u002Fblog\u002Fsub-store-cloudflare","I moved my proxy subscription aggregation to Cloudflare","Merge multiple proxy services plus your own nodes into one single subscription, with routing rules configured server-side — clients just subscribe.","2026-06-28",4,[279,360,361],"Circumvention","Open-source project",{"path":363,"title":364,"description":365,"date":321,"minRead":308,"tags":366},"\u002Fblog\u002Ftui-cognitive-bandwidth","TUI Is Killing Your Cognitive Bandwidth: Time to Shatter the \"Geek Filter\" in AI Coding","A pile of AI coding agents are rushing to ship TUIs, stuffing interaction back into the 1980s terminal paradigm and calling it \"immersive\" and \"respectful of programmers.\" This piece breaks down the three mechanisms by which TUI systematically lowers your cognitive bandwidth — and why Web UI is the right answer.",[330,367,368],"Interaction design","Essay",{"path":370,"title":371,"description":372,"date":373,"minRead":271,"tags":374},"\u002Fblog\u002Fvalue-not-external","Debating whether something has value is itself worthless","Our value is not defined by anyone. In the age of AI, how should we understand ourselves?","2026-06-18",[375,376],"AI thinking","Humanistic essay",{"path":378,"title":379,"description":380,"date":381,"minRead":382,"tags":383},"\u002Fblog\u002Fx-growth-1000-followers","Gained 1000+ followers in a little over a day — here's what I did","In June I ran my X account seriously and gained 1000+ followers in a little over a day. This post records what I did and the feedback I got.","2026-06-16",12,[384,385],"X operations","Content growth",1789752312882]