A Chrome extension that bridges Aria2 and browser downloading experience with UI powered by AriaNg
While this project provides a user-friendly GUI that works seamlessly with the Chrome downloading experience, please note that all credits should go to the contributors from the original repositories (see badges above).
Apart from the features brought by the original programs, this repository introduces only enough changes that glue those awesome tools together so it works as a Chrome extension properly. The extension is shipped in a ready-to-use fashion for consumers who just want things to work without all the hassle.
Inherited from its dependencies, this program comes with no warranty and you should use it at your own risk.
-
Ensure you have Aria2 installed and configured
-
Download
AriaNg-for-Chrome.rar
in the latest release and unzip it in the directory of your choice -
Load the unzipped folder
AriaNg-for-Chrome
as an unpacked Chrome extention viaChrome menu > More tools > Extensions > Load unpacked
, and you are all set -
[Optional] If you have a secret token for your
Aria2 RPC
, you may still need to config it after the installation- For
AriaNg for Chrome Settings
, right-click the extension and clickOptions
- HTTP with token:
http://token:xxxx@localhost:6800/jsonrpc
- HTTP with token:
- For
AriaNg Settings
, click into the extension and selectAriaNg Settings
in the left panel- Websocket:
ws://localhost:6800/jsonrpc
- Websocket:
- For
-
[Optional] If you want to make the most out of the extention for resources from
百度网盘
,阿里云盘
,天翼云盘
and迅雷云盘
, 网盘直链下载助手 is a good addition
Advanced users only. If you want to hack the code to add your own twist, please clone / download this repository and continue reading...
-
Install Chocolatey
-
Install Aria2 and finish all configurations
-
Install Nodist or any
Node
version manager of your choice
choco install nodist
-
Ensure
Nodist
is in your system path (C:\Program Files (x86)\Nodist\bin
for Windows) -
Install
Node 11
andNode 14
nodist add 11
nodist add 14
- Set the
Node
global requirement to the "latest" version installed
nodist latest
- Install
npm
that matches with yourNode
nodist npm match
- Install
Yarn
npm i -g yarn
- Install
Gulp
choco install gulp-cli
- [Optional] Update the original repository
rm -rf node_modules/ && rm -rf dist/
git stash && git pull --recurse-submodules && git stash pop
- Install and build
nodist env 14.17.0
yarn
yarn build
- [Optional] Update the original repository
rm -rf node_modules/ && rm -rf dist/
git stash && git pull && git stash pop
- Install and build
nodist env 11.13.0
npm ci
gulp clean build
- [Optional] If you run into an error complaining about missing
npx
while runningnpm ci
, just install it globally
npm i -g npx
- Merge all built files in
ariang/dist
intoyaaw-for-chrome/dist/yaaw
(index.html
should be the only file that needs to be replaced)