MCPcopy
hub / github.com/chen-zeong/DTV

github.com/chen-zeong/DTV @v3.0.3 sqlite

repository ↗ · DeepWiki ↗ · release v3.0.3 ↗
825 symbols 1,597 edges 80 files 0 documented · 0%
README

DTV

DTV

基于 Tauri 2.0 的跨平台斗鱼、虎牙、抖音、bilibili直播桌面客户端

Download DTV from Microsoft Store

说明

支持本项目?可以前往底部 打赏
安卓版本:dtv_mobile

  1. 本项目基于 Tauri 2.0 开发,体积小,占用率低,实测可以在双核、4GB内存的电脑上流畅运行
  2. 平台接口可能有访问频率限制,过于频繁的请求会触发验证码校验,建议合理使用搜索功能
  3. 本项目仅供学习编程目的使用,未进行任何逆向工程
  4. 本项目所有的直播版权都归属各个平台

支持平台

平台 直播流 弹幕 搜索
斗鱼
虎牙
bilibili
抖音 仅房间号

功能

  • 📺 平台支持:支持斗鱼、虎牙、bilibili、抖音直播
  • 💬 弹幕显示:实时显示直播间弹幕,只显示聊天弹幕,不显示礼物等其他类型弹幕
  • ⭐ 主播收藏:支持收藏喜欢的主播,支持收藏列表手动拖拽排序
  • 🔁 数据同步:支持局域网一键同步或者json文件手动同步,可以与桌面端或者移动端同步数据
  • 📋 支持平台:Mac(Intel+Arm),Windows(Win7需要自行安装Webview2),Linux(包括Ubuntu和各类发行版)
  • 🌓 主题切换:支持明暗主题切换

软件截图

日间模式

win-日间模式

夜间模式

mac-夜间模式

日间模式 - 播放器页面

日间模式播放器页面

安装方式

可以在 release 目录下载对应系统的安装包, 也可以通过源码编译安装

编译

安装protobuf

# 克隆项目
git clone https://github.com/c-zeong/dtv.git
cd dtv

# 安装依赖
pnpm install

# 开发调试
pnpm tauri dev

# 打包构建
pnpm tauri build      # 构建当前系统的安装包

# 打包 ARM64 版本(Intel Mac 上交叉编译)
pnpm tauri build --target aarch64-apple-darwin

参考

  • 斗鱼直播流获取参考了 @wbt5/real-url
  • 抖音弹幕参考了@saermart/DouyinLiveWebFetcher
  • 虎牙参考了https://github.com/liuchuancong/pure_live https://github.com/ihmily/DouyinLiveRecorder
  • b站弹幕参考了https://github.com/xfgryujk/blivedm

打赏

软件完全免费,如果这个项目对你有帮助,欢迎打赏支持:

微信赞赏码

Extension points exported contracts — how you extend this code

LineOption (Interface)
(no doc)
web/src/components/player/playerControlsPlugins.ts
RustGetStreamUrlPayload (Interface)
(no doc)
web/src/components/player/types.ts
DanmakuMessage (Interface)
(no doc)
web/src/components/player/types.ts
DanmuOverlayInstance (Interface)
(no doc)
web/src/components/player/types.ts
DanmuRenderOptions (Interface)
(no doc)
web/src/components/player/types.ts

Core symbols most depended-on inside this repo

w_0x5c3140
called by 29
src-tauri/src/platforms/douyin/danmu/sign.js
normalizeStreamerKey
called by 15
web/src/state/follow/FollowProvider.tsx
normalizeListOrder
called by 14
web/src/state/follow/FollowProvider.tsx
sanitizeDanmuArea
called by 13
web/src/components/player/constants.ts
safeString
called by 13
web/src/services/search.ts
sanitizeDanmuOpacity
called by 12
web/src/components/player/constants.ts
toggle
called by 10
web/src/components/player/danmuPlugins.ts
createLucideIconSvg
called by 10
web/src/components/player/constants.ts

Shape

Function 682
Method 72
Interface 54
Class 16
Enum 1

Languages

TypeScript100%

Modules by API surface

src-tauri/src/platforms/douyin/danmu/sign.js427 symbols
web/src/components/player/playerControlsPlugins.ts48 symbols
web/src/components/player/danmuPlugins.ts39 symbols
src-tauri/src/platforms/douyu/cryptojs.min.js22 symbols
web/src/services/lanSync.ts19 symbols
web/src/components/follows/FollowsList.tsx18 symbols
web/src/components/player/MainPlayer.tsx15 symbols
web/src/components/player/constants.ts14 symbols
web/src/platforms/common/types.ts13 symbols
web/src/services/configTransfer.ts10 symbols
web/src/components/shell/LanSyncModal.tsx10 symbols
web/src/components/player/danmuOverlay.ts10 symbols

Dependencies from manifests, versioned

@heroui/react3.0.2 · 1×
@tauri-apps/api2.7.0 · 1×
@tauri-apps/cli2.7.0 · 1×
@tauri-apps/plugin-opener2.4.0 · 1×
@tauri-apps/plugin-os2.3.0 · 1×
@tauri-apps/plugin-updater2.3.0 · 1×
@types/node22.17.0 · 1×
@types/react19.1.13 · 1×
@types/react-dom19.1.9 · 1×
@types/uuid10.0.0 · 1×
danmu.js1.1.13-douyin-1.5 · 1×

For agents

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

⬇ download graph artifact