21小时前
|
|
|
Webtor.io 是一个基于 Webtorrent 协议的在线 BT 磁力资源下载和在线播放服务。虽然 Webtor.io 将网站服务使用的众多工具在 Github 开源:https://github.com/webtor-io,但要基于这些开源工具,需要二次开发才能搭建出类似的服务。
最近 Webtor.io 终于在 Github 开源了其完整的代码,并提供了 Docker 包,可以方便喜欢折腾的爱好者搭建出自托管版本的 Webtor.io。
Github:https://github.com/webtor-io/self-hosted
演示:https://webtor.io
## 主要功能:
- 直接下载链接(DDL):选择 Torrent 种子文件内部的任何文件,然后直接下载
- 即时视频和音频流:在 Torrent 中选择视频或音频文件,然后立即开始流式传输,而无需先下载
- 支持格式:
- 视频: avi , mkv , mp4 , webm , m4v , ts , vob
- 音频: mp3 , wav , ogg , flac , m4a
- 下载 Torrent 文件为 zip 压缩包格式:在保留原始目录结构的同时,在不需要 BT 客户端的情况下下载 Torrent 对应的资源为 zip 压缩包。
- 开发人员友好:提供 JS SDK,可以在网站上提供在线观看 Torrent 视频
由于 Webtor 是基于 Webtorrent 协议,虽然 Webtorrent 协议兼容 Bittorrent 协议,在 Web 上提供了在线播放 Torrent 资源的能力。但 Webtor 并不能直接从 Bittorrent 网络的获取 Peer 的资源,需要依赖单独提供 Webtorrent 协议的 Peer 才能播放,而直接提供 Webtorrent 的 Peer 比较少。
也就是说:Webtor 不能直接用 Bittorrent 网络的种子资源,需要单独的 Webtorrent 种子资源。
要用 Webtorrent 做种,可以有两种方式:
- Webtorrent客户端:https://webtorrent.io/desktop/
- Instant.io:https://instant.io/
![Webtor.io](https://cdn.wangtwothree.com/imgur/8E5XIFl.jpeg)