BitPlay:Torrent流媒体网络应用程序

• 5 分钟阅读 • web

BitPlay 是使用 Go 构建的 Web 应用程序,可直接从浏览器中的种子流式传输视频内容。具有干净的 Web UI,支持 SOCKS5 代理,并与 Prowlarr 和 Jackett 集成以实现无缝的 torrent 搜索。

项目地址:aculix/bitplay

docker-compose.yml

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

测试

播放过程(docker logs):

[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*****************************************

文章标签: web

上一篇 : 纯前端显示天气
下一篇 : hexo landscape主题添加公告板
留言
阅读进度 0%