{"id":20555865,"url":"https://github.com/mintimate/autoinstallaria2","last_synced_at":"2025-04-14T12:52:42.526Z","repository":{"id":108490854,"uuid":"316502265","full_name":"Mintimate/AutoInstallAria2","owner":"Mintimate","description":"🚀 One-click aria2 deployment on Linux, with systemctl native management or Docker support.","archived":false,"fork":false,"pushed_at":"2025-04-04T06:09:05.000Z","size":14705,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T07:22:16.282Z","etag":null,"topics":["aria2","aria2c","docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mintimate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-11-27T12:59:29.000Z","updated_at":"2025-04-04T06:12:37.000Z","dependencies_parsed_at":"2023-05-17T11:15:52.478Z","dependency_job_id":null,"html_url":"https://github.com/Mintimate/AutoInstallAria2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintimate%2FAutoInstallAria2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintimate%2FAutoInstallAria2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintimate%2FAutoInstallAria2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintimate%2FAutoInstallAria2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mintimate","download_url":"https://codeload.github.com/Mintimate/AutoInstallAria2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248885336,"owners_count":21177623,"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":["aria2","aria2c","docker"],"created_at":"2024-11-16T03:21:30.554Z","updated_at":"2025-04-14T12:52:42.518Z","avatar_url":"https://github.com/Mintimate.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoInstallAria2\nAuto Install Aria2 To Linux。\n自动配置安装 Aria2 到 Linux 服务器或者 Linux 发行版里。\n\n## 一键配置安装\n```bash\nbash -c \"$(wget -qO- https://cnb.cool/Mintimate/tool-forge/AutoInstallAria2/-/git/raw/main/AutoInstallAria2ForLinux.sh)\"\n```\n\n![安装中](assets/startShell.webp)\n\n![安装成功](assets/finishedShell.webp)\n\n### 配置文件\n\n一键安装后，默认在`$HOME/aria2Auto`下生成配置文件`aria2.conf`等文件:\n```bash\nmintimate at StarServer in ~/aria2Auto\n$ tree\n.\n├── aria2c\n├── aria2.conf\n└── deleteAria2.conf\n```\n\n使用`systemctl`管理 Aria2 服务:\n\n![aria2服务启动](assets/systemctlStatus.webp)\n\n当前版本使用的是 [aria2c 1.37.0_Turbo 版本](https://cnb.cool/flyinbug/aria2-static-build)。是一个修改版本，突破最大线程数限制。**你可以修改`aria2.conf`文件里的`max-concurrent-downloads`参数，来修改最大线程数**。\n\n\u003e 也就是，官方编译的版本，最大线程数是 16，而这个版本，最大线程数是可以突破。\n\n## Docker 部署\n\n当前支持 ARM64 和 AMD64 架构的 Docker 包:\n```bash\ndocker run -d --name aria2 -p 6800:6800 -v ~/Downloads:/app/Downloads docker.cnb.cool/mintimate/tool-forge/autoinstallaria2\n```\n其中:\n- `-p 6800:6800`：将容器内的 6800 端口映射到宿主机的 6800 端口;\n- `-v ~/Downloads:/app/Downloads`：将宿主机上的`~/Downloads`目录映射到容器内的`/app/Downloads`目录。\n\nRPC 初始密码获取:\n```bash\ndocker exec -it 38c0a4e3374f cat /app/initAria2Password\n```\n\n如果你想自定义密码，已经预留了`RPC_SECRET`环境变量:\n```bash\ndocker run -d --name aria2 -p 6800:6800 -v ~/Downloads:/app/Downloads -e RPC_SECRET=\"Mintimate\" docker.cnb.cool/mintimate/tool-forge/autoinstallaria2\n```\n此时，RPC 密码为`Mintimate`。\n\n## 卸载\n如果需要卸载该脚本所安装的一切 Aria2，只需要：\n```bash\nrm -rf $HOME/aria2Auto\nsystemctl --user disable aria2\nsystemctl --user stop aria2\nrm -rf ~/.config/systemd/user/aria2.service\n```\n\n删除后，无其他残留文件。\n\n## Licence\n\n[![GPLv3](gplv3.png)](LICENSE)\n\n## Donate\n\n爱发电: [https://afdian.com/@Mintimate](https://afdian.com/@Mintimate)\nBilibili: [https://space.bilibili.com/355567627](https://space.bilibili.com/355567627)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintimate%2Fautoinstallaria2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmintimate%2Fautoinstallaria2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintimate%2Fautoinstallaria2/lists"}