# TrailBase

TrailBase is an open-source, self-hosted backend-as-a-service (BaaS) and open Firebase alternative that runs as a single executable built on Rust and SQLite, providing type-safe REST and realtime APIs, authentication,. It is open source and self-hosted, installable on Proxmox.

Canonical page: https://ourlocalhost.com/app/7705/trailbase

## Description

TrailBase is an open-source, self-hosted backend-as-a-service (BaaS) and open Firebase alternative that runs as a single executable built on Rust and SQLite, providing type-safe REST and realtime APIs, authentication, geospatial queries, and a built-in admin UI so developers can host their app's database and server logic without dedicated caches or extra moving parts.

## Platform availability

Available on 2 of 10 platforms: Proxmox, Any server.

## Health score

65/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 12 days ago)
- Popular: 75 (5,757 GitHub stars)
- Easy to install: 35 (2 install platforms, install notes)
- Security check: 10 (3 serious findings, 11 minor, CI, tests)

## Security check

3 serious findings: Uses anyio 4.9.0, which has a known critical vulnerability; Uses certifi 2025.4.26, which has a known critical vulnerability; Uses pyjwt 2.10.1, which has a known critical vulnerability.
Automated checks on commit 9e4c496, 13 Nov 2026. Not an audit.

## Links

- Documentation: https://github.com/trailbaseio/trailbase
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=trailbase
- GitHub: https://github.com/trailbaseio/trailbase
- Official website: https://trailbase.io

## Common questions

### Do I need a separate cache in front of TrailBase?

No; the TrailBase site says sub-millisecond latencies eliminate the need for dedicated caches.

### Can TrailBase run on Postgres as well as SQLite?

Yes; the project supports multi-DB, with SQLite and experimental Postgres v0.28+.

### Can I use TypeScript in the built-in runtime?

Yes; TrailBase includes a built-in JS, ES6, and TypeScript runtime.

### Does TrailBase include an admin UI and authentication?

Yes; it provides authentication and an admin UI as part of the self-hosted executable.

### Does TrailBase provide realtime APIs?

Yes; it offers type-safe REST and realtime APIs.

## Alternatives

- Apache Tomcat
- Firebase: Firebase, provided by Google, is a backend service and application development platform.
- NGINX Unit: NGINX Unit is a lightweight, open-source web server that serves static files and runs application code in multiple languages through a sing…
- PocketBase: PocketBase is an open-source backend in a single file that bundles an embedded SQLite database with realtime subscriptions, built-in file a…
- Supabase: The open source Firebase alternative.
- bknd.io: Bknd is a lightweight, infrastructure-agnostic backend system that runs in any JavaScript environment.

---
Source: Our Local Host (https://ourlocalhost.com/app/7705/trailbase), the self-hosted and open-source app directory.
