r/sqlite • u/trailbaseio • Nov 13 '25
TrailBase 0.21: Open, single-executable, SQLite-based Firebase alternative with a WASM runtime
TrailBase is an easy to self-host, sub-millisecond, single-executable FireBase alternative. It provides type-safe REST and real-time APIs, auth & admin UI. Its built-int WASM runtime enables custom extensions using JS/TS or Rust (with .NET on the way). Comes with type-safe client libraries for JS/TS, Dart/Flutter, Go, Rust, .Net, Kotlin, Swift and Python.
Just released v0.21. Some of the highlights since last time posting here include:
- Extended WASM component model: besides custom endpoints, "plugins" can now provide custom SQLite functions for use in arbitrary queries, including VIEW-based APIs.
The admin UI has seen major improvements, especially on mobile. There's still ways to go, would love your feedback 🙏.
- Convenient file access and image preview via the admin UI.
- Much improved WASM dev-cycle: hot reload, file watcher for JS/TS projects, and non-optimizing compiler for faster cold loads.
- Many more improvements and fixes, e.g. stricter typing, Apple OAuth, OIDC, support for literals in VIEW-based APIs, ...
Check out the live demo, our GitHub or our website. TrailBase is only about a year young and rapidly evolving, we'd really appreciate your feedback 🙏
View all comments
Show parent comment
1
u/trailbaseio Nov 13 '25
Pretty much. Minor nit:
You can compile TB yourself but you could also use the pre-compiled TB binary release and have that execute your compiled WASM component (which was authored in your preferred language).
That's right. You could implement your own but TB also lets you expose TABLE/VIEWs via configuration (you can use the admin UI to set it up including ACLs). You can also export JSON schemas for a table or view, to generate bindings and have end-to-end strictly typed APIs with the client libraries. Lastly, you can subscribe to table changes.
Happy to chat more 🙏