{"id":21832419,"url":"https://github.com/0x676e67/thunder","last_synced_at":"2025-04-12T23:33:09.942Z","repository":{"id":271895016,"uuid":"627753927","full_name":"0x676e67/thunder","owner":"0x676e67","description":"Synology NAS thunder run on Linux","archived":false,"fork":false,"pushed_at":"2024-06-30T23:26:51.000Z","size":7420,"stargazers_count":707,"open_issues_count":18,"forks_count":68,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-04T02:09:43.487Z","etag":null,"topics":["alpine","docker","glibc","lede","libc","linux","musl","nas","openwrt","rust","spk","syno","synology","xunlei"],"latest_commit_sha":null,"homepage":"https://nas.xunlei.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x676e67.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://github.com/gngpp/gngpp/blob/main/SPONSOR.md#sponsor-my-open-source-works"]}},"created_at":"2023-04-14T06:07:21.000Z","updated_at":"2025-03-31T12:54:07.000Z","dependencies_parsed_at":"2025-01-17T17:12:40.835Z","dependency_job_id":null,"html_url":"https://github.com/0x676e67/thunder","commit_stats":null,"previous_names":["0x676e67/thunder"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fthunder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fthunder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fthunder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fthunder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x676e67","download_url":"https://codeload.github.com/0x676e67/thunder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647258,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","docker","glibc","lede","libc","linux","musl","nas","openwrt","rust","spk","syno","synology","xunlei"],"created_at":"2024-11-27T19:19:32.819Z","updated_at":"2025-04-12T23:33:09.922Z","avatar_url":"https://github.com/0x676e67.png","language":"Rust","readme":"# thunder\n[![CI](https://github.com/gngpp/thunder/actions/workflows/CI.yml/badge.svg)](https://github.com/gngpp/thunder/actions/workflows/CI.yml)\n\u003ca href=\"/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/gngpp/thunder?style=flat\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/gngpp/thunder/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/gngpp/thunder.svg?style=flat\"\u003e\n  \u003c/a\u003e\u003ca href=\"hhttps://github.com/gngpp/thunder/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/downloads/gngpp/xunlei/total?style=flat\u0026?\"\u003e\n  \u003c/a\u003e\n  [![Docker Image](https://img.shields.io/docker/pulls/gngpp/xunlei.svg)](https://hub.docker.com/r/gngpp/xunlei/)\n\nthunder从迅雷群晖套件中提取，用于发行版Linux（支持OpenWrt/Alpine/Docker）的迅雷远程下载服务。仅供测试，测试完请自觉删除。\n\n- 支持X86_64/aarch64\n- 支持glibc/musl\n- 支持更改下载目录\n- 支持面板认证\n- 支持以特定用户安装(UID/GID)\n- Docker镜像最小压缩（40MB左右）\n- 支持插件：NAS小星（pcdn），测速插件\n- 内侧邀请码（3H9F7Y6D/迅雷牛通），内侧码申请快速通道：https://t.cn/A6fhraWZ\n\n\u003e 默认Web访问端口5055\n\n```shell\n❯ ./thunder                   \nSynology NAS thunder run on Linux\n\nUsage: thunder\n       thunder \u003cCOMMAND\u003e\n\nCommands:\n  install    Install thunder\n  uninstall  Uninstall thunder\n  run        Run thunder\n  start      Start thunder daemon\n  stop       Stop thunder daemon\n  log        Show the Http server daemon log\n  ps         Show the Http server daemon process\n  help       Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n### Arch Linux\n\nArch Linux 及其衍生版可以通过 [AUR](https://aur.archlinux.org/packages/thunder-nas-bin) 或[自建源](https://github.com/taotieren/aur-repo)安装 `thunder-nas`\n\n```bash\nyay -Syu thunder-nas\n```\n\n### Ubuntu(Other Linux)\n\nGitHub [Releases](https://github.com/gngpp/thunder/releases) 中有预编译的 deb包，二进制文件，以Ubuntu为例：\n\n```shell\nwget https://github.com/gngpp/thunder/releases/download/v1.0.3/thunder_1.0.3_amd64.deb\n\ndpkg -i thunder_1.0.3_amd64.deb\n\n# 安装迅雷，默认在线下载安装，如果需要设置更多参数请带上`-h`，查看说明\nthunder install\n\n# 安装迅雷以指定spk包安装，如果需要设置更多参数请带上`-h`，查看说明\nthunder install /root/nasxunlei-DSM7-x86_64.spk\n\n# 卸载迅雷\nthunder uninstall\n\n# 前台运行迅雷，如果需要设置更多参数请带上`-h`，查看说明\nthunder run \n\n# 后台运行迅雷，如果需要设置更多参数请带上`-h`，查看说明\nthunder start\n\n# 停止运行迅雷\nthunder stop\n\n# 查看运行状态\nthunder ps\n\n# 查看运行日志\nthunder log\n```\n\n### 自行编译\n\n```shell\ngit clone https://github.com/gngpp/thunder \u0026\u0026 cd thunder\n\ncargo build --release \u0026\u0026 mv target/release/thunder .\n```\n\n\n### FQA\n - 当前大重构，`OpenWrt` / `Docker` 后续再完善支持\n - musl运行库的操作系统，若已存在glibc运行库，那么会优先兼容选择使用操作系统运行库环境（避免对系统其他软件依赖冲突，可能会缺依赖，自行补全）\n - 指定运行LD加载库或压缩目前无法做到（二进制带签名），需要逆向打patch\n - 插件依赖bash，系统需要安装bash\n","funding_links":["https://github.com/gngpp/gngpp/blob/main/SPONSOR.md#sponsor-my-open-source-works"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x676e67%2Fthunder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x676e67%2Fthunder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x676e67%2Fthunder/lists"}