Open source · Apache-2.0
Run One on your own servers
The whole app is in a public repository. One script installs it on a Linux server with Postgres, with backups, upgrades and rollback included.
git clone https://github.com/JimmyJimmyJimmy-svg/one.git /opt/onecd /opt/oneONE_APP_URL=https://one.example.com selfhost/install.sh# install, build, migrate, startselfhost/backup.sh# back up now (also nightly)selfhost/upgrade.sh# upgrade, with --rollback to undo
What you need
- Linux with systemd (Debian 12, Ubuntu 22.04 or newer, or similar), 2 GB RAM or more, 5 GB disk
- Node.js 22.9 or newer, and pnpm
- Postgres 16 or newer, on the same machine or over the network, with its client tools
- A domain name pointing at the server, and a reverse proxy for HTTPS (Caddy and nginx examples included)
The guide also covers running One on Vercel or a similar Node host with any Postgres 16 or newer.
Email and AI use your own provider keys; AI stays off until you add one. You run the server, so updates and backups are yours to keep up.
What the install script does
- Checks Node.js, pnpm, the Postgres tools and the Postgres version
- Writes your settings file with new secrets and a database password
- Creates the database and the roles One needs
- Installs, builds the app and applies the database migrations, ending with a security self-test of every table
- Starts the web server, a scheduler every 5 minutes and nightly backups as systemd services
- Waits until the app answers its health check
Every step can be re-run safely. Upgrades take a backup first and can be rolled back.
Read the docs in the repository
- README: what is in the repository and local development
- selfhost/: install, backup, restore and upgrade scripts
- Self-hosting guide: every option, HTTPS, backups and upgrades
Prefer not to run a server? The hosted version is free except AI.