selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

TrailBase logo

Self-host TrailBase

v0.35.12

One-binary backend with realtime APIs, auth and admin UI

AlphaOpen SourceOSL-3.0
curl -sSL https://trailbase.io/install.sh | bash
Updated15 hours ago
LanguageRust
Setup difficultyModerate
MobileResponsive
Stars
5 755
Port
4000 (HTTP/HTTPS API, auth UI and admin dashboard)
Docker
trailbase/trailbase
Views of the built-in admin dashboard

What is TrailBase?

TrailBase alternatives

All self-hosted alternatives to Firebase → All self-hosted alternatives to PocketBase → All self-hosted alternatives to Supabase →

Should you self-host TrailBase?

TrailBase scores 63/100 on selfhost.directory (how scoring works) and ranks #7 of 15 in Backend as a Service. It has 5 755 GitHub stars, +106 in the last 30 days.

It shipped 70 stable releases in the past year. The latest, v0.35.12, came out on 9 November 2026. New versions land roughly every 2 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is OSL-3.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is supabase (90/100, 114 758 stars). It scores higher overall, so compare the two before you pick. See TrailBase vs supabase side by side.

Features

  • ACLs and SQL access rules
  • Admin Dashboard
  • Anonymous sign-inPromotion to an OAuth-backed account is not yet supported.
  • Built-in authentication with auth UI
  • Built-In MCP Server
  • Database Migrations
  • File storage and uploads
  • Geospatial Support
  • Health check and log accessTelemetry is described as minimalistic; richer metrics are future work.
  • HTTPS / TLS supportAutomated certificate issuance and renewal are not supported yet.
  • OAuth social login
  • Realtime data subscriptions
  • REST API
  • Vector Search
  • WebAssembly custom endpoints

TrailBase README

TrailBase logo

An open, sub-millisecond, single-executable Firebase alternative with type-safe REST & realtime APIs, multi-DB, WebAssembly runtime, geospatial support, SSR, auth and admin UI built on Rust, Wasmtime & SQLite (or experimentally Postgres v0.28+).

How to install TrailBase

Install TrailBase with Docker

alias trail='
  mkdir -p traildepot && \
  docker run \
      -p 4000:4000 \
      -e ADDRESS=0.0.0.0:4000 \
      --mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \
      trailbase/trailbase /app/trail'

Then `trail run` inside the alias brings up the server.

How to configure TrailBase

  • ADDRESSAddress the server binds to; used in the Docker run example to expose the app on 0.0.0.0:4000.

    values: host:port

  • --admin-addressMove the admin APIs and UIs to a separate, private port to shrink the public surface.

    values: <IP>:<PORT>

  • --disable-auth-uiDisable the built-in web auth UIs if you roll your own or need no web-based login.

    values: flag

  • --depotPath to the depot directory holding configuration, databases and secrets.

    values: path, e.g. ./traildepot

  • --userUser the built-in MCP server authenticates as when it has local depot access.

    values: user e-mail, e.g. admin@localhost

TrailBase releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Can I Add Features to TrailBase?

Yes: check the roadmap, open an issue, or contribute — though early on proposals are discussed first so they fit the roadmap.

How is TrailBase Different from PocketBase, Supabase and Others?

It aims to mix Supabase's flexibility and principled architecture with PocketBase's ease and low overhead, delivering a similar feature set in a single very fast executable.

Is TrailBase Ready for Production?

Partly: it is well tested but still young and has less mileage than older solutions, so the team offers hands-on support to early adopters and points to its early-stage productionization docs.

Who is TrailBase for?

Mainly developers or teams building a client-side app (mobile, PWA, desktop) that want common backend problems solved: relational storage, APIs, authentication, file uploads, realtime updates, logs and SQL analysis.

More in Backend as a Service

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…