JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q60479F
  • License

Web-based frontend for Aria2-JSONRPC

Package Exports

  • berserker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (berserker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Berserker

Advanced web-based frontend for Aria2-JSONRPC.

Main interface

Features

  1. Node.js backend to manage the aria process, create destination and config directories, etc.
  2. You can shut down the Node.js backend as well as the web-frontend and aria will keep downloading in the backround. Fire up the server and web ui anytime later to get a status update.
  3. JSON-based transport to ensure lightweight and fast data transfers with minimal markup overhead.
  4. Uses websockets to communicate with aria process. Will have support for websockets in the browser side soon.

Install

  1. Install Aria 2 from the site or from your distribution's package repositories.
  2. Install Node.js (and NPM) from the site or from your distribution's package repositories.
  3. $ sudo npm install -g berserker

Run

  1. (First Run) $ berserker
  2. This will create file settings.json under the $HOME/.berserker folder.
  3. Edit settings.json.
    1. Keys in the aria2c property should be valid aria2c options (POSIX long version) without the '--'.
    2. Any value enclosed in curly braces (like {HOME}) will be replaced by the value of the corresponding environment variable.
  4. $ berserker
  5. Open http://localhost:8000/ (Or whatever port you have set in $HOME/.berserker/settings.json).

Notes

  1. Your Aria2 executable must have support compiled for the aria2.multicall function.
  2. If aria was not built with websocket support, use the restify or http connector instead (See settings.json).