Code Monkey home page Code Monkey logo

yaaw's Introduction

YAAW

Yet Another Aria2 Web Frontend in pure HTML/CSS/Javascirpt.

No HTTP server, backend or server-side program. All you need is just a browser.


Usage

  1. Run aria2 with RPC enabled

aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all with 'JSON-RPC PATH' like http://hostname:port/jsonrpc

Recommend: Set --rpc-secret=<secret> if you are using aria2 1.18.4(or higher) with 'JSON-RPC PATH' like http://token:secret@hostname:port/jsonrpc

Set --rpc-user=<username> --rpc-passwd=<passwd> if you are using aria2 1.15.2(or higher) with 'JSON-RPC PATH' like http://username:passwd@hostname:port/jsonrpc

  1. Visit index.html.

  2. Change "JSON-RPC Path" setting if "Internal server error" occurred.

Tips

  • All your settings on web is temporary. Settings will be lost after aria2 restarted.
  • Tasks(including which is not finished) will be lost after aria2 restarted. Using --save-session=SOME/WHERE and reload with --continue=true --input-file=SOME/WHERE to continue.
  • Using $HOME/.aria2/aria2.conf to save your options.
  • For more infomations about aria2, visit Aria2 Manual
  • YAAW also support websocket! Set JSON-RPC PATH with ws://hostname:port/jsonrpc.
  • Pre-spicify or save JSON-PRC PATH as bookmark with http://binux.github.io/yaaw/demo/#path=http://hostname:port/jsonrpc

Components

License

yaaw is licensed under GNU Lesser General Public License. You may get a copy of the GNU Lesser General Public License from http://www.gnu.org/licenses/lgpl.txt

favicon.ico by fangke

yaaw's People

Contributors

aa65535 avatar ayanamist avatar benstonezhang avatar binux avatar dhcmrlchtdj avatar eroamane avatar farnoy avatar gottaeat avatar haocen avatar joyfun avatar kebot avatar msg7086 avatar peterdavehello avatar qubicllj avatar robbielj avatar song940 avatar stangri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yaaw's Issues

任务名字会显示成盘符

在Windows Server 下 使用时
任务的名字会变成盘符

找了一圈之后发现是JS替换只处理了一个匹配的结果,换成以下的就好了
dir.replace(//g, "[/]")+"/?")

QQ 20130222043152

又发现一个了小问题
aria2.js:693 file.title = file.path.replace(new RegExp("^"+result.dir+"/?"), "");

file.title = file.path.replace(new RegExp("^"+result.dir.replace(//g, "[/]")+"/?"), "");

网页修改完了,添加了一个下载按钮。。剩下就是删除了

关于任务排序

有时候任务太多,下载连续剧时,添加的顺序会乱,希望能添加任务排序功能,最基本应该能按名称排序,最好也能按大小,或者添加时间排序.

[suggest] use middleman for development

middleman: is a static site generator using all the shortcuts and tools in modern web development.

You can use middleman to generate the static site just like this one, while enjoy the development in view-layous, CoffeeScript, Sass, Slim

feature suggestion: profile quick switch

basically it means user can create profiles corresponding to rpc addresses (this is enough i think)
then profile could be switched quickly on web interface (i.e. drop list).

it may be useful when user has more than one machines running aria2c and wants to monitor all.
at least saving time re-enter rpc address.

torrent url tracker information

i am not able to know witch torrent is from witch tracker if you can show the url of the tracker it will be great.

And the tracker messagage if their is an error (exemple : your ratio is too low you are only allowed to seed)

能否增加对迅雷等地址的直接支持?就是类似thunder://xxxx 这类地址

我知道迅雷离线可以直接导出,但是如果是单个文件的话太麻烦了,现在下载电影好多都是迅雷专用下载,每次都需要在线破解一下再添加到yaaw里,如果能加上原生支持那再好不过了,不知道工作量有多大,我先自己研究一下吧,类似的还有qq旋风,快车什么的

Websocket + RPC-Passwd = 401

RPC地址设置为 ws://user:pw@address/jsonrpc 会在frame里返回401。

把ws改为http可以正常访问。

测试使用Chrome 30。

大神写一个mobile版本的吧

就好像大神说的,很多人用这个很在意移动前端,但是那个网页在iPad iPhone下挺蛋疼的。大神可以的话针对触摸屏做一个网页版。并且能自动侦测

JSON-RPC 支持验证了

我这里是 1.15.1

--enable-rpc[=true|false] Enable JSON-RPC/XML-RPC server.
It is strongly recommended to set username and
password using --rpc-user and --rpc-passwd
option. See also --rpc-listen-port option.

--rpc-listen-port=PORT Specify a port number for JSON-RPC/XML-RPC server
to listen to.

--rpc-user=USER Set JSON-RPC/XML-RPC user.

--rpc-passwd=PASSWD Set JSON-RPC/XML-RPC password.

Feature Request: Show seed progress

if you have seed-ratio specified, there should be an indication of how much seed progress has been reached, ideally in the progressbar as one of different colour

README.md 文档有误

Tips中 --continue=ture --input-file=SOME/WHERE 应为 --continue=true --input-file=SOME/WHERE

Hierarchical filelist

I can select which files to download from a flat list. It would be great if it will be an explorer-like hierarchical list, where I can pick some subfolder with it's content.

Thank you for your work!

Active Tasks don't update if any task is expanded

If any task (Active or Other) is expanded to show the status, files or options then the updating of the details (download speed, ETA, percentage, amount downloaded) on the Active Tasks stops.

When the expanded task is collapsed the updating resumes.

The overall download/upload indicator in the top right corner continues to be updated when a task is expanded.

任务的Files 列表里显示文件全路径

在Windows下,result.dir 返回的是 C:\abc\abc
但默认文件路径返回的是 d:/abc/abcd

aria2.js:693

file.title = file.path.replace(new RegExp("^"+result.dir+"/?"), "");
改成
file.title = file.path.replace(new RegExp("^"+result.dir.replace(//g, "[/]")+"/?"), "");

favicon

I bookmarked yaaw, but without an icon I need to have a description which takes space on my toolbar, can we include a simple icon?

迅雷离线BT多文件显示

Screen Shot 2013-04-26 at 12 03 02
迅雷离线bt文件导入yaaw后,只会显示为该bt文件名,不是里面具体的文件名称,而如果该bt下包含多个文件,导致需要个个展开查看File标签页才能看到具体文件名。
可否修改一下使得下载列表可以直接显示每个具体文件的名字?

Adding more than 1 link at once

Is there a way to add more than 1 link to download list?
Like upload a text file with many links (either http(s), ftp(s) or magnet)?

当下载文件的输出文件夹名中含有方括号时列表显示为空

用 aria2c 导入了一个下载列表,里面的文件有指定输出目录,目录名中含有成对的方括号,dir=[xxxx]... ,在 yaaw 中只能看到总下载速度,下面的列表是空的。

打开 console 可以看到类似这样的错误:
Uncaught SyntaxError: Invalid regular expression: /^[xxxx][xxxx xxxx][BDRIP][720P][X264_AAC]/?/: Range out of order in character class

出错的文件:aria2.js 第 71 和 72 行

aria2 可能更新下面的内容,您看看是不是也需要在网页上增加或者修改点什么呢。

This change makes --save-session save only options specified for
download, more specifically, options in command-line, -i file and via
RPC. The other options from conf file and default values are not
saved. This will drastically decrease the size of session file.

aria2/aria2@4070113

好像是默认session会话不保存配置文件内容,只有加了参数-i的才会,请问yaaw上需要增加参数-i吗

Req: Dropdown on Dir

Would it be possible to somehow turn the Directory field into a dropdown?

Allowing you to categorize your downloads, without the chance of a typo? Video, Podcasts, Programs

Thumbs up for an awesome project otherwise - Wish my Javascript skills were better but guess I'm doomed to work with C and PHP for eternity.

关于重命名

你好,
请问 可以让 Aria2 自动获取下载种子的文件名。(有中日字符)
一些站点的文件名不再URL里,这类文件自动会被命名为Index.html。
当有多个任务开启时候, 会导致 有个别的任务失败。。

添加多个人里,貌似不能为每个任务设置分别设置名字。
有什么参数可以解决吗?

希望能通过在命名栏回车添加任务

填写完链接和 File Name 之后,光标停留在 File Name 栏,此时无法用回车新增任务,有些不方便。
此外, JSON-RPC Path 那一栏的历史记录如果有清除功能就更好了,有的时候不希望地址缓存到别人的电脑上。
顺便一说我也已经同步更新了 Android 原生的 YAAW ,基于 PhoneGap 2.9 制作的,速度较之前快一些。
https://github.com/jokies/yaaw-android
如果作者有时间,我们可以一同解决一下本地 Torrent 添加到 yaaw-android 的问题,因为 PhoneGap 中增加 intent 需要内部网页做相应修改,谢谢关注。

右键菜单在firefox下不能点

如题,项目的右键菜单,如restart,pause,remove等等在firefox下一移动就消失了,点不了,在safari下可以。可以解决吗?谢谢!!

jsonrpc path是指什么呢

你好,请问jsonrpc path是指什么呢?
我在本机启动aria2,用配置文件启动,配置的是6800端口,
我打开yaaw的index.heml后jsonrpc path 填什么啊?》

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.