Rivet Engine
Rivet is an open alternative to Cloudflare Durable Objects. Rivet Actors are long-lived stateful processes with their own SQLite database that run inside your Node.js, Bun or Rust apps, while the engine schedules, routes and persists them. This is the self-hosted engine those apps connect to.
Rivet Engine
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/rivet.sh)"
Notes
Connect your RivetKit app with RIVET_ENDPOINT=http://default:<token>@[IP]:6420, using auth.admin_token from /opt/rivet_data/config.json. The default node pool already exists.
Port 6420 is the API and actor gateway, not a web UI; the self-hosted engine ships no dashboard.
The admin token has full access to every namespace. Keep it on your backend and put the engine behind HTTPS before exposing it beyond your LAN.