Reference

Self-hosting

Run the OTADart update service on your own server with a self-host license.

How it works

You can run the OTADart update service on your own Linux server. Your apps, patches and users’ data stay on your server; phones download updates from it, not from otadart.dev.

Each server needs a self-host license from your otadart.dev console (Self-hosting). The server checks in with otadart.dev every 6 hours. Without a valid license it serves nothing — no console, no uploads and no update checks; apps already installed keep running their store version.

Note: Self-hosting is free. For now, it’s the only feature we’re actively improving.

Why self-hosting matters

You choose where release artifacts and update data are stored. Your team can use its own domain and manage access, backups and monitoring with the tools it already uses.

Licenses

RuleDetails
Validity30 days, renewed at every check-in while you use it

Set up a server

  1. Create a license in the console (Self-hosting) and copy the key.
  2. Download the OTADart server: https://otadart.dev/self-host/otadart-server.mjs — it runs with Node.js 24 or newer.
  3. Put HTTPS in front of it (for example Caddy).
  4. Point your apps and the CLI at your server.
OTA_LICENSE_KEY=otl_… \
OTA_PUBLIC_URL=https://updates.example.com \
OTA_ADMIN_TOKEN=<at least 32 random characters> \
OTA_DATA_DIR=/var/lib/otadart \
node otadart-server.mjs

Caddy configuration (/etc/caddy/Caddyfile):

updates.example.com {
  reverse_proxy 127.0.0.1:8080
}

In your app (otadart.yaml) and for the CLI:

api_url: "https://updates.example.com"
export OTADART_API_URL=https://updates.example.com

Check the license

GET /health on your server shows whether it is licensed, until when, and what is wrong if it is not.

curl https://updates.example.com/health

Related: Command cheat sheet · CLI reference · API reference · CI & automation · Get help · Troubleshooting