# TrailBase

> An open, sub-millisecond, single-executable Firebase alternative

Source: https://talira.ai/catalog/trailbase-hh4ywfy3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app, API, Framework, Command-line tool, MCP server
- Categories: [backend as a service](https://talira.ai/categories/backend-as-a-service), [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend)
- Platforms: linux, macos, windows, docker, web, cli[^5][^8]
- Licence: OSL-3.0[^5][^7]
- Pricing: Free and open source[^5][^6]
- Pricing notes: Free and open source; no hosted service or paid plan is offered on its site.
- Free tier: yes[^5][^6]
- Self-hostable: yes[^5][^8]
- API: yes[^5][^6]
- Plugins: yes[^5]
- MCP server: yes[^8]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^8]
- Backed by: [TrailBase](https://talira.ai/orgs/trailbase.md)

TrailBase is an open source application backend that ships as one executable, built in Rust on [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) and Wasmtime, with [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) as an experimental option. It gives tables and views type-safe REST and realtime APIs with change subscriptions, authentication (passwords and social OAuth providers, with JWTs and refresh tokens), access control through ACLs and SQL rules, file storage, geospatial and vector search, server-side rendering, and an admin dashboard, and runs custom endpoints in a WebAssembly runtime that supports many guest languages. Client libraries cover [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md), Dart and Flutter, Python, C#, Rust, Swift, Kotlin and Go, and the binary includes a local MCP server for agents. Its makers position it between [PocketBase](https://talira.ai/catalog/pocketbase-6ndc6bsb.md) and [Supabase](https://talira.ai/catalog/supabase-524j51hm.md) and report roughly ten times PocketBase's API speed in their benchmarks. It's licensed under OSL-3.0, with client libraries under Apache-2.0, and runs on Linux, [macOS](https://talira.ai/catalog/macos-8swyggxb.md), Windows or [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md).

## Links

- Website: https://trailbase.io/
- GitHub: https://github.com/trailbaseio/trailbase
- Docs: https://trailbase.io/getting-started/install/

## Ways to install

### On your own server

- [Coolify](https://talira.ai/catalog/coolify-0mx3mr9d.md): <https://coolify.io/docs/services/trailbase>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/trailbase>[^2]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/trailbase>[^3]

## Problems it solves

- a backend for my mobile app with auth, a database and realtime updates that I can run as one binary
- self-hosted Firebase alternative that doesn't need Docker Compose with ten containers
- something like PocketBase but faster and written in Rust
- add login with Google and Discord to my app without writing an auth server
- get a REST API for my SQLite tables without writing any endpoints
- push live changes from the database to every connected client
- write custom server endpoints in TypeScript that run sandboxed next to my data
- type-safe client code generated from my database schema for a Flutter app
- a backend where access rules are just SQL instead of a custom rules language
- an admin dashboard to browse and edit tables for a small app's data
- a backend that adds no caching layer because its API latency is already under a millisecond
- store user-uploaded files alongside records without setting up S3 first
- vector search and geospatial queries in a lightweight self-hosted backend
- let a coding agent inspect and change my app's backend through MCP
- keep schema migrations for dev, test and prod databases consistent
- a backend for a desktop or offline-first app that I can ship as a single file

## Features

- type-safe REST APIs for tables and views
- realtime change subscriptions pushed to clients
- authentication with email or username and password, social OAuth providers, short-lived JWTs and refresh tokens
- ACLs and SQL access rules
- file storage
- WebAssembly runtime (Wasmtime) for custom endpoints in many guest languages, plus an installable auth UI component
- geospatial support, vector search and SQLite extensions
- server-side rendering
- optional admin dashboard
- schema migrations written to the depot folder
- multi-database support: SQLite, PostgreSQL experimental
- client libraries for TypeScript, Dart/Flutter, Python, C#, Rust, Swift, Kotlin and Go, with code generation
- built-in local MCP server (trail mcp) for agents
- TanStack DB integration for realtime sync
- pre-built binaries for Linux, macOS and Windows and a Docker image

## Limitations

- No built-in multi-node clustering: TrailBase runs as a single node on SQLite, with read replicas or Litestream as the options for now[^4]
- PostgreSQL support is experimental: SQLite is the main database[^5][^6]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.48 out of 1.
Signals: backing 0.30, extensibility 0.80.

- has a company behind it
- has a plugin system
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Supabase](https://talira.ai/catalog/supabase-524j51hm.md): The Postgres development platform
- [PocketBase](https://talira.ai/catalog/pocketbase-6ndc6bsb.md): Open Source backend in 1 file
- [Appwrite](https://talira.ai/catalog/appwrite-txjpgp2n.md): The open-source cloud for agents & devs
- [Nhost](https://talira.ai/catalog/nhost-fzaba1c7.md): Open source Firebase alternative with GraphQL
- [Convex](https://talira.ai/catalog/convex-cd5s9zbk.md): The reactive backend platform that keeps up with you and your agents
- [Firebase](https://talira.ai/catalog/firebase-mdj3dmfy.md): Google's app development platform: database, auth, hosting, functions and more

## Sources

[^1]: https://coolify.io/docs/services/trailbase (checked 20 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/trailbase.sh (checked 21 Nov 2026)
[^3]: https://railway.com/deploy/trailbase (checked 20 Nov 2026)
[^4]: https://trailbase.io/reference/faq/ (checked 20 Nov 2026)
[^5]: https://github.com/trailbaseio/trailbase/blob/main/README.md (checked 20 Nov 2026)
[^6]: https://trailbase.io/ (checked 20 Nov 2026)
[^7]: https://github.com/trailbaseio/trailbase/blob/main/LICENSE (checked 20 Nov 2026)
[^8]: https://trailbase.io/getting-started/install/ (checked 20 Nov 2026)
