Rat's

live-torrent:一个支持磁力链和种子的在线搜索云播Web客户端
说明:live-torrent是一个功能强大的BT Web客户端工具,支持BT搜索和云播,我们可以直接使用程序内置...
扫描右侧二维码阅读全文
09
2020/04

live-torrent:一个支持磁力链和种子的在线搜索云播Web客户端

说明:live-torrent是一个功能强大的BT Web客户端工具,支持BT搜索和云播,我们可以直接使用程序内置的引擎搜索查找资源,也可以自行上传种子文件或磁力链接添加任务,程序支持自动识别种子内视频文件,点击播放按钮可以直接在线播放,该程序支持对接OpenSubtitles,自动给视频添加字幕。同时也提供一个热门电影排行榜,并提供对应资源给你播放和下载。不过唯一有点小遗憾的就是,不支持在线搜索中文资源,所以中文资源只能自己上传种子文件进行识别播放下载。

截图

请输入图片描述
请输入图片描述
请输入图片描述
请输入图片描述

手动安装

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客户端了。

Docker安装

1、安装Docker

#CentOS 6
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
service docker start
chkconfig docker on

#CentOS 7、Debian、Ubuntu
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker

2、安装live-torrent

docker run --restart=always --name live-torrent -d -p 8080:8080 davenchy/live-torrent

然后就通过ip:8080访问Web客户端了。

最后如果你访问不了Web端,可能要检查下防火墙端口,有安全组的也要放行下相关端口。

这里提供个CentOS系统防火墙开启命令,比如开放3000端口,大致如下:

#CentOS 6
iptables -I INPUT -p tcp --dport 3000 -j ACCEPT
service iptables save
service iptables restart

#CentOS 7
firewall-cmd --zone=public --add-port=3000/tcp --permanent
firewall-cmd --reload
Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。
最后修改:2020 年 04 月 09 日 09 : 57 PM

发表评论 取消回复

75 条评论

  1. Ax

    docker安装这个怎么配置https?

    1. Rat's
      @Ax

      安装nginx,添加一个域名,反向代理访问地址就行,比如127.0.0.1:3000

  2. 一二五

    宝塔pm2怎么部署

    1. Rat's
      @一二五

      直接跳过nodejs安装就行,其他一样

  3. 蓝君

    输入npm start时出现这个

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! live-torrent@3.2.2 start: NODE_ENV=production node server.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the live-torrent@3.2.2 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional log
    ging output above.

    1. Rat's
      @蓝君

      上面几步没报错么?没报错的话,试试运行开发者看日志

  4. 柯西君_BingWong

    能否直接外挂/tmp/webtorrent/这个目录?

  5. 六毛

    大佬怎么改端口?

    1. Rat's
      @六毛

      手动安装的话,需要在源码根目录新建一个文件,比如我要用8000端口:
      echo "PORT=8000" > .env
      然后启动,docker直接修改前面的端口号就行

  6. 星河

    请教大佬,到了那个页面全是英文看不懂i,怎么安装那你说的那些东西呀?

    1. Rat's
      @星河

      英文直接用谷歌浏览器,在线翻译

  7. zhs

    这个可不可以想aria2一样,下载完成执行某些任务,写个脚本,1天后自动删除下载文件

    1. Rat's
      @zhs

      好像不能,没怎么深入研究

      1. shuizhinong
        @Rat's

        大佬,可以下载到指定的盘吗?

        1. Rat's
          @shuizhinong

          应该可以,装到那个盘就行了

  8. Fire

    输入磁力以后一直转圈圈 然后就显示网络错误了。这是什么原因啊

    1. Rat's
      @Fire

      这个不太清楚,没遇到过,得看日志

  9. 梦之家

    表示我台式机只有120G的固态不够用

  10. 怪友

    博主,播放的文件都下载到本地的哪个路径呢?

    1. 怪友
      @怪友

      找到路径了:/tmp/webtorrent/