Giter VIP home page Giter VIP logo

ariang-for-chrome's Introduction

AriaNg for Chrome

AriaNg for Chrome Version

Aria2 Version AriaNg Version YAAW for Chrome Version

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.

How to use

  • 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 via Chrome 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 click Options
      • HTTP with token: http://token:xxxx@localhost:6800/jsonrpc
    • For AriaNg Settings, click into the extension and select AriaNg Settings in the left panel
      • Websocket: ws://localhost:6800/jsonrpc
  • [Optional] If you want to make the most out of the extention for resources from 百度网盘, 阿里云盘, 天翼云盘 and 迅雷云盘, 网盘直链下载助手 is a good addition


Build your own

Advanced users only. If you want to hack the code to add your own twist, please clone / download this repository and continue reading...

Prerequisites

  • 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 and Node 14

nodist add 11
nodist add 14
  • Set the Node global requirement to the "latest" version installed
nodist latest
  • Install npm that matches with your Node
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 running npm ci, just install it globally
npm i -g npx

Assembly

  • Merge all built files in ariang/dist into yaaw-for-chrome/dist/yaaw (index.html should be the only file that needs to be replaced)

ariang-for-chrome's People

Contributors

pingshunhuangalex avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.