harlanc/xiu
A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀 observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 71
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2208
- days_rel: n/a
- days_push: 179
- n_releases_24m: 0
Adoption not part of the score
2319 stars · 239 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Xiu is a high-performance live streaming media server written in pure Rust, supporting RTMP (with clustering), RTSP, WebRTC (WHIP/WHEP), HTTP-FLV, and HLS protocols out of the box. Built on Tokio for async concurrency, it offers protocol conversion, token authentication, HTTP APIs/callbacks, and HLS recording.
Use cases
- self-host a live streaming server
- convert RTMP streams to HLS or HTTP-FLV
- ingest WebRTC streams via WHIP and play them via WHEP
- run a clustered RTMP media server
- record live streams to HLS (m3u8 + ts) files
- serve low-latency WebRTC live video
- publish H.264/H.265/AAC streams over RTSP
When to choose
- you need a lightweight, memory-safe alternative to nginx-rtmp or SRS
- you want multi-protocol support (RTMP/RTSP/WebRTC/HLS/HTTP-FLV) in a single binary
- you prefer Rust for performance and security
- you need protocol conversion between ingest and playback formats
- you want simple CLI or config-file deployment with Docker support
When to avoid
- you need VOD or transcoding features rather than live relay
- you require extensive plugin ecosystems or GUI management consoles
- you need battle-tested enterprise support at massive scale
- you depend on protocols like SRT or RTMP with advanced features not yet supported
Facets
service · maturity active
http-server streaming websocket auth middleware media self-hosted backend windows rust cli self-hosted rtmp rtsp webrtc whip whep http-flv hls live-streaming media-server tokio h264 aac gop-cache cluster video audio linux macos docker
5 sources
- readme: https://github.com/harlanc/xiu · fetched 2026-08-28 · e4613922021a
- homepage: https://rustxiu.com · fetched 2026-08-29 · 11729c6c6e72
- site_page: https://www.rustxiu.com/docs · fetched 2026-08-29 · 42761d996a36
- site_page: https://www.rustxiu.com/docs/getting-started/quickstart · fetched 2026-08-29 · 21d8236416b8
- registry_crates: https://crates.io/api/v1/crates/xiu · fetched 2026-08-29 · 8d0c3ed85f7c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| harlanc/xiu | main | 55 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem