[下载工具] 分享一个基于 system tray icon + web 的 aria2c gui 程序
Tofloor
poster avatar
yzhen123
deepin
2017-08-09 06:57
Author
本帖最后由 yzhen123 于 2017-8-13 19:57 编辑

基于 system tray icon + web 的轻量级形式 开发的 aria2c  gui 程序, 相比 单独的 aria2c web ui  有几个优点:
  • 有后台通知
  • 可以通过 后台图标打开 web UI
  • 直接在 web ui 中打开 文件 和 文件夹
  • 可以关掉网页运行,后台内存占用低


刚好最近 在学 rust 语言, 于是就尝试用rust 实现了.


截图:


源码: https://github.com/zaaack/aria2c-gui
使用的 web ui: https://github.com/mayswind/AriaNg

百度云下载地址: https://pan.baidu.com/s/1hsGJ21e
注: 依赖系统中的aria2c,安装:
  1. sudo apt-get install aria2c
Copy the Code

更新: 修复了后台图标退出后 aria2c 子进程可能没有退出的情况...
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-08-09 07:32
#1
厉害了word 哥
Reply View the author
avatar
rekols
deepin
2017-08-09 07:38
#2
厉害了word 哥
Reply View the author
avatar
BRS5672023
deepin
2017-08-09 07:40
#3
哇,最近社区真是疯狂造轮子呀。。。
Reply View the author
avatar
electricface
deepin
2017-08-09 08:12
#4
搞一个比赛好了
Reply View the author
avatar
ailick
deepin
2017-08-12 00:37
#5
刚刚还为这事发愁,转眼有人写好了开心啊
Reply View the author
avatar
yzhen123
deepin
2017-08-13 02:16
#6
https://bbs.deepin.org/post/143913
刚刚还为这事发愁,转眼有人写好了开心啊

感谢支持, 修复了退出之后 aria2c 可能没有自动退出的bug...
Reply View the author
avatar
deepinwang
deepin
2017-08-13 02:59
#7
本帖最后由 deepinwang 于 2017-8-12 19:04 编辑

看好rust。请问现在有Rust绑定的Qt了吗?
(好吧我应该先查一下官方文档的:http://wiki.qt.io/Language_Bindings)
Reply View the author
avatar
yzhen123
deepin
2017-08-13 03:59
#8
https://bbs.deepin.org/post/143913
看好rust。请问现在有Rust绑定的Qt了吗?
(好吧我应该先查一下官方文档的:http://wiki.qt.io/Language_Bi ...

Rust 是有QT 绑定的, https://github.com/rust-qt/cpp_to_rust 不过目前的绑定只支持 qt5.8.0
我在实现aria2c-gui 的 tray icon 时想安装来着, 尝试了几次没成功...所以现在是通过 stdio 调用的 go systray 来着...
Reply View the author
avatar
redapple0204
deepin
2017-08-13 22:41
#9
humm....有没有办法支持headers?
Reply View the author
avatar
yzhen123
deepin
2017-08-14 03:45
#10
本帖最后由 yzhen123 于 2017-8-14 21:51 编辑
https://bbs.deepin.org/post/143913
humm....有没有办法支持headers?

额,看了下这个webui, 可以在 aria2c 设置 > http 设置 > 最下面设置 UA, 其他自定义的 header 貌似就没有找到了..

如果需要支持其他自定义 header, 应该可以通过 alias  work  around(暂未测试):
在 .bashrc/.zshrc 中加上一行

  1. alias aria2c='aria2c -header="X-A: b78" --header="X-B: 9J1"'
Copy the Code


https://aria2.github.io/manual/e ... r#cmdoption--header
Reply View the author
avatar
redapple0204
deepin
2017-08-14 04:46
#11
https://bbs.deepin.org/post/143913
额,看了下这个webui, 可以在 aria2c 设置 > http 设置 > 最下面设置 UA, 其他自定义的 header 貌似就没有 ...

我试试看,谢谢了
Reply View the author