Your backend, in a single binary
A Firebase alternative powered by TrailBase, installed and maintained by DINAO. Type-safe REST APIs, real-time, authentication, and admin interface in a single ultra-fast executable — all hosted in France.
What is TrailBase?
TrailBase is an open source alternative to Firebase, packaged as a single executable. Built on Rust, Axum, and SQLite (with a WebAssembly runtime via Wasmtime), it achieves sub-millisecond read latencies under full load, eliminating the need for an external cache like Redis and the associated consistency issues.
It provides everything expected from a modern backend : type-safe REST and real-time APIs generated from your tables, a SQLite database with full-text search (FTS5), JSON, and geospatial extensions, stateless authentication via JWT RS256, OAuth/OIDC support (Google, GitHub, GitLab, Microsoft, Apple…), file storage, and an integrated admin interface.
For business logic, TrailBase embeds a WebAssembly runtime (Component Model) that allows you to write custom functions in JS/TS or Rust, with type-safe validation via JSON Schema. Lightweight to deploy in Docker and remarkably performant, it is the ideal foundation for building sovereign applications without assembling a myriad of cloud services.
Host TrailBase at DINAO
Resource tiers compatible with TrailBase prerequisites (minimum 1 vCPU / 256 Mo / 2 Go). Hosted in France, fully managed.
- 1 dedicated vCPU
- 2 Go RAM
- 20 GB NVMe
- Daily backups
- Managed & monitored by DINAO
- 2 dedicated vCPU
- 4 Go RAM
- 40 GB NVMe
- Daily backups
- Managed & monitored by DINAO
- 4 dedicated vCPU
- 8 Go RAM
- 80 GB NVMe
- Daily backups
- Managed & monitored by DINAO
- 8 dedicated vCPU
- 16 Go RAM
- 160 GB NVMe
- Daily backups
- Managed & monitored by DINAO
Managed TrailBase hosting in France
Self-hosting TrailBase means a server to maintain, security updates, backups and monitoring. With our managed TrailBase hosting, you use the application: we run the infrastructure.
- Deployed in minutes, always kept up to date
- Daily backups included
- Continuous monitoring, data hosted in France (GDPR)
- Prefer self-hosted with root access? TrailBase also runs on our Docker VPS.
Technical details
You might be wondering…
Is TrailBase an alternative to Firebase?
Yes. It provides the essential building blocks of a backend-as-a-service — database, REST and real-time APIs, authentication, file storage, and admin UI — but self-hosted in France, with no dependency on Google.
Why is it so fast?
TrailBase is written in Rust and relies on local SQLite, achieving sub-millisecond read latencies. This avoids adding an external cache like Redis and its consistency issues.
Can I write my own business logic?
Yes. An embedded WebAssembly runtime allows you to write custom functions in JS/TS or Rust, with type-safe validation via JSON Schema.
Which authentication methods are supported?
Stateless JWT authentication (RS256) and OAuth/OIDC with many providers: Google, GitHub, GitLab, Microsoft, Apple, and generic OIDC.
Can I change my plan or export my data?
Yes. You can upgrade or downgrade at any time, and since everything is based on SQLite, your data remains exportable — no vendor lock-in.