MCPcopy Index your code
hub / github.com/Borber/seam

github.com/Borber/seam @v_cli.0.1.39

Chat with this repo
repository ↗ · DeepWiki ↗ · release v_cli.0.1.39 ↗ · + Follow
188 symbols 344 edges 91 files 40 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img src="https://github.com/Borber/seam/raw/v_cli.0.1.39/assets/icon.png" style="width: 150px;" alt="Seam" />

Seam

Github Downloads LICENSE

SBtream 项目, 经历 python 不成熟的模仿, Java 重构烂尾, 目前使用 rust 进行重构开发

多平台直播源地址获取

待办

欢迎各位大佬 PR , 积极响应, 友善沟通, 快速 CR, 给您最好的开源体验

  • [ ] GUI 从获取模式切换为订阅模式
  • [ ] 添加日志模块, 以便于用户反馈问题
    • [ ] 输出日志文件
  • [ ] 链接识别
    • 规定每个平台都需要实现判断一个链接是否是自己的, 并返回正确的 rid
  • [ ] 提取 CLI GUI 公共模块
    • [ ] util
    • [ ] config
      • 即使 cli 和 gui 有部分不重叠的部分, 但应该还是重叠部分更多
  • [ ] I18N
  • [ ] GUI action 添加便携版本, 方便已经安装了 WebView2 的用户使用

GUI

GUI

详情

CLI

❯ .\seam.exe -l douyu -i 88080
http://url1

http://url2

详情

下载

Releases · seam 下载 GUI/CLI可执行文件

使用

平台 代号 <RID> 位置 详情 弹幕
B 站 bili https://live.bilibili.com/<RID>
斗鱼 douyu https://www.douyu.com/<RID>https://www.douyu.com/xx/xx?rid=<RID>
抖音 douyin https://live.douyin.com/<RID>
虎牙 huya https://huya.com/<RID>
快手 ks https://live.kuaishou.com/u/<RID>
CC cc https://cc.163.com/<RID>
花椒 huajiao https://www.huajiao.com/l/<RID>
艺气山 yqs https://www.173.com/<RID>
棉花糖 mht https://www.2cq.com/<RID>
kk kk https://www.kktv5.com/show/<RID>
千帆 qf https://qf.56.com/<RID>
Now now https://now.qq.com/pcweb/story.html?roomid=<RID>
映客 inke https://www.inke.cn/liveroom/index.html?uid=<RID>
afreeca afreeca https://bj.afreecatv.com/<RID>
panda panda https://www.pandalive.co.kr/channel/<RID>
flex flex https://www.flextv.co.kr/channels/<RID>
wink wink https://www.winktv.co.kr/channel/<RID>

配置

config.toml 放置在 seam 可执行文件所在目录下

# 播放器路径或命令
# 请自行安装播放器, 请确认它可以通过命令行+链接打开视频文件
[play]
# potplayer 样例
# bin = "C:\\Program Files (x86)\\Pure Codec\\x64\\PotPlayerMini64.exe"
bin = "mpv"
# 播放器参数
args = []

# headers 支持所有合法 http 请求头字段
# global 为全局请求头, 会被各平台请求头覆盖
# 请注意 不要覆盖虎牙的 user-agent, 否则会导致获取失败
[headers.global]
# user-agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.200"

# 抖音 cookie 必须
[headers.douyin]
cookie = "xxxx"

# 快手 cookie 必须
[headers.ks]
cookie = "xxxx"

# 斗鱼设置登录账户 cookie 情况下可以获取到备用线路高清源
[headers.douyu]
cookie = "xxxx"

# [rid]: 房间号
# [title]: 标题
# [time]: 时间戳
# [date]: 日期
[file_name]
# 录制文件标题
video = "[rid]-[title]-[date]-[time]"
# danmu文件标题
danmu = "[rid]-[title]-[date]-[time]"


cookie 获取方法: 额外说明

路线

seam

相关项目

贡献者

GitHub Contributors

感谢

Star History

<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Borber/seam&type=Date" />

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 85
Class 41
Method 40
Interface 16
Enum 6

Languages

Rust78%
TypeScript22%

Modules by API surface

crates/danmu/src/lib.rs18 symbols
crates/gui/src/icon/icon.tsx9 symbols
crates/core/src/live/mod.rs8 symbols
crates/gui/src-tauri/src/config.rs6 symbols
crates/core/src/live/twitch.rs6 symbols
crates/cli/src/config.rs6 symbols
crates/gui/src/pages/Chart.tsx5 symbols
crates/gui/src/components/Control.tsx5 symbols
crates/danmu/src/danmu/bili.rs5 symbols
crates/core/src/util.rs5 symbols
crates/core/src/live/huya.rs5 symbols
crates/gui/src-tauri/src/resp.rs4 symbols

For agents

$ claude mcp add seam \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page