hua0512

rust-srec

rust-srec is a Rust live-stream recorder that watches 14 platforms such as Bilibili, Douyu and Huya, records automatically when a stream starts while saving chat, and runs under Docker with a visual post-processing pipeline.

rust-srec-v0.8.0
Published at
29d ago
124
Stars
415
Download

Latest release

rust-srec-v0.8.0Nov 6, 2026, 02:37 PM
Downloads slow? Switch the source anytime above

README

Project Overview

rust-srec is roughly a Streamlink-style pull command wrapped in an around-the-clock watchlist, chat archiving and an automated post-processing pipeline — except that it runs the whole go-live, record, process chain by itself. The core is written in Rust, and it ships both as a desktop installer for Windows / macOS / Linux and as a Docker deployment for a home server or NAS managed from a browser. Two small command-line companions come along: strev looks up stream addresses, mesio downloads and repairs live streams directly.

Item Value
Language Rust
Form factor Desktop app + Docker web console
Built-in sites 14
Chat archiving Yes, with per-session statistics
License MIT / Apache-2.0 dual

Hand the "wait for the stream to start" job to the machine and only touch files afterwards.

Supported Platforms

Group Sites
China Bilibili, Douyin, Douyu, Huya, AcFun, Redbook, Weibo, PandaTV
Overseas Twitch, TikTok, SOOP, Bigo Live, Picarto, TwitCasting
Via Streamlink YouTube, Kick and the rest of the Streamlink list

Recording Capabilities

  • Records when the stream starts: add a channel once and it is polled around the clock, so a 3 a.m. start is still captured; recording hours can be limited to specific shows
  • Chat saved alongside: on supported platforms danmaku lands next to the video, and each session gets an activity curve, a top-chatter list and top words
  • Repaired while recording: stuttering, skipped frames and broken durations are fixed during capture, so the file seeks properly in any player
  • Chat over playback: recordings can be watched with the chat floating over the video
  • Status pushes: stream start, recording end and things needing attention all send a message, so you do not have to sit at the machine
  • Live progress in the list: the channel view shows download speed and written size for anything currently recording

Post-Processing and Alerts

  • Visual pipeline: the workflow editor builds transcoding, thumbnail extraction, upload and local cleanup out of nodes
  • Cloud uploads: built-in nodes for Google Drive, OneDrive and Baidu Netdisk
  • Job tracking: every processing job has its own progress page and leaves a reason behind on failure
  • Notification channels: Telegram, Gotify, email and webhooks

Quick Start

Desktop

  1. From Releases take .msi / .exe on Windows, .dmg on macOS, or .AppImage / .deb / .rpm on Linux
  2. Add the first streamer, paste the channel URL and leave the remaining fields at their defaults
  3. A download speed and file size on the channel card means recording is under way

Server or NAS

  1. On Linux / macOS run curl -fsSL https://docs.srec.rs/install.sh | bash; on Windows PowerShell run irm https://docs.srec.rs/install.ps1 | iex
  2. The script fetches what it needs, generates secrets and offers to start everything
  3. Open the web console in a browser and keep adding channels there

Command line

  1. Use strev to look up a live-stream address and its quality tiers
  2. Use mesio to download and repair a live stream without the full recorder

System Requirements

Item Requirement
OS Windows, macOS, Linux
Deployment Desktop installer, or a long-running Docker container
Access Desktop window or the browser web console
Optional external tool Streamlink, for sites outside the built-in list

Notes

  • Plan for disk space: uninterrupted recording keeps growing files, so check free space on the target volume first
  • Chat fields differ per platform: each site speaks its own protocol, so archived fields and statistics are not identical
  • Streamlink is a separate install: sites outside the built-in list need Streamlink present before they can be recorded
  • Mount Docker volumes: without mounting container paths outward, a reinstall takes the recordings and configuration with it

Release history

Sort