Back to rankings

rivet-gg/rivet

Rustrivet.gg

🔩 Serverless for stateful backends

game-developmentmultiplayerrustgodotunreal-enginebevyactoractorscloudflare-durable-objectsdenodurable-objectsfoundationdb
Stars
3.2k
Forks
80
Weekly Growth
Issues
6
Artifactscrates.iocargo add rivet
README

Rivet

Scalable. Stateful. Serverless.

Rivet is the platform to build realtime, edge, or agent applications.
No limitations of Redis or timeouts of Lambda.

GitHub Discussions Discord Rivet Twitter Rivet Bluesky License Apache-2.0

Code snippets

Intro

Rivet comes with simple primitives to build your backend. Leverage Rivet Actors to build complex functionality with ease.

Features

  • State & Persistence: State that feels like memory but works like storage. Ideal for dynamic, fast-moving apps.
  • Remote Procedure Calls: Lightweight messaging built for speed. Complete client/server type safety included.
  • Runs Forever, Sleeps When Idle: Always available, sleeps on network inactivity or timeouts, and wakes instantly on demand.
  • Edge Networking: Automatically distribute your applications near your users for ultra-low latency.
  • Fault Tolerance: Ensure application & state resilience through crashes with zero downtime.

Infrastructure

  • Works with Your Runtime: Supports V8 isolates, WebAssembly, and containers to work with your existing tools.
  • Scales to Zero: Handle millions of connections with low latency and high-throughput writes while saving costs through instant actor sleep/wake cycles.
  • No Servers & No Configuration: Deploy with one command. Scale on demand without any configuration.
  • Simpler Than Lambda, No Timeouts Ever: No execution time limits, no complexity — just better serverless.
  • Batteries Included Monitoring: Includes monitoring out of the box, or bring your own monitoring.
  • Built with Technologies You Can Trust: Rust, FoundationDB, the Rivet workflow engine, and Rivet orchestrator make Rivet delightfully boring to use.

Use cases

  • AI agents
  • Game Servers
  • Collaborative applications
  • Local-first apps
  • Discord Activities
  • Chat Apps
  • Yjs Sync & Storage
  • Sandboxed Code Execution

Getting Started

Quickstart

See the full quickstart guide for a comprehensive walkthrough.

Step 1: Install CLI

# macOS & Linux & WSL
curl -fsSL https://releases.rivet.gg/rivet/latest/install.sh | sh

# Windows (cmd)
powershell -Command "iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex"

# Windows (PowerShell)
iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex

Step 2: Create Project & Deploy

rivet init
cd my-app
rivet deploy

Step 3: Monitor

Visit the Rivet Hub to create & test your actors.

Documentation

Running Rivet

  • Self-Hosting
  • Rivet Cloud: Fastest, most affordable, and most reliable way to deploy Rivet Actors with zero infrastructure maintenance
  • Rivet Enterprise: Get a demo or have your questions answered about Rivet

Community & Support

Technologies

  • Rust
  • V8 & Deno: Actor isolate runtime
  • FoundationDB: Actor state
  • CockroachDB: OLTP
  • ClickHouse: Developer-facing monitoring
  • Valkey: Caching
  • NATS: Pub/sub
  • Traefik: Load balancers & tunnels

Project layout

docker/                      Docker-related files
    dev-full/                Full development environment setup
    monolith/                Monolithic Docker setup
    universal/               Universal multi-stage builder image
docs/                        Documentation
docs-internal/               Internal documentation
examples/                    Example projects
frontend/                    Rivet Hub & other frontend components
packages/                    Project packages
    api/                     API package
    common/                  Common utilities
    infra/                   Infrastructure-related code
    services/                Service implementations
    toolchain/               Toolchain-related code
resources/                   Misc resources supporting Rivet
scripts/                     Scripts for various tasks
sdks/                        SDKs
    actor/                   Actor SDK
    api/                     Low-level SDK for calling API
site/                        Website & documentation

License

Apache 2.0

Related repositories
godotengine/godot

Godot Engine – Multi-platform 2D and 3D game engine

C++MIT Licensegame-enginegodot
godotengine.org
114.4k26k
ocornut/imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

C++MIT Licenseguigamedev
74.9k11.9k
bevyengine/bevy

A refreshingly simple data-driven game engine built in Rust

Rustcrates.ioApache License 2.0bevygamedev
bevy.org
47.3k4.7k
phaserjs/phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

JavaScriptnpmMIT Licensephaserphaserjs
phaser.io
40k7.1k
raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

Czlib Licenseraylibc
raylib.com
34k3.2k
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

Rustcrates.ioApache License 2.0guirust
egui.rs
29.8k2.1k
BabylonJS/Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

TypeScriptnpmApache License 2.0webglwebgl2
babylonjs.com
25.8k3.7k
libgdx/libgdx

Desktop/Android/HTML5/iOS Java game development framework

JavaMavenApache License 2.0libgdxjava
libgdx.com
25.2k6.5k
4ian/GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

JavaScriptnpmOthergamejavascript
gdevelop.io
25k1.5k
leereilly/games

Archived — A list of games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.

game-enginehtml5-games
24.9k3.5k
clockworklabs/SpacetimeDB

Development at the speed of light

Rustcrates.ioOtherdatabasedataoriented
spacetimedb.com
24.8k1k
Donchitos/Claude-Code-Game-Studios

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

ShellMIT Licenseai-agentsai-assisted-development
23.3k3.3k