UpstandPlatform/OpenRive
Acerca de
Build inetractive UIs, motion, and game experiences in the OpenRive Editor, or let an AI agent generate them through the CLI, Your creations run natively across mobile, desktop, web, consoles, TVs, and vehicles
Juegos y emulaciónWhat you can do
- Vector Design - Artboards, parametric shapes, pen tool with vertex editing, trim paths, blend modes, clipping, distance constraints, and SVG/PNG/WebP/font imports.
- Timeline Animation - Multi-track timelines with auto-keying, cubic Bezier curve editor, hold/linear easing, ping-pong loops, and 1D blend states.
- State Machines - Multi-layer state machines with property conditions, pointer/Rive event listeners, align-to-pointer actions, and live interactive stage preview.
- Data Binding & Themes - Artboard view models (number, boolean, trigger, string, color), one-click migration from legacy inputs, and Light/Dark theme color tokens.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +11
- in 15 days
- +22
- in 1 month
- +44
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalOpenRive
An open-source, local-first editor, CLI, and MCP server for Rive (.riv) animations.
Design vector animations, build state machines, or generate interactive UIs with AI agents—exporting native .riv files that run across Web, React, Flutter, iOS, Android, and game engines with zero cloud lock-in.
Quickstart in 3 Steps
Run OpenRive locally in under two minutes. No external database setup is required—OpenRive boots an embedded PostgreSQL instance automatically until you configure DATABASE_URL.
Prerequisites: Bun 1.4+
git clone https://github.com/UpstandPlatform/OpenRive.git && cd OpenRive
bun install
bun run dev
Open http://localhost:3000. You will land directly in an interactive Welcome to OpenRive workspace (move your cursor over the logo's eye to test the live state machine).
Why Developers Choose OpenRive
- Byte-for-Byte Official
.rivCompatibility: The reader/writer is generated directly fromrive-runtimetype definitions and verified against 437 official runtime test files. - Official Rive WASM Rendering: The viewport renders using the official Rive WASM runtime served locally, guaranteeing that editor previews match production apps identically.
- Local-First & Login-Free: Projects persist in local PostgreSQL on your machine or self-hosted server—no mandatory accounts, telemetry, or cloud sync.
- Multi-Surface Workflow: Edit visually in the Web or Desktop app (macOS, Windows, Linux), automate via the Terminal UI/CLI, or connect AI agents via a 42-tool MCP server.
Run Anywhere: Desktop, CLI, MCP, or Docker
Desktop App (macOS, Windows, Linux)
Download prebuilt installers from GitHub Releases, or compile locally:
bun run build:desktop
Terminal UI & Scriptable CLI
Browse, create, validate, and export .riv files headlessly from your terminal or CI pipeline:
bun run cli
# Or link globally to run `openrive new`, `openrive export`, and `openrive validate`
bun link
AI Agent Integration (MCP Server & Skills)
OpenRive ships with a 42-tool Model Context Protocol (MCP) server and agent skills so Claude Code, Cursor, or custom agents can generate and inspect .riv animations programmatically:
npx skills add https://skills.sh/upstandplatform/openrive?utm_source=github&utm_medium=readme&utm_campaign=ai_skills
Self-Hosting with Docker
Deploy a shared team instance with password auth, Admin/Editor/Viewer roles, and prebuilt amd64/arm64 images:
cp .env.example .env # Set OPENRIVE_ACCESS_TOKEN and POSTGRES_PASSWORD
docker compose up -d
(Prefer single-container file storage without PostgreSQL? Run docker compose -f docker-compose.standalone.yml up -d.)
Core Capabilities
| Capability | What You Get |
|---|---|
| Vector Design | Artboards, parametric shapes, pen tool with vertex editing, trim paths, blend modes, clipping, distance constraints, and SVG/PNG/WebP/font imports. |
| Timeline Animation | Multi-track timelines with auto-keying, cubic Bezier curve editor, hold/linear easing, ping-pong loops, and 1D blend states. |
| State Machines | Multi-layer state machines with property conditions, pointer/Rive event listeners, align-to-pointer actions, and live interactive stage preview. |
| Data Binding & Themes | Artboard view models (number, boolean, trigger, string, color), one-click migration from legacy inputs, and Light/Dark theme color tokens. |
| Code & Export | JavaScript automation API, copy-paste integration snippets (Web, React, Flutter, iOS, Android), and standalone HTML/JS/WASM preview bundles. |
Documentation
Full guides live in docs/:
- Setup & Deployment: Running Locally · Self-Hosting · Desktop App · Configuration · Storage & PostgreSQL
- Editor & Workflow: User Guide · Templates · Theme Colors · Text & Assets · Keyboard Shortcuts
- Automation & Internals: MCP Server · AI Agent Skills · CLI & Terminal UI · REST API · The
.rivFormat · Architecture
Contributing & Support
Contributions of bug reports, .riv templates, format coverage, and documentation are welcome—see CONTRIBUTING.md to get started. Please report security vulnerabilities privately via SECURITY.md.
If OpenRive saves your team time, consider starring the repository or supporting development:
| Network | Address |
|---|---|
| TON | UQBglMTG79v4lv6j0CyhJSKaB8vNr704qUgcyA0CkUtGEZ7q |
| ETH / Base / BSC / Arbitrum | 0x39aAf891Ed40995dC5BAC792BC607630C2ecB09d |
| Bitcoin | bc1qq0qyu27f3qvzfeued6qmhr635ffe6zcvk6v4gh |
| TRON | TRkn78pomDFzB2LDYMwHLZrSiuJ4aZQxJF |
License
OpenRive is released under the MIT License. OpenRive is an independent open-source project and is not affiliated with or endorsed by Rive Inc. The bundled Rive WASM runtime and example files in public/examples are © Rive and distributed under the MIT License (see apps/web/public/examples/LICENSE-rive-runtime.txt). The Inter font is distributed under the SIL Open Font License (apps/web/public/fonts/OFL.txt).
Explorar proyectos relacionados
Cargando…