All Projects → fsaimon → Aria2.conf

fsaimon / Aria2.conf

本项目提供一个不错的 aria2 配置文件,同时提供 Mac OS 下的开机启动并可控的解决方案

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Aria2.conf

Aria Ng Gui
一个 Aria2 图形界面客户端 | An Aria2 GUI for Windows & Linux & MacOS
Stars: ✭ 741 (+354.6%)
Mutual labels:  aria2
Torrent To Google Drive Downloader
Simple notebook to stream torrent files to Google Drive using Google Colab and python3.
Stars: ✭ 63 (-61.35%)
Mutual labels:  aria2
Aria2 Build Msys2
aria2 build scripts on msys2 with custom patches.
Stars: ✭ 112 (-31.29%)
Mutual labels:  aria2
Trackerslistcollection
🎈 Updated daily! A list of popular BitTorrent Trackers! / 每天更新!全网热门 BT Tracker 列表!
Stars: ✭ 9,761 (+5888.34%)
Mutual labels:  aria2
Aria2gui
Aria2GUI for macOS
Stars: ✭ 7,931 (+4765.64%)
Mutual labels:  aria2
Ariang Native
A better aria2 desktop frontend than AriaNg, containing all features of AriaNg and more features for desktop.
Stars: ✭ 1,176 (+621.47%)
Mutual labels:  aria2
Maria
a macOS native app/widget for aria2 download tool.
Stars: ✭ 618 (+279.14%)
Mutual labels:  aria2
Tmoe Linux
🍭Without any basic knowledge of linux shell,you can easily install and configure a GNU/Linux graphical desktop environment on 📱Android termux and 💻WSL .🍰You can also run VSCode on your android phone.🍹Graphical qemu manager,🐋support running docker on Android.配置WSL和安卓手机的linux容器,桌面环境,主题美化,远程桌面,音频服务,镜像源,uefi开机启动项,webdav(nginx),fcitx输入法以及qemu-system虚拟机...
Stars: ✭ 149 (-8.59%)
Mutual labels:  aria2
Php Aria2
Talking with aria2 through JSON-RPC
Stars: ✭ 58 (-64.42%)
Mutual labels:  aria2
Aria2.conf
Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Stars: ✭ 1,321 (+710.43%)
Mutual labels:  aria2
Aria2 Pro Docker
Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
Stars: ✭ 802 (+392.02%)
Mutual labels:  aria2
Ariang
AriaNg, a modern web frontend making aria2 easier to use.
Stars: ✭ 8,339 (+5015.95%)
Mutual labels:  aria2
Live Dl
Download live streams from YouTube
Stars: ✭ 82 (-49.69%)
Mutual labels:  aria2
Ccaa
Linux一键安装Aria2 + AriaNg + FileBrowse实现离线下载、文件管理。
Stars: ✭ 756 (+363.8%)
Mutual labels:  aria2
Aria2 Ariang X Docker Compose
Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
Stars: ✭ 1,581 (+869.94%)
Mutual labels:  aria2
Motrix
A full-featured download manager.
Stars: ✭ 29,357 (+17910.43%)
Mutual labels:  aria2
Tald
使用Aria2作为后端 通过视频来 采集视频作为自己的视频网站:ThinkPHP Aria2 Libav Dplayer
Stars: ✭ 69 (-57.67%)
Mutual labels:  aria2
Aria2android
An Android app that allows you run aria2 on your device
Stars: ✭ 158 (-3.07%)
Mutual labels:  aria2
Aria2
突破百度云限速合集,另外附带Baidu-Go、Tampermonkey、Proxyee-down教程。从此云端女友从不断线,有了这个它,忘掉那个她!
Stars: ✭ 1,796 (+1001.84%)
Mutual labels:  aria2
Aria2.sh
Aria2 一键安装管理脚本 增强版
Stars: ✭ 1,276 (+682.82%)
Mutual labels:  aria2

aria2.conf

本项目提供一个不错的 aria2 配置文件,同时提供 MacOS 下的开机启动并可控的解决方案

conf 注意事项

使用请将配置文件中三处文件路径修改为自己的路径

将 aria2.conf 放在 ~/.aria2/ 下

使用 aria2 命令时,aria2 会自动加载 ~/.aria2/aria2.conf

配置文件中没有启用 input-file 选项,理由在文件中有说明

MacOS 开机启动详细

将 Aria2.sh 放在你喜欢的地方😆

修改 plist 中 shell 的路径

将 local.Aria2.plist 放在 ~/Library/LaunchAgents/ 下

打开终端执行以下命令添加启动计划

launchctl load ~/Library/LaunchAgents/local.Aria2.plist

添加完后任务便立刻开始

可以通过以下命令查看是否添加成功

launchctl list | grep Aria2

可以通过以下命令进入 tmux 查看 aria2 的运行状态/日志

tmux a -t Aria2

要退出 tmux 请按下 Ctrl+b 后输入 d

若要重启 rpc,

进入 tmux,按下 Ctrl+c 终止任务

开启 aria-rpc 使用

launchctl start local.Aria2

tmux -d -s Aria2 '/path/to/shell/Aria2.sh'

**注:**你可能会发现 plist 中 ProgramArgument 部分有一个奇怪的地方 && w

没错他是多余的无用的,但没有他这个 launchd 项目就会启动失败

我在 stackoverflow 上对问题作了详细的描述-->链接

换成 tmux 以后似乎就没有这个问题了。

然后链接里那个问题由于长期无人回答,被 stackoverflow 删除了。。。

我在 archive.org 上找到了存档,感兴趣的话可以看这里: https://web.archive.org/web/20160902124010/https://stackoverflow.com/questions/37990530/use-launch-daemon-spawn-a-screen-session-run-aria2-rpc


如果要删除开机启动 请把最开始的命令中的 load 改成 unload

PS: shell 中 aria2 使用了绝对路径,这是 brew 安装的 aria2 所在路径,之所以使用绝对路径是因为如果不这样做会有 bug(bug 似乎仅限于 sh,bash 应该就没事)

其他系统的话可以把 tmux 和 aria2 命令写在同一行里添加到 rc.local

大概是这个样子

su - username -c 'tmux new -d -s Aria2 aria2c --enable-rpc=true --input-file=/home/username/.aria2/aria2.session --conf-path=/home/username/.aria2/aria2.conf'

嵌套太多可能会失败,所以建议拆成 shell 后添加到 rc.local

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].