r/coolgithubprojects • u/AdUpstairs9533 • 1d ago
Open Stream Environment (OSE) — A local-first, open-source streaming suite built with Rust & Tauri 2
galleryHi everyone! I'm the solo developer behind Open Stream Environment (OSE).
I wanted a lightweight, privacy-focused alternative to cloud-based overlay tools like Streamlabs and StreamElements — something that wouldn't compete for CPU while you're gaming.
So I built a local-first desktop application on Rust + Tauri 2, with an embedded Axum + WebSocket server that serves overlays to OBS as standard Browser Sources.
Technical highlights & features
- Figma-like drag-and-drop editor — a live 16:9 canvas with a snapping grid, layer management and 92 widget types. The "3D" widgets are HTML5 Canvas drawings tilted with CSS 3D transforms (no WebGL), and animation is capped where the cost matters: 3D widgets draw at 20–30 fps, the mic visualizer at 30, and the help tells you to set the OBS browser source to 30 — 60 would only double the work. Live webcam frames go up to 60 fps.
- Sandboxed extensibility — custom HTML/CSS/JS widgets run inside isolated iframe sandboxes. There's a theme editor and an npm-published SDK (
npx ose-plugin create): widget packages, theme packages, validation and packing. - P2P WebRTC multicam — four guest camera slots joined through one-time browser links. Signaling goes through a small Cloudflare Workers service, and you can point it at your own TURN server when a guest sits behind a strict NAT.
- Local-first storage — layouts, chat logs and stream history live in JSON/JSONL files next to the app, written atomically with
.bakrotation. On Windows, OAuth tokens and the OBS WebSocket password are encrypted with DPAPI, so the config never holds them in plain text. macOS Keychain and Linux libsecret are the next thing on the list — right now those builds keep the values as they are, and the panel says so instead of pretending. - Full streaming suite — one server-side alert queue, a Nightbot-style bot with automoderation, automatic OBS scene generation over WebSocket, a Stream Deck plugin, an in-game HUD, and a Web Remote for phones and tablets on the same Wi-Fi.
Built with
- Rust & Tauri 2
- Axum & WebSocket
- Vanilla JavaScript, HTML5 Canvas, CSS 3D and Material Design 3 tokens
- WebRTC for guest cameras
Platform support
Windows, Linux and macOS (Apple Silicon).
License: GPL-3.0
GitHub: https://github.com/Halantar-git/open-stream-environment
Feedback and bug reports are welcome on GitHub. Thanks for checking out the project!




