Replace / Supabase Cloud
Best free Supabase Cloud alternatives (open source, self-hosted) 2026
The best open-source alternative to Supabase Cloud is Go (or PocketBase) with htmx-ui/hello, self-hosted on Railway. Dave's signature stack: one Go binary, embedded PocketBase, templ + HTMX, Tailwind. This site is the dogfood.
Estimated save $2,400 a year.
How Supabase Cloud compares
| Supabase Cloud | Go + PocketBase + HTMX | |
|---|---|---|
| Pricing model | Hosted subscription | Open-source or fair-code license; you pay the host |
| Hosting | Vendor cloud | Self-hosted on Railway or any VPS |
| Rough monthly cost | Public list price not verified this run | Hosting only — no SaaS seat meter in this repo |
- Go
One static binary, no runtime to babysit
- PocketBase
Embedded realtime DB, auth, and admin
- htmx-ui/hello
HTMX starter patterns
- shadcn-htmx
shadcn-style components for HTMX + Tailwind v4
FAQ
- What is the best free open-source Supabase Cloud alternative?
- The best open-source alternative to Supabase Cloud is Go (or PocketBase) with htmx-ui/hello, self-hosted on Railway. Dave's signature stack: one Go binary, embedded PocketBase, templ + HTMX, Tailwind. This site is the dogfood.
- Is it free?
- The Go + PocketBase + HTMX licenses are open source or fair-code. You still pay hosting (Railway or any VPS) and any APIs the stack calls. There is no Supabase Cloud seat or task bill on this path.
- Can I migrate from Supabase Cloud?
- Yes. Start with the workflows or data you actually use, then cut over. The Go + PocketBase + HTMX stack page has the agent prompt and the cost table; most teams rebuild the slice that matters and leave old Supabase Cloud links until they expire.
- How do I deploy it?
- Open the Go + PocketBase + HTMX stack, copy the agent prompt, and deploy on Railway (one service, PORT, and a volume when the app needs disk). One-click template from github.com/9o4t/go-pocketbase-htmx (also templates/go-pocketbase-htmx in this repo). One Railway service, PORT injected, volume /data, healthz. Zero required env vars; optional PB_ADMIN_EMAIL/PASSWORD.
- What does this replace?
- Firebase / Supabase / Supabase Cloud + Vercel / Netlify. The published small-team estimate on this stack is $2,400 a year.
Related pages
Stack of the Week
Get one stack a week that replaces a SaaS bill.