Deploy Tinykit

Self-hosted AI app builder (Lovable/v0 alternative), PocketBase built in

Deploy Tinykit

/app/pocketbase/pb_data

Deploy and Host Tinykit on Railway

Tinykit is an open-source agentic app builder, a self-hosted alternative to Lovable, v0 and Replit. You describe an app, the AI writes one Svelte file and creates its database tables, and Tinykit serves it. PocketBase is built in, so each app gets a realtime database, file storage and auth.

About Hosting Tinykit

This template runs Tinykit 0.1.1 as one service, built from source at a pinned upstream commit on a digest-pinned Node 22 image, with PocketBase 0.23.4 inside. Everything Tinykit stores (database, uploads, built apps, settings) lives on one Railway volume, so it survives redeploys and restarts. A health check on /_pb/api/health only passes when both Tinykit and PocketBase answer. On the first boot the template creates your admin account from the email you enter and a generated password, before the public port opens, so nobody else can claim the setup page. AI keys are optional and set inside the app.

Common Use Cases

  • Build small internal tools, dashboards and trackers from a prompt and run them on your own domain
  • Host many small realtime apps (kanban, notes, polls, RSVP pages) on one service, one domain per app
  • Prototype app ideas with your own OpenAI, Anthropic, Gemini, DeepSeek or OpenAI-compatible model

Dependencies for Tinykit Hosting

  • A Railway volume for /app/pocketbase/pb_data (included)
  • Optional: an API key from an LLM provider, for the AI builder

Deployment Dependencies

Implementation Details

After deploy: the only prompt is ADMIN_EMAIL. Open the service's Variables tab to read the generated ADMIN_PASSWORD, then sign in at https://YOUR-DOMAIN/login. The dashboard is at /tinykit. Add an AI provider under /tinykit/settings, or set LLM_PROVIDER, LLM_MODEL and LLM_API_KEY (plus LLM_BASE_URL for OpenAI-compatible servers) on the service. The PocketBase admin is at /_pb/_/ with the same email and password. The two admin variables are read only on the first boot: change the password later in the PocketBase admin.

Apps and domains: Tinykit picks the app by the request's domain. Add more Railway or custom domains to the service and connect each one to an app from /tinykit.

Updates: the service builds from the public template repo. When we move it to a newer Tinykit commit or base image, Railway shows an "update available" notice in your project. Read the repo's CHANGELOG.md, back up the volume, then apply it. Your data stays on the volume.

Why Deploy Tinykit 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 Tinykit 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

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

bento
1