trailbase
SHA-256An open-source, sub-millisecond Firebase alternative that combines REST & realtime APIs, multi-DB, WebAssembly runtime, auth, and admin UI into a single executable built on Rust, SQLite, and Wasmtime.
Smart Download
Download Download Version
v0.27.3 · 23.5 MB
A sub-millisecond, single-executable Firebase alternative with type-safe APIs, multi-DB, Wasm runtime, and built-in admin UI.
Core Features
- Single executable, easy to deploy and self-host
- Sub-millisecond latency, no dedicated cache needed
- Type-safe REST and realtime APIs
- Built-in WebAssembly runtime for custom server-side logic
- Multi-database support, geospatial queries
What It Can't Do
- •Alpha stage: may have instability or breaking changes. License is OSL-3.0 (read carefully; it is designed to be permissive for your app code). WebAssembly component support is still maturing.
Use Cases
- Quickly build a backend for mobile or web apps
- Self-hosted alternative to Firebase to avoid vendor lock-in
- Real-time applications (chat, collaboration) with low latency
- Lightweight backend for edge computing or constrained environments
Detailed Introduction
TrailBase is a single-executable backend that replaces Firebase with faster, self-hostable infrastructure. It provides type-safe REST and realtime APIs, supports multiple databases, runs WebAssembly for custom logic, includes geospatial data, SSR, authentication, and an admin UI. Built on Rust and SQLite, it achieves sub-millisecond latencies, eliminating the need for dedicated caches. Pre-built binaries are available for Linux, macOS, and Windows, and it can be deployed with Docker or a one-line install script. Client libraries exist for JavaScript/TypeScript, Dart/Flutter, Rust, C#/.NET, Swift, Kotlin, Go, and Python.
Troubleshooting & FAQ (1)
TroubleshootingWhy does the TrailBase dashboard delete my manually added redirect_uri_allowlist entries in config.textproto?
This is a known bug where the dashboard's generated proto code strips unknown configuration fields because it lacks a UI element for redirect_uri_allowlist. A fix is being prepared and will be included in the next release. As a temporary workaround, do not save auth settings via the dashboard if you rely on manual entries, or use a file watcher to reinject the lines after each change.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Download: from GitHub releases or run curl -sSL https://trailbase.io/install.sh | bash
Run: trail run (first start creates admin user and prints credentials)
Access admin UI: open http://localhost:4000/_/admin/ and log in
- Download: from GitHub releases or run curl -sSL https://trailbase.io/install.sh | bash
- Run: trail run (first start creates admin user and prints credentials)
- Access admin UI: open http://localhost:4000/_/admin/ and log in
SHA-256 checksum verified
Checksum extracted from GitHub official Release page
SHA256 Checksum
16fa50371f28d9a79acdd66d426478c1fd08d576041a5e871cca1e75987067a3This checksum is extracted from the GitHub Release page. Verify file integrity after download.
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Delete the executable and the traildepot folder. If using Docker, stop the container and remove the image.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Having issues? Check the FAQ below
1 FAQ
Similar Projects
pocketbase
PocketBase is an open source Go backend that includes embedded SQLite with realtime subscriptions, built-in file & user management, admin dashboard UI, and simple REST API. Can be used as standalone app or Go framework.
godot
Godot Engine is a free, open-source, cross-platform 2D and 3D game engine with a unified editor. Unlike Unity or Unreal, it's entirely MIT-licensed and community-driven, offering a lightweight yet powerful node-based workflow that runs on a single executable.
Hoppscotch
Open source API development ecosystem with a lightweight, fast, and feature-rich interface for testing HTTP, WebSocket, GraphQL, and more.