无需下载即可在线播放种子内的电影。支持磁力链/种子HASH/手动上传种子。
演示:
Github项目地址:https://github.com/Davenchy/live-torrent
安装
1.安装NodeJS
Debian/Ubuntu系统
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt install -y git nodejs
CentOS系统
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum install nodejs git -y
2、安装live-torrent
git clone https://github.com/Davenchy/live-torrent
cd live-torrent
安装依赖
npm i
打包运行
npm run build
nohup npm start&
装好后通过ip:3000访问Web客户端了。
最后如果你访问不了Web端,可能要检查下防火墙端口,有安全组的也要放行下相关端口。
端口放行:
firewall-cmd --zone=public --add-port=3000/tcp --permanent
firewall-cmd --reload
注意:目前它有个缺点,缺点就是播放的文件都下载到本地,不会自动清理磁盘空间很容易就爆炸。
手动清理:/tmp/webtorrent/
下的文件
版权声明:版权归 菜鸟 所有,转载请注明出处!
本文链接:http://vpsnoob.com/archives/48/
如果博客出现404或链接失效,请留言或者联系博主修复!
看片用P站不香吗
看种子方便些
测试