clx

Русский Sign inDashboard

clx is open source

The service at clx.cx, the worker it installs into your Cloudflare account and this site are one public repository under AGPL-3.0. Read what runs in your account, or run a clx of your own.

Start free

AGPL-3.0

You may read, change and run the code. If you offer a changed copy to others as a service, its users get its source too.

What runs in your account

The worker is built from the repository’s edge/ folder; the built bundle is committed with its sha256, and every release ever made is listed beside it. clx replaces or removes a worker in your account only when its code is one of those.

Your own clx

clx.cx itself is a Worker with a D1 database and a KV namespace: one Cloudflare account runs a copy of it, with the same app, API and worker for your users’ accounts.

The QR code library

The QR codes are drawn by @301st/qr-svg, a separate library under the MIT licence; until it is on npm, its copy lives in the repository with its own licence and tests.

How it works →For site generators →

Run your own copy

Node.js 22 and pnpm. The README has every step, the secrets included.

git clone https://github.com/investblog/clx && cd clx
pnpm install
node scripts/wrangler.mjs login
node scripts/wrangler.mjs d1 create clx
node scripts/wrangler.mjs kv namespace create SESSIONS
cp wrangler.example.jsonc wrangler.jsonc   # your route, ids, HOOK_URL
node scripts/wrangler.mjs d1 migrations apply clx --remote
node scripts/secrets.mjs JWT_SECRET
node scripts/secrets.mjs MASTER_KEYS
pnpm run deploy
node scripts/user.mjs add you@example.com

Or use clx.cx, free

Start free