Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

TrailBase on a VPS

TrailBase is an open-source backend in one executable: SQLite with type-safe REST and realtime APIs, authentication, an admin UI and a WebAssembly runtime.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
4000/tcpPorts
OSL-3.0 (server), Apache-2.0 (client libraries)License

About TrailBase

TrailBase packs a backend into one executable: SQLite storage (Postgres is experimental from v0.28), type-safe REST and realtime APIs, authentication with an optional auth UI, and a WebAssembly runtime built on Wasmtime for custom logic. The server is OSL-3.0, and the client libraries are Apache-2.0.

One process with an embedded database means no database server to run on your CloudSat plan, and a backup is a copy of one directory. It fits prototypes, mobile app backends and internal tools.

After deploy TrailBase listens on port 4000, with the admin UI at /_/admin/. On first start it creates the admin admin@localhost with a random password, which our team saves in /root/app-credentials.txt.

What you get with TrailBase

  • Type-safe REST and realtime APIs over SQLite
  • Built-in authentication with an optional login UI
  • Admin UI for tables, users and settings
  • WebAssembly runtime for custom logic
  • Config, data and secrets in one traildepot folder

TrailBase use cases

  • Back a mobile or single-page app with auth and live data
  • Prototype a product without running a database server
  • Replace a hosted backend service for a small internal tool

After you deploy TrailBase

  1. When the server is Running, SSH in and read the admin email and password in /root/app-credentials.txt.
  2. Open http://<server IP>:4000/_/admin/ and sign in; trail user change-password and trail user change-email update them later.
  3. Create tables and record APIs in the admin UI.
  4. Serve TrailBase over HTTPS on your domain through a reverse proxy before clients connect.

TrailBase ports

Open these in your firewall if you use one: 4000/tcp API and admin UI.

TrailBase FAQ

Where does TrailBase keep its data?

In the traildepot directory, which holds configuration, databases and secrets. Copy that folder or snapshot the server for backups.

Can TrailBase use PostgreSQL?

Experimentally, from v0.28 on. SQLite remains the default and the best-supported option.

Disclaimer. The TrailBase project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

TrailBase on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back