#6464th of 102 in Backends, databases and hosting

trailbase

Single-executable Firebase alternative on Rust and SQLite with REST and realtime APIs

Stars
5.8k
License
OSL-3.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Rust
Stars, last 29 weeks+1,010
20 Apr 2026: 4,745 stars27 Apr 2026: 4,794 stars4 May 2026: 4,814 stars11 May 2026: 5,038 stars18 May 2026: 5,105 stars25 May 2026: 5,129 stars1 Jun 2026: 5,196 stars8 Jun 2026: 5,230 stars15 Jun 2026: 5,264 stars22 Jun 2026: 5,291 stars29 Jun 2026: 5,307 stars6 Jul 2026: 5,325 stars13 Jul 2026: 5,338 stars20 Jul 2026: 5,365 stars27 Jul 2026: 5,383 stars3 Aug 2026: 5,433 stars10 Aug 2026: 5,502 stars17 Aug 2026: 5,522 stars24 Aug 2026: 5,538 stars31 Aug 2026: 5,553 stars7 Sept 2026: 5,568 stars14 Sept 2026: 5,584 stars21 Sept 2026: 5,593 stars28 Sept 2026: 5,608 stars5 Oct 2026: 5,625 stars12 Oct 2026: 5,637 stars19 Oct 2026: 5,704 stars26 Oct 2026: 5,726 stars2 Nov 2026: 5,738 stars9 Nov 2026: 5,755 stars

4,745 on 20 Apr 20265,755 on 9 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TrailBase is a backend server written in Rust that bundles type-safe REST and realtime APIs, auth, an admin UI, a WebAssembly runtime and geospatial support on SQLite. Postgres is available experimentally from v0.28. It ships as one executable for Linux, macOS and Windows, with client libraries for eight languages. The project is marked alpha.

Who it is for: Developers wanting a self-hosted Firebase-style backend for apps

Its own README calls it an alternative to Firebase.

Ranked among open-source alternatives to Firebase (#10 of 10).

Strengths

  • Single executable with no runtime dependencies; also published as a Docker image
  • Client libraries for JS/TS, Dart, Rust, C#, Swift, Kotlin, Go and Python
  • Extensible with WASM components, e.g. an optional auth UI added via one command
  • Client libraries are Apache-2.0, and the README says app code is not covered by OSL copyleft

Weaknesses

  • Marked alpha status in the README
  • Postgres support is experimental; SQLite is the primary database
  • OSL-3.0 server license is less common, and the README admits compatibility is unclear
  • Contributions beyond bug fixes require signing a CLA

What it needs

  • no GPU
  • Docker + Compose
  • Needs SQLite (bundled), Postgres (optional, experimental)
  • port 4000
  • README: alternative to Firebase

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Quick answers

Is trailbase open source?

Yes. Its code is on GitHub under the OSL-3.0 license.

Can you run trailbase with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100