https://github.com/stream-rec/stream-rec
Automatic streaming record tool. Live stream and bullet comments recorder. 虎牙/抖音/斗鱼/Twitch/PandaTV直播,弹幕自动录制
https://github.com/stream-rec/stream-rec
douyin douyu downloader huya streaming-recorder twitch
Last synced: 1 day ago
JSON representation
Automatic streaming record tool. Live stream and bullet comments recorder. 虎牙/抖音/斗鱼/Twitch/PandaTV直播,弹幕自动录制
- Host: GitHub
- URL: https://github.com/stream-rec/stream-rec
- Owner: stream-rec
- License: mit
- Created: 2024-02-11T21:33:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T10:22:42.000Z (11 months ago)
- Last Synced: 2024-10-29T11:01:25.965Z (11 months ago)
- Topics: douyin, douyu, downloader, huya, streaming-recorder, twitch
- Language: Kotlin
- Homepage:
- Size: 3.9 MB
- Stars: 541
- Watchers: 6
- Forks: 47
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - stream-rec/stream-rec - recorder,twitch pushed_at:2025-09 star:1.1k fork:0.1k Automatic streaming record tool. Live stream and bullet comments recorder. 虎牙/抖音/斗鱼/Twitch/PandaTV/微博直播,弹幕自动录制 (Kotlin)
- awesome-hacking-lists - stream-rec/stream-rec - Automatic streaming record tool. Live stream and bullet comments recorder. 虎牙/抖音/斗鱼/Twitch/PandaTV/微博直播,弹幕自动录制 (Kotlin)
README
English | 简体中文Stream-rec is an automatic stream recording tool for various streaming services.
It's powered by Kotlin, [Ktor](https://ktor.io/), and [ffmpeg](https://ffmpeg.org/).
# Features
- Automatic stream recording, with configurable quality and format.
- Automatic file naming based on the stream title and start time.
- Automatic Danmu(Bullet comments) recording
- Persistent storage of stream and upload information (using SQLite)
- Integration with [Rclone](https://rclone.org/) for uploading to cloud storage
- Configurable via web interface.
- Docker support
- FLV AVC fix support# Supported streaming services
| Service | Recording | Danmu | Url format |
|:---------:|:---------:|:-----:|:--------------------------------------------------------------------------:|
| Douyin | ✅ | ✅ | `https://live.douyin.com/{douyinId}` |
| Douyu | ✅ | ✅ | `https://www.douyu.com/{room}` |
| Huya | ✅ | ✅ | `https://www.huya.com/{room}` |
| PandaTV | ✅ | ✅ | `https://www.pandalive.co.kr/play/{room}` |
| Twitch | ✅ | ✅ | `https://www.twitch.tv/{room}` |
| Weibo | ✅ | ❌ | `https://weibo.com/u/{uid}` or `https://weibo.com/l/wblive/p/show/{room}` |
| AfreecaTv | ❌ | ❌ | |
| Bilibili | ❌ | ❌ | |
| Niconico | ❌ | ❌ | |
| Youtube | ❌ | ❌ | |- More services will be supported in the future (if I have time, PRs are welcomed).
# Screenshots


# Documentation
Please refer to the [documentation](https://stream-rec.github.io/docs/) for more information.
# Contributing
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please feel free to open an issue or a
pull request.# License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
# Credits
- [Ktor](https://ktor.io/)
- [Kotlin](https://kotlinlang.org/)
- [FFmpeg](https://ffmpeg.org/)
- [Sqlite](https://www.sqlite.org/index.html)
- [Rclone](https://rclone.org/)
- [Streamlink](https://streamlink.github.io/)
- [ykdl](https://github.com/SeaHOH/ykdl)## Star History