# trailbaseio/trailbase

An open, sub-millisecond, single-executable Firebase alternative with type-safe APIs, built-in WebAssembly runtime, realtime subscriptions, auth, MCP and admin UI built on Rust, SQLite (PG) & Wasmtime.

Repository: https://github.com/trailbaseio/trailbase
Canonical: https://ross.abutalabs.com/products/trailbase
Homepage: https://trailbase.io
Language: Rust
License: OSL-3.0
License Family: other
Topics: authentication, database, rest-api, rust
Last push: 2026-08-26T20:56:53+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 48
- inputs: {"age_days": 673, "days_push": 7, "days_rel": 7, "gap_med": 2.0, "n_releases_24m": 215}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5571, forks 190 (observed 2026-08-28T04:09:22.501612+00:00)

## What it is
TrailBase is an open-source, single-executable Firebase alternative built on Rust, SQLite (with experimental Postgres support), and Wasmtime. It provides type-safe REST and realtime APIs, built-in authentication, an admin UI, a WebAssembly runtime for custom endpoints, geospatial support, and MCP integration with sub-millisecond latencies.

## Use cases
- self-host a Firebase or Supabase alternative backend
- add auth and REST APIs to a mobile or web app without building a backend
- run a fast SQLite-backed backend as a single executable
- get realtime data subscriptions for a client-side app
- extend a backend with custom endpoints via WebAssembly
- replace a multi-service stack with one small deployable binary
- manage app data through an admin dashboard UI

## When to choose
- you want a lightweight, self-hosted BaaS with relational SQL access
- you need sub-millisecond API latency without a separate cache layer
- you prefer a single binary that is easy to deploy and test
- you want built-in auth, file uploads, realtime, and admin UI out of the box
- you want full SQL access to the underlying database

## When to avoid
- you need a battle-tested backend with years of production mileage
- you require managed hosting and vendor support
- you depend heavily on Postgres features (still experimental)
- you need a document store or serverless functions ecosystem like Firebase's
- your license requirements are incompatible with OSL-3.0

## Facets
- artifact type: application
- maturity: active
- function: auth, http-server, api-framework, websocket, database, file-upload, mcp, ssr
- domain: backend, web-development, databases, apis, self-hosted, developer-tools
- platform: windows, self-hosted, rust, cross-platform
- tags: backend-as-a-service, firebase-alternative, sqlite, wasmtime, single-executable, realtime, type-safe-apis, pocketbase-alternative, supabase-alternative, admin, linux, macos, docker

## Member repositories
- trailbaseio/trailbase (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.501612+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:35.768341+00:00, confidence not recorded.
  - readme: https://github.com/trailbaseio/trailbase (fetched 2026-08-28T04:09:22.501612+00:00, sha 527d5765ab01)
  - homepage: https://trailbase.io (fetched 2026-08-29T08:50:43.529712+00:00, sha bde44dbac6f3)
  - site_page: https://trailbase.io/getting-started/install (fetched 2026-08-29T08:50:43.532402+00:00, sha 77eec0855502)
  - registry_crates: https://crates.io/api/v1/crates/trailbase (fetched 2026-08-29T08:50:43.536141+00:00, sha 77650de6f839)
  - site_page: https://trailbase.io/reference/faq (fetched 2026-08-29T08:50:43.534143+00:00, sha f3677952a2d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
