module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Apr 1, 2022
License: GPL-3.0
Opens a new window with license information.
README
¶
lifesaver
Save Lives!!
Lives are delicate and fleeting creatures, waiting to be captured by us. ❤
全自动录播、投稿工具
支持抖音直播、虎牙直播、B站直播、油管直播
支持B站投稿
Usage
- 安装 FFmpeg
- 安装 streamlink(若不录制 YouTube 直播无需安装)
- 安装 biliup-rs(若不上传至哔哩哔哩无需安装)
- 安装 lifesaver
- 可直接在 releases 中下载相应平台的执行文件
- 或者本地构建
go install github.com/luxcgo/lifesaver/cmd/lifesaver@latest
- 命令行中运行
- 直接下载可执行文件
/path/to/lifesaver -c /path/to/config.toml
- 本地构建
lifesaver -c /path/to/config.toml
Config.toml
template file to reference config.toml
[UploadConfig]
# 是否上传到 bilibili
Enable = false
# biliup-rs 可执行文件的路径
ExecPath = "biliup"
# biliup-rs 配置文件路径,为空的话走默认配置
Filepath = ""
[PlatformConfig]
# 若有录制抖音直播,可在无痕模式非登录状态下找下面的 cookie 填入即可
DouyinCookie = "__ac_nonce=06245c89100e7ab2dd536; __ac_signature=_02B4Z6wo00f01LjBMSAAAIDBwA.aJ.c4z1C44TWAAEx696;"
[[Shows]]
# 平台名,目前支持:
# "bilibili"
# "douyin"
# "huya"
# "youtube"
Platform = "bilibili"
# 房间号,支持字符串类型的房间号
RoomID = "21852"
# 主播名称
StreamerName = "老番茄"
RoadMap
- 支持 go 原生对视频流的抓取
- 支持 go 原生对 bilibili 的投稿
- 增加 docker image
- 增加 mock test
- 增加 YouTube 投稿
- 增加对更多直播平台的支持
- 增加对程序运行状况的监控
- 增加网页端
Credits
Directories
¶
|
|
cmd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.