
Deploy HappyView 2 (SQLite)
A lexicon-driven ATProto AppView.
Just deployed
/data
Deploy and Host HappyView on Railway
HappyView is a lexicon-driven ATProto AppView. Upload lexicon definitions at runtime and HappyView dynamically generates XRPC query and procedure endpoints, indexes records from the network, and proxies writes to users' PDSes. This Railway template uses embedded SQLite, so there's no additional services to manage.
About Hosting HappyView
This template deploys HappyView with no external database needed — SQLite runs embedded within the container. SQLite works well for smaller instances and personal projects where you want to keep infrastructure simple.
If you'd prefer to use PostgreSQL, check out the HappyView w/ Postgres template.
Common Use Cases
- Prototyping custom ATProto applications with their own record types, queries, and procedures
- Running a personal or small-community AppView
- Hosting a backend for ATProto clients that need OAuth and record management
Dependencies for HappyView Hosting
HappyView with SQLite has no external dependencies — everything runs in a single container.
Deployment Dependencies
Why Deploy HappyView 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 HappyView on Railway, you're 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
SESSION_SECRET
A random 64+ character string (e.g. openssl rand -base64 48)
TOKEN_ENCRYPTION_KEY
Base64-encoded 32-byte key for encrypting plugin secrets and DPoP private keys at rest. Required for dashboard-managed plugin secrets and third-party app OAuth sessions (e.g. openssl rand -base64 32)
