Triplit Server
The official template for self-hosting the Triplit Server
Triplit Server
aspencloud/triplit-server
Just deployed
/mnt/triplitdb
Deploy and Host Triplit Server on Railway
A full-stack, syncing database that runs on both server and client. Pluggable storage (indexeddb, sqlite, durable objects), syncs over websockets, and works with your favorite framework (React, Solid, Vue, Svelte).
About Hosting Triplit Server
You can run a self-hosted Triplit server completely independently or connect your self-hosted deployment to the Triplit Cloud dashboard for easier management and access to the Triplit Console.
- Create an account on Triplit
- Create a new project
- Update your project in Triplit Cloud to point to your Railway deployment
More info in the Triplit Docs
Common Use Cases
- Local-first applications that need offline support on the client like mobile applications
- Collaborative web applications like Notion, Figma, etc that require seamless merging of concurrent edits
- Low-latency alternative to Supabase for dashboards and other office tools
Dependencies for Triplit Server Hosting
- None
Deployment Dependencies
- None
Implementation Details
Once deployed use the Triplit CLI to push your schema to your server. Check out the Getting Started guide for more info
Why Deploy Triplit Server on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Triplit Server on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Triplit Server
aspencloud/triplit-server