Git Product home page Git Product logo

thunder's Introduction

thunder

CI Docker Image

thunder从迅雷群晖套件中提取,用于发行版Linux(支持OpenWrt/Alpine/Docker)的迅雷远程下载服务。仅供测试,测试完请自觉删除。

  • 支持X86_64/aarch64
  • 支持glibc/musl
  • 支持更改下载目录
  • 支持面板认证
  • 支持以特定用户安装(UID/GID)
  • Docker镜像最小压缩(40MB左右)
  • 支持插件:NAS小星(pcdn),测速插件
  • 内侧邀请码(3H9F7Y6D/迅雷牛通),内侧码申请快速通道:https://t.cn/A6fhraWZ

默认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

Arch Linux

Arch Linux 及其衍生版可以通过 AUR自建源安装 thunder-nas

yay -Syu thunder-nas

Ubuntu(Other Linux)

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 .

FQA

  • 当前大重构,OpenWrt / Docker 后续再完善支持
  • musl运行库的操作系统,若已存在glibc运行库,那么会优先兼容选择使用操作系统运行库环境(避免对系统其他软件依赖冲突,可能会缺依赖,自行补全)
  • 指定运行LD加载库或压缩目前无法做到(二进制带签名),需要逆向打patch
  • 插件依赖bash,系统需要安装bash

thunder's People

Contributors

dependabot[bot] avatar leiless avatar taotieren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.