Self-host with qa-cloud
@quameleon/qa-cloud is the open-source backend for production mode. It is a single Node process with SQLite
(node:sqlite), and no other services. It implements the same device API as Quameleon Cloud (/v1/ingest,
/v1/config) and a dashboard with crash-free sessions, error groups, user sessions and the replay player.

Requirements
Section titled “Requirements”Node 22.13 or later. Put it behind HTTPS in production; the SDK accepts plain http only for 127.0.0.1,
localhost and 10.0.2.2.
Run it
Section titled “Run it”npx quameleon-cloud app create "My app" --data ./cloud # prints api_key (shown once) and public_keynpx quameleon-cloud serve --port 8787 --data ./cloud # dashboard at http://127.0.0.1:8787| Command | Notes |
|---|---|
serve [--port 8787] [--host 127.0.0.1] [--data ./quameleon-cloud] [--retention-days 30] |
Runs the API and dashboard |
app create <name> |
Prints the API key (only its hash is stored) and the public key |
app list |
Lists apps and their remote config |
app config <app-id> '<json>' |
Sets remote config, for example '{"enabled":true,"sample_rate":0.5,"config":{"console":true}}' |
Dashboard and admin API auth: QUAMELEON_CLOUD_ADMIN_TOKEN, or a token generated into <data>/admin-token (at least
16 characters). The dashboard login takes any user name and that token as the password.
Point the SDK at it
Section titled “Point the SDK at it”Quameleon.startProduction({ apiKey, endpoint: "https://quameleon.example.com", publicKey });Limits
Section titled “Limits”Request bodies up to 5 MB gzipped (20 MB inflated). Signals older than --retention-days are deleted.

Backups
Section titled “Backups”Everything is in <data>: cloud.db (SQLite) and the admin token. Back up the directory; the private keys that
decrypt uploads are in the database.