dsh-aria2-rpc

Controls an existing aria2 JSON-RPC service from DSH with four tools: submit a single HTTP/HTTPS link (optional directory, filename, checksum, per-task proxy), read one task, list tasks, and pause/resume/cancel. A task it submitted that finishes or fails reports back to the session that started it. A settings page holds host, port, secret and timeout, with a connection test that does not save or create anything; it never bundles, starts or manages aria2 itself. It does not gate submissions by access mode: aria2_download and aria2_control work in every mode, with authorization left to the normal DSH tool policy; a mutation whose result is unknown returns a GID to query instead of being retried automatically.

Overview

Controls an existing aria2 JSON-RPC service from DSH with four tools: submit a single HTTP/HTTPS link (optional directory, filename, checksum, per-task proxy), read one task, list tasks, and pause/resume/cancel. A task it submitted that finishes or fails reports back to the session that started it. A settings page holds host, port, secret and timeout, with a connection test that does not save or create anything; it never bundles, starts or manages aria2 itself. It does not gate submissions by access mode: aria2_download and aria2_control work in every mode, with authorization left to the normal DSH tool policy; a mutation whose result is unknown returns a GID to query instead of being retried automatically.

Installation

Install from GitHub

dsh plugin --profile web add github:Rosmeowtis/dsh-aria2-rpc

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.