Skip to main content
Kiran Brahma
All writing

O9X Build Log 10: The Compatibility Filter

Published Part 10 of O9X Build Logs Personal Essays

Reddit threads on tech stacks focus on edge caching and bundle sizes. Posts on X push whatever framework launched last Tuesday because it runs 4% faster. That advice fails when a solo operator builds with language models like Claude, ChatGPT, and Gemini.

Before opening VS Code, I froze the tech stack for O9X. I picked tools my AI assistants could write accurately, prioritising model fluency over raw performance.

My first decision was choosing between Python and TypeScript. I chose TypeScript so I could maintain oversight as a code reviewer. Language models write most of the syntax, yet they often import imaginary libraries or write logic that fails silently.

I lack the Python expertise to spot subtle errors in that language. With TypeScript, I can read the output and catch a wrong type definition immediately. Supervising an AI requires being able to evaluate its work.

Next, I evaluated four frontend frameworks. Astro excels at static sites, whereas O9X is a dynamic operational dashboard. I lacked the Nuxt familiarity needed to debug AI mistakes, and my tests showed models still made syntax errors in Svelte.

React JS is the industry standard, but it demanded two days of boilerplate setup before building a single button. I chose Next.js because my company website already runs on it, so I can spot a bad hook. Language models also know Next.js best because they have ingested vast amounts of its documentation and GitHub code.

In an AI build, popularity directly improves output quality. When I ask for a complex server action in Next.js, the models execute accurately instead of guessing.

For the backend, PocketBase needed a home off localhost. I ruled out AWS immediately because I am not a DevOps engineer and refused to spend 20 hours configuring a VPC.

I tested three hosting options. Pockethost.io offered one-click setup, but its queries ran slowly, and my staff would treat slow software as broken. DigitalOcean Droplets required managing Linux updates, firewalls, and backups, which added overhead and cost for a prototype.

I chose PikaPods, which runs open-source apps and charges only for CPU and RAM. Their servers sit in the EU while my users are in India, creating noticeable latency. I accepted that lag to buy development speed, cap my spend, and adjust RAM with a slider.

Vercel is the default host for Next.js, yet its usage-based pricing creates a financial risk for a bootstrapped business. I needed a strict cost ceiling as O9X usage grows. Packing the frontend and PocketBase into a single Docker image on DigitalOcean meant spending days managing containers.

I moved to Cloudflare Workers and Pages for its generous free tier and predictable $5 monthly Pro plan. Because Cloudflare uses an Edge runtime rather than Node.js, I have to remind the AI of this constraint explicitly. Otherwise, it writes Node-only code that crashes on deployment.

I accepted those stricter runtime limits to avoid surprise invoices. With that, I locked the prototype stack: TypeScript for oversight, Next.js for AI fluency, PocketBase for simplicity, PikaPods for managed hosting, and Cloudflare for cost control.

This stack may not win benchmarks, but it lets me ship. Once I froze these choices, I started building.