Prerequisites
- Node.js 20+
- pnpm 9+
Fastest Path
- API server at
http://localhost:3100 - UI served by the API server in dev middleware mode (same origin)
Operator Defaults
- Use
local_trustedunless you specifically need network access. - Keep
HOST=127.0.0.1for the default local dev loop. - Use
authenticated + privateonly when you need Tailscale, VPN, or LAN access. - Use
PAPERCLIP_PUBLIC_URLonly when the browser origin should be stable across restarts or remote devices.
One-Command Bootstrap
For a first-time install:- Auto-onboards if config is missing
- Runs
paperclipai doctorwith repair enabled - Starts the server when checks pass
Tailscale/Private Auth Dev Mode
To run inauthenticated/private mode for network access:
0.0.0.0 for private-network access.
Alias:
Local Compose
If you want a Docker-backed local environment instead of the embedded database path, use docker.md.Health Checks
Reset Dev Data
To wipe local data and start fresh:Data Locations
| Data | Path |
|---|---|
| Config | ~/.paperclip/instances/default/config.json |
| Database | ~/.paperclip/instances/default/db |
| Storage | ~/.paperclip/instances/default/data/storage |
| Secrets key | ~/.paperclip/instances/default/secrets/master.key |
| Logs | ~/.paperclip/instances/default/logs |