AutoKaam Playbook
PocketBase, the Empire Backend I Run Across Every Project
SQLite plus auth plus realtime plus admin UI in one binary; I have not regretted picking it once.
Last reviewed:
The operator take
PocketBase is the empire's chosen backend, and I run it across taxwallaai, papersadda, autokaam, kaam-tracker, and PramaanAI. Five live deployments. Zero regrets.
The reason is structural. PocketBase is one Go binary that bundles SQLite, auth, file storage, realtime subscriptions, an admin UI, and a JS-extensible API into a single artifact. It runs on a Rs 1,200 a month Oracle ARM box without breaking a sweat. Backups are a single SQLite file. Migrations are JSON-driven through the admin UI or programmatic. The whole stack is one process.
What I deliberately do not run: Supabase, Firebase, Vercel KV, Railway databases, or any other vendor-managed BaaS. Empire ops bans them, and that ban is a deliberate operating choice, not a budget call. Vendor BaaS pricing scales sharply past hobby usage, the data is in someone else's hands, and the migration path off is brutal. PocketBase keeps the data, the schema, and the runtime under my control.
The trade-off is real. PocketBase does not give me horizontal scaling. SQLite-on-one-box has a real upper limit; for the empire's scale (under 100 concurrent users on the largest deployment) it is many multiples below the ceiling, but a SaaS that hits 10K concurrent users will outgrow it. My answer when that day comes: shard by tenant onto separate PocketBase instances. The tools to do this gracefully exist; I have not had to.
The sharpest gotcha I hit was the realtime subscription performance under concurrent admin writes. Early kaam-tracker had three admin users writing the same collection at once and the realtime fan-out lagged. The fix was to disable realtime on that collection for admin users (they got websocket-pinged manually) and keep realtime on for read-only client views. Fine.
The Indian-operator angle is the per-month cost. Supabase Pro is roughly 2,000 rupees a month for the entry tier, plus database egress, plus storage. PocketBase on Coolify on Oracle ARM is my hosting cost (1,200 a month) and supports five empire apps simultaneously. The math is not subtle.
For 2026, the alternative I am watching is Convex, which has a cleaner reactive model but is fully cloud-managed. I will not switch unless the empire develops a workload that needs server-side TypeScript reactivity, and so far it has not.
Pick PocketBase, run it on Coolify, sleep well. This is the empire pattern.
Why it matters in 2026
Vendor BaaS pricing has grown sharper through 2025-26 (Supabase added per-MAU pricing, Firebase priced more aggressively). The self-host option used to require a stack of services; PocketBase reduces it to one binary. For solo and small-team builders running up to a few thousand concurrent users, this is the path with the cleanest cost-to-control ratio.
Cost in INR
Free open source; running cost depends on host (Rs 1,200/mo Oracle ARM via Coolify supports 5+ empire apps)
Use when
- +Solo or small-team SaaS up to 5K concurrent users
- +When you want auth + storage + realtime in one binary
- +Empire-style multi-app deployments (one binary per app)
- +Internal tools and admin dashboards
Skip when
- xApps that need horizontal scaling past one box
- xWorkloads heavy on full-text search or analytics (Postgres + extensions wins)
- xMulti-region active-active deployments
- xTeams with no Go, JS, or shell familiarity
Alternatives I would consider
Read next
Adjacent in the playbook
Free open source; running cost depends on host (Rs 1,200/mo Oracle ARM via Coolify is empire baseline)
FastAPI, the Empire's Default Python Serving Layer
Free open source; Oracle ARM free tier covers 4-core 24GB; Rs 1,200/mo for paid scale-out instances
Coolify on Oracle ARM, the Empire Hosting Stack
Free at entry; Pro from Rs 2,000/mo (only needed for advanced WAF / analytics)
Cloudflare Pages, the Empire Static Hosting I Have Never Regretted
Free at 100K daily requests; Paid from Rs 500/mo for higher volume + larger CPU budgets