BitPlay 是使用 Go 构建的 Web 应用程序,可直接从浏览器中的种子流式传输视频内容。具有干净的 Web UI,支持 SOCKS5 代理,并与 Prowlarr 和 Jackett 集成以实现无缝的 torrent 搜索。
项目地址:aculix/bitplay
docker-compose.yml 1 2 3 4 5 6 7 8 9 10 services: bitplay: image: ghcr.io/aculix/bitplay:main container_name: bitplay ports: - 3347:3347 # Expose the web UI port volumes: # Mount the config directory for persistent settings (Optional) - /data/bitplay:/app/config restart: unless-stopped
mkdir /data/bitplay
用作保存设置。docker-compose up -d
测试
用自带的14分的磁力连接,很快就缓存好了可以播放。
添加了一个2.6G的磁力连接,几分钟也没有开始播放。
添加一个600M的电视剧磁力连接,缓冲了一会开始播放了,刚开始还有点卡,后面就正常播放。 可能是因为晚上网络比较拥堵。
播放过程(docker logs):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [2025-04-27 08:04:17 +0000 WRN github.com/anacrolix/torrent/storage piece-completion.go:28] couldn't open piece completion db in "./torrent-data": timeout 2025/04/27 08:04:17 Creating torrent client without proxy... 2025/04/27 08:04:17 Torrent added: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Successfully got torrent info for 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Creating new session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Successfully stored session: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Torrent handler called with path: /api/v1/torrent/333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Path parts: [ api v1 torrent 333d8d78aa9c1d6b44eb3b377157bba8032fd67d] (length: 5) 2025/04/27 08:04:19 Looking for session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Available sessions: [333d8d78aa9c1d6b44eb3b377157bba8032fd67d] 2025/04/27 08:04:19 Found session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Torrent handler called with path: /api/v1/torrent/333d8d78aa9c1d6b44eb3b377157bba8032fd67d/stream/0 2025/04/27 08:04:19 Path parts: [ api v1 torrent 333d8d78aa9c1d6b44eb3b377157bba8032fd67d stream 0] (length: 7) 2025/04/27 08:04:19 Looking for session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Available sessions: [333d8d78aa9c1d6b44eb3b377157bba8032fd67d] 2025/04/27 08:04:19 Found session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:19 Streaming file: s秘b士.S02E03.2025.HD1080p.mp4 (type: .mp4) Serving content***************************************** Closed reader*************************************** 2025/04/27 08:04:22 Torrent handler called with path: /api/v1/torrent/333d8d78aa9c1d6b44eb3b377157bba8032fd67d/stream/0 2025/04/27 08:04:22 Path parts: [ api v1 torrent 333d8d78aa9c1d6b44eb3b377157bba8032fd67d stream 0] (length: 7) 2025/04/27 08:04:22 Looking for session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:22 Available sessions: [333d8d78aa9c1d6b44eb3b377157bba8032fd67d] 2025/04/27 08:04:22 Found session with ID: 333d8d78aa9c1d6b44eb3b377157bba8032fd67d 2025/04/27 08:04:22 Streaming file: s秘b士.S02E03.2025.HD1080p.mp4 (type: .mp4) Serving content*****************************************