{"id":13897932,"url":"https://github.com/rachpt/auto-dl","last_synced_at":"2025-04-26T02:33:59.564Z","repository":{"id":134510718,"uuid":"190496499","full_name":"rachpt/auto-dl","owner":"rachpt","description":"刷下载量提升用户等级","archived":false,"fork":false,"pushed_at":"2020-03-03T06:08:05.000Z","size":25,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T07:04:18.399Z","etag":null,"topics":["qbittorrent","shell"],"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/rachpt.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}},"created_at":"2019-06-06T01:55:13.000Z","updated_at":"2025-03-20T03:46:40.000Z","dependencies_parsed_at":"2023-06-17T00:30:47.927Z","dependency_job_id":null,"html_url":"https://github.com/rachpt/auto-dl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachpt%2Fauto-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachpt%2Fauto-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachpt%2Fauto-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachpt%2Fauto-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rachpt","download_url":"https://codeload.github.com/rachpt/auto-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922213,"owners_count":21508290,"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":["qbittorrent","shell"],"created_at":"2024-08-06T18:03:57.565Z","updated_at":"2025-04-26T02:33:59.346Z","avatar_url":"https://github.com/rachpt.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# auto-download\n\n`qBittorrent` 自动刷下载量，并且数据 **不写入硬盘**。\n\n据测试，用于刷下载量的种子大小与机器内存没有依赖关系。\n\n需要安装 [httpie](https://httpie.org/)。改成 curl 也可以，懒……\n\n\n## 使用\n\n1. 配置好 `config.sh` 前面8行后，第一次需要使用`root`账户运行该文件，以便创建`字符设备文件`。\n\n如果有必要，刷完后记得删掉创建的字符设备文件(即该目录下的null文件夹)。\n\ntorrent 内容建议是少文件种子。\n\n2. 添加命令`/home/\u003cuser\u003e/auto-dl/run.sh \"%N\" \"%I\" \"%T\"`到qbittorrent `Torrent 完成时运行外部程序`处。\n\n3. 可以添加`crontab`任务，以便及时将下载量汇报给tracker计入统计。比如：\n```sh\n# 不建议使用，更不建议太快\n*/6 *  * * * /home/\u003cuser\u003e/auto-dl/run.sh \u003e/dev/null 2\u003e\u00261\n```\n## 其他\n\n1. 推荐使用非免费的大体积的 原盘 ISO 文件刷，\n\n2. 关闭 `qBittorrent` 的 `为不完整的文件添加扩展名 .!qB` 与 `为所有文件预分配磁盘空间`，\n\n3. 因为不用预先分配磁盘，以及写入硬盘，下载速度几乎只与网络情况有关，如果有必要，注意在开始任务后限速。\n\n4. 刷量通过`config.sh`中的 `COUNT` 和种子体积的乘积决定，\n\n5. 刷完后，需要自己手动在`qBittorrent`中删掉任务，使用root账户删掉 `null` 目录下的文件(夹)，\n\n6. 使用本脚本所造成的一切后果与本人无关。\n\n## License\n\nGPL-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frachpt%2Fauto-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frachpt%2Fauto-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frachpt%2Fauto-dl/lists"}