You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Self-hosted WebRTC video conferencing, written entirely in Rust.
Leptos (WASM) frontend · Axum backend · shared Serde types — one Cargo workspace.
Why Juncto
Juncto is an open-source video conferencing platform you can run yourself. The whole
stack — server, client and the wire types between them — is one Rust
workspace compiled to WebAssembly and a native binary. There is no JavaScript build
step, no separate SPA bundle to deploy, and no second language to keep in sync.
One language, one workspace. The client, the server and the shared message types
are Rust crates in the same repository.
No JS bundler. The Leptos client is compiled to wasm32-unknown-unknown and served
straight from frontend/pkg by the Axum server.
Type-safe protocol. Every WebSocket message is a serde enum in the shared
crate, so a client and server mismatch is a compile error, not a runtime surprise.
Self-contained deployment. A single binary plus a directory of static assets.
Features
Area
What you get
Conferencing
HD audio/video, WebRTC mesh, mute/camera controls, raise hand
Layout
Tile view, speaker view with spotlight, filmstrip thumbnails, picture-in-picture
Keyboard shortcuts, i18n (EN/ID), audio-level and connection-quality indicators
Integrations
Calendar list, Salesforce panel, iframe embed code, static dial-in info
Rooms
Moderator controls, breakout rooms, remote control, speaker stats, analytics, presence
Unsupported-browser detection and a rejoin overlay keep the experience predictable when a
network drops or WebRTC is unavailable.
Screenshots
Every view below is captured automatically from the running application by
tests/e2e/screenshot-gallery.spec.ts. See docs/DEVELOPMENT.md
for how the gallery and the contrast audit work.
Joining a meeting
Landing page
Pre-join
Waiting room
In the meeting
Meeting room
Participants
Chat
Notifications
Speaker stats
Whiteboard
A long room name
A narrow header, chat open
Breakout rooms
Reactions
Subtitles
Context menu
File sharing
Visitor mode
Settings
Profile
Devices
Integrations
Moderator
More
Branding
Virtual background
Collaboration and dialogs
Polls — create
Polls — active
Invite people
Share video
Embed meeting
Calendar
Shared document
Authentication
Feedback
Dial-in info
Salesforce
Remote control
Keyboard shortcuts
Reconnect overlay
Chat open (full view)
Mobile (420 × 860)
Landing page
Pre-join
In the meeting
Chat panel
Settings
Quick start
Prerequisites
A Rust toolchain (stable, 1.75+) with the WebAssembly target:
rustup target add wasm32-unknown-unknown
wasm-bindgen-cli at the version pinned in Cargo.lock
(cargo install wasm-bindgen-cli)
Node.js 18+ for the Playwright end-to-end suite
On Linux, pkg-config and OpenSSL development headers
(apt-get install pkg-config libssl-dev) so the host-side frontend build can link
Build and run
bash build.sh # compile the WASM client into frontend/pkg
cargo run -p backend # serve the app on http://localhost:3000
build.sh compiles the Leptos client for wasm32-unknown-unknown, runs
wasm-bindgen to emit JS/WASM bindings into frontend/pkg, and copies
frontend/index.html next to them. The Axum server serves that directory plus
backend/static. Open http://localhost:3000, type a room name, and join.
The Makefile wraps the same steps:
make build # same as bash build.sh
make test# cargo test --workspace
make test-e2e # build + npm ci + Playwright
make clean # cargo clean
Verify your change
Run everything from the repository root:
cargo fmt --all -- --check # formatting
cargo clippy --workspace -- -D warnings # lints, warnings are errors
cargo test --workspace # 130 unit testscd tests/e2e && npx playwright test# end-to-end parity + visual suite
The Playwright suite boots the real backend and captures screenshots to
tests/screenshots/, so a failing run also tells you whether the UI regressed visually.
The server listens on 0.0.0.0:3000; that address is currently compiled in, so change it
in backend/src/main.rs and rebuild if you need a different port.
Variable
Default
Purpose
ROOM_ADMIN_TOKEN
(unset)
Bearer token required by POST /api/rooms. The endpoint is disabled while unset, so an anonymous client cannot reset the room.
MOCK_AUTH_USER
admin
Username accepted by the demo authentication dialog
MOCK_AUTH_PASS
admin123
Password accepted by the demo authentication dialog
Static paths are resolved against CARGO_MANIFEST_DIR, so the binary serves the client
correctly no matter which directory you launch it from.
Security
Room-level protection is available today: room lock with an optional password, a lobby
that requires host approval before anyone enters, visitor mode, and an E2EE status
indicator with per-participant key-exchange signalling.
The room-reset endpoint (POST /api/rooms) mutates the single global room and clears all
live state, so it requires a bearer token set via ROOM_ADMIN_TOKEN; while that variable
is unset the endpoint is disabled. Chat history, whiteboard strokes and polls are capped
and inbound WebSocket messages are size-limited, so a single client cannot grow server
memory without bound.