Synology NAS thunder run on Linux
thunder从迅雷群晖套件中提取,用于发行版Linux(支持OpenWrt/Alpine/Docker)的迅雷远程下载服务。仅供测试,测试完请自觉删除。
默认Web访问端口5055
❯ ./thunder
Synology NAS thunder run on Linux
Usage: thunder
thunder <COMMAND>
Commands:
install Install thunder
uninstall Uninstall thunder
run Run thunder
start Start thunder daemon
stop Stop thunder daemon
log Show the Http server daemon log
ps Show the Http server daemon process
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
GitHub Releases 中有预编译的 deb包,二进制文件,以Ubuntu为例:
wget https://github.com/gngpp/thunder/releases/download/v1.0.3/thunder_1.0.3_amd64.deb
dpkg -i thunder_1.0.3_amd64.deb
# 安装迅雷,默认在线下载安装,如果需要设置更多参数请带上`-h`,查看说明
thunder install
# 安装迅雷以指定spk包安装,如果需要设置更多参数请带上`-h`,查看说明
thunder install /root/nasxunlei-DSM7-x86_64.spk
# 卸载迅雷
thunder uninstall
# 前台运行迅雷,如果需要设置更多参数请带上`-h`,查看说明
thunder run
# 后台运行迅雷,如果需要设置更多参数请带上`-h`,查看说明
thunder start
# 停止运行迅雷
thunder stop
# 查看运行状态
thunder ps
# 查看运行日志
thunder log
git clone https://github.com/gngpp/thunder && cd thunder
cargo build --release && mv target/release/thunder .
OpenWrt
/ Docker
后续再完善支持