├ 18
self-host
edgepush server + dashboard are AGPL-3.0. The SDK, CLI, and shared types are MIT so you can embed them in a closed-source app without copyleft obligations. Run the whole stack on your own Cloudflare account:
git clone https://github.com/akshitkrnagpal/edgepush.git
cd edgepush
pnpm install
# Create D1 database, KV namespace, Queues
cd apps/api
pnpm wrangler d1 create edgepush
pnpm wrangler kv namespace create edgepush-cache
pnpm wrangler queues create edgepush-dispatch
pnpm wrangler queues create edgepush-dispatch-dlq
pnpm wrangler queues create edgepush-webhook
pnpm wrangler queues create edgepush-webhook-dlq
# Paste the IDs into wrangler.jsonc, then:
pnpm wrangler secret put ENCRYPTION_KEY
pnpm wrangler secret put BETTER_AUTH_SECRET
pnpm wrangler secret put GITHUB_CLIENT_ID
pnpm wrangler secret put GITHUB_CLIENT_SECRET
pnpm db:migrate:remote
pnpm deploy
# Then deploy the dashboard
cd ../web && pnpm deployFull guide: SELFHOST.md covers prerequisites, secrets, migrations, troubleshooting, and the nightly D1 backup workflow.