Giter Site home page Giter Site logo

christkit / nas-xunlei Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0x676e67/thunder

0.0 0.0 0.0 3.21 MB

Linux的迅雷下载服务应用(支持openwrt/lede),移植自群晖迅雷套件

License: MIT License

Shell 5.20% Lua 3.06% Rust 78.34% Makefile 6.13% HTML 7.27%

nas-xunlei's Introduction

nas-xunlei

CI

nas-xunlei从迅雷群晖套件中提取,用于发行版Linux(支持OpenWrt)的迅雷远程下载程序。仅供测试,测试完请大家自觉删除。

  • 只支持X86_64/aarch64
  • 支持glibc/musl
  • 内侧邀请码(3H9F7Y6D)
❯ ./xunlei                   
Synology Nas Thunder runs on Linux

Usage: xunlei [OPTIONS] <COMMAND>

Commands:
  install    Install xunlei
  uninstall  Uninstall xunlei
  launch     Launch xunlei
  help       Print this message or the help of the given subcommand(s)

Options:
  -d, --debug    Enable debug
  -h, --help     Print help
  -V, --version  Print version

Ubuntu(Other Linux)

GitHub Releases 中有预编译的 deb包/rpm包,二进制文件,以Ubuntu为例:

wget https://github.com/gngpp/nas-xunlei/releases/download/v3.5.2/xunlei_3.5.2_amd64.deb

dpkg -i xunlei_3.5.2_amd64.deb

# 安装和运行迅雷程序
xunlei install
# 停止和卸载迅雷程序
xunlei uninstall
# 如果你的系统不支持systemd,则手动启动
xunlei launch

OpenWrt 路由器

GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64/x86_64 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

wget https://github.com/gngpp/nas-xunlei/releases/download/v3.5.2/xunlei_3.5.2-1_aarch64_generic.ipk
wget https://github.com/gngpp/nas-xunlei/releases/download/v3.5.2/luci-app-xunlei_1.0.1_all.ipk
wget https://github.com/gngpp/nas-xunlei/releases/download/v3.5.2/luci-i18n-xunlei-zh-cn_1.0.1-1_all.ipk

opkg install xunlei_3.5.2-1_aarch64_generic.ipk
opkg install luci-app-xunlei_1.0.1_all.ipk
opkg install luci-i18n-xunlei-zh-cn_1.0.1-1_all.ipk

自行编译

git clone https://github.com/gngpp/nas-xunlei && cd nas-xunlei

# 默认编译在线安装
cargo build --release && mv target/release/xunlei .

# 完整打包编译安装
bash +x ./unpack.sh && cargo build --release --features embed && mv target/release/xunlei .

# 执行安装
./xunlei install
# 若系统不支持systemctl,则手动启动daemon
./xunlei launch

OpenWrt编译

cd package
svn co https://github.com/gngpp/nas-xunlei/trunk/openwrt
cd -
make menuconfig # choose LUCI->Applications->Luci-app-xunlei  
make V=s

nas-xunlei's People

Contributors

0x676e67 avatar dependabot[bot] 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.