CocoBase is an open-source Backend as a Service built with Go. One binary. Auth, database, file storage, and a dashboard — all self-hosted.
CocoBase ships all the backend primitives so you can focus on your product, not infrastructure.
Email/password, JWT tokens, OAuth (Google, GitHub, Apple), email verification, two-factor auth, and password reset — all built in.
self-hosted + cloudStore anything. Create, read, update, and delete documents without defining schemas upfront. Works with PostgreSQL or SQLite.
self-hosted + cloudSecure file uploads via Backblaze B2. The cloud version adds CDN delivery with 145 GB+ per project and global edge caching.
self-hosted + cloudFull RESTful endpoints generated for every collection. No setup. Your SDKs talk to these right out of the box with zero config.
self-hosted + cloudA built-in web dashboard to manage users, browse collections, upload files, and inspect your instance — no external tooling needed.
self-hosted + cloudWebSocket subscriptions and serverless cloud functions with email and queue support — available on the managed cloud edition.
self-hosted + cloudRun it yourself or let us manage it. Both share the same core — your choice depends on your needs.
| Capability | Self-hosted (this repo) | Cloud — cocobase.buzz |
|---|---|---|
| Hosting | Your server | Managed, 200+ edge nodes |
| Database | PostgreSQL or SQLite | Managed, auto-scaling |
| Authentication | ✓ Email, OAuth, 2FA | ✓ Same + more providers |
| File Storage | Backblaze B2 | Built-in CDN, 145 GB+ |
| Admin Dashboard | ✓ Built-in | ✓ Built-in |
| Real-time sync | — | ✓ WebSocket subscriptions |
| Cloud Functions | JavaScript (express syntax) | ✓ Serverless + email queue |
| Price | Free (host it yourself) | Free tier + paid plans |
Official client libraries so your app can talk to CocoBase in the language you already use.
npm install cocobase
coco_base_flutter
pip install cocobase
cocobase-go
Download CocoBase and have a full backend running in minutes. Or jump straight to the cloud — no card required.