9router/cloud
2026-04-24 16:14:18 +07:00
..
migrations Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00
src - Cap maximum cooldown for rate limit handling in account unavailability and single-model chat flows 2026-04-24 16:14:18 +07:00
.gitignore Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00
jsconfig.json Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00
package.json Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00
README.md Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00
wrangler.toml Feat : Setup cloudflare worker for cloud endpoint 2026-02-09 11:27:41 +07:00

9Router Cloud Worker

Deploy your own Cloudflare Worker to access 9Router from anywhere.

Setup

# 1. Login to Cloudflare
npm install -g wrangler
wrangler login

# 2. Install dependencies
cd app/cloud
npm install

# 3. Create KV & D1, then paste IDs into wrangler.toml
wrangler kv namespace create KV
wrangler d1 create proxy-db

# 4. Init database & deploy
wrangler d1 execute proxy-db --remote --file=./migrations/0001_init.sql
npm run deploy

Copy your Worker URL → 9Router Dashboard → EndpointSetup Cloud → paste → SaveEnable Cloud.