Loading page
Loading page
Developer tools · Firebase alternative
A single-executable backend with type-safe REST and realtime APIs, auth, a WebAssembly runtime and an admin UI, built on SQLite.
TrailBase is an open-source application server shipped as a single executable. It gives you type-safe REST and realtime APIs, auth and an admin UI. It is built on Rust, SQLite and Wasmtime, so you can run custom logic as WebAssembly.
The project calls itself a Firebase alternative. It aims for fewer moving parts and very low latency. Client libraries exist for many languages, including JavaScript, Dart, Swift, Kotlin and Python.
TrailBase suits developers building mobile, web or desktop apps who need a backend fast. It fits small teams that want auth and data APIs without running a large stack.
Hosted backend services often charge by reads, writes or active users. A self-hosted TrailBase has no usage meter. Your data sits in a SQLite database on your own volume.
The trade-off is that you own the operations. Back up the traildepot folder, because it holds everything. SQLite runs on one machine, so plan for that if your app grows. The template uses the latest image, so check the release notes before you redeploy.
Containers: trailbase/trailbase:latest
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose TrailBase, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the TrailBase setup screen.