Auth & permissions
Register, login, JWT bearer tokens, bcrypt passwords, password reset and email verification — plus per-collection record rules with @request.auth expressions.
Backers is a Back-end as a Service written in Rust: auth, a schema-less database, file storage, realtime streams, webhooks, cron jobs, encrypted secrets, pub/sub and an admin dashboard — all persisted to a single SQLite file. No Docker, no accounts, no cloud.
cargo install backersbackersServer running at http://localhost:8080curl -X POST localhost:8080/api/auth/register \ -d '{"email":"a@b.c", "password":"secret1"}'{"id":"82ff…", "email":"a@b.c"}curl localhost:8080/api/docsSwagger UI — every endpoint documentedModelled on PocketBase's "one file, one binary" philosophy and Supabase's feature breadth, shipped as a Cargo workspace you can audit crate by crate.
Register, login, JWT bearer tokens, bcrypt passwords, password reset and email verification — plus per-collection record rules with @request.auth expressions.
Schema-less collections stored as dynamic SQLite tables. CRUD with paging, search, filter expressions, sorting, relation expand and JSON-schema validation.
Public and private buckets, uploads, downloads, on-the-fly thumbnails and time-limited file tokens for protected files.
WebSocket hub plus Server-Sent Events streams for notifications, logs and pub/sub topics — subscribe from any browser or client.
HMAC-signed webhook delivery with logs, and scheduled HTTP jobs managed entirely through the API — no code required.
AES-256-GCM encrypted key/value store for credentials, plus a Redis-style cache — strings, lists, hashes, atomic INCR/APPEND, TTL — persisted to SQLite.
Runtime on/off switches with targeting rules — gate features per user, plan or context attribute, ship payloads and kill switches without a redeploy.
An HTMX admin UI embedded in the binary at / — manage collections, records, files, webhooks, secrets and cron jobs from the browser. No build step.
backers mcp serve exposes collections and records as Model Context Protocol tools — let an AI agent read and write your backend over stdio.
Swagger UI at /api/docs, a runtime-generated OpenAPI spec, JSON import/export snapshots and a backup endpoint.
One binary and one SQLite file like PocketBase; auth, storage, realtime, functions-adjacent jobs and an admin UI like Supabase — without Postgres, GoTrue or a fleet of services.
| Core & data | goPocketBase | rustBackers | tsSupabase |
|---|---|---|---|
| SQLite database | |||
| Schema-less collections | |||
| Typed collection schemas | |||
| Record CRUD & querying | |||
| Filter / sort / expand | |||
| Per-collection record rules | |||
| Batch requests | - | ||
| Import / export |
| Auth & users | goPocketBase | rustBackers | tsSupabase |
|---|---|---|---|
| Email + password auth | |||
| Email verification & password reset | |||
| OAuth2 social login | |||
| OTP / magic-code login | |||
| MFA (TOTP) | |||
| User impersonation | |||
| Anonymous sign-in | |||
| SSO / SAML |
| Files & storage | goPocketBase | rustBackers | tsSupabase |
|---|---|---|---|
| File buckets | |||
| Public file URLs | |||
| Protected files & tokens | |||
| Tokens honor record rules | |||
| Image thumbnails | |||
| S3-compatible storage | |||
| Local disk storage | |||
| CDN-backed delivery |
| Realtime | goPocketBase | rustBackers | tsSupabase |
|---|---|---|---|
| Record change events | |||
| oldRecord on update/delete | |||
| Per-subscription filters | |||
| Presence | |||
| SSE streaming | |||
| Pub/sub channels | |||
| WebSocket transport | |||
| Wildcard subscriptions |
| Extensibility & ops | goPocketBase | rustBackers | tsSupabase |
|---|---|---|---|
| Outbound webhooks | |||
| Server-side record hooks | |||
| JS / edge-function runtime | |||
| Cron jobs | |||
| Secrets vault | |||
| Admin dashboard | |||
| OpenAPI + API docs | |||
| MCP server |
Comparing deployment model, auth, storage, realtime and ops surface — not raw throughput. Backers aims for PocketBase's simplicity with more of Supabase's feature set.
Prebuilt binaries on the releases page, or build from source with Cargo.
git clone https://github.com/hieudoanm/backerscd backerscargo build --release -p backers./target/release/backersLocal: http://localhost:8080Network: http://192.168.x.x:8080curl -X POST localhost:8080/api/auth/register \ -H 'Content-Type: application/json' \ -d '{"email":"admin@example.com","password":"secret123"}'TOKEN=$(curl -s -X POST localhost:8080/api/auth/login \ -d '{…}' | jq -r .token)curl -X POST localhost:8080/api/collections \ -H "Authorization: Bearer $TOKEN" \ -d '{"name":"posts","schema":{"title":"string"}}'{"name":"posts", …}Dashboard at / · API docs at /api/docs · Full docs at /docs · MCP server: backers mcp serve. Data in ~/.backers/ — set BACKERS_DATA, PORT and JWT_SECRET to configure.