Railway Deployment
Deploy a new instance in less than a minute with a single click, no configuration necessary. This template provisions the necessary environment variables and a persistent volume.Configuration
During deployment, configure the LLM provider.| Variable | Description | Example |
|---|---|---|
LLM_PROVIDER | openai, anthropic, or gemini | anthropic |
LLM_API_KEY | Provider API key | sk-... |
LLM_MODEL | Provider model ID | gpt-4o |
/tinykit (e.g., https://your-project.up.railway.app/tinykit).
Local Development
Prerequisites
- Node.js 20+
- Git
Setup
-
Clone:
-
Install:
-
Configure:
cp
.env.exampleto.envand set theLLM_*variables. -
Database:
Download the PocketBase binary.
-
Run:
Start the development server.
Access at
http://localhost:5173/tinykit.
Environment Variables
| Variable | Required | Description |
|---|---|---|
LLM_PROVIDER | No* | AI provider slug. |
LLM_API_KEY | No* | Provider API Key. |
LLM_MODEL | No | Model ID. |
LLM_BASE_URL | No | Optional base URL for compatible APIs. |
/tinykit/settings UI after deployment.