aria

Aria2 API lib for Nim for any backend https://aria2.github.io

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install aria
choosenim install aria
git clone https://github.com/juancarlospaco/aria

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
aria - - - - - - -

Source

Repository https://github.com/juancarlospaco/aria
Homepage https://github.com/juancarlospaco/aria
Registry Source nimble_official

README

Aria

Aria2 API lib for Nim using JSON-RPC over HTTP for any backend.

  • https://aria2.github.io
  • https://aria2.github.io/manual/en/html/aria2c.html#methods
  • https://juancarlospaco.github.io/aria/index.html

Use

import aria
import std/json  # $

let client: Aria = newAria(ip = "127.0.0.1", port = 6800.uint16)
aria:
  ## These are just Aria API calls, same naming as from Aria Documentation.
  echo client.getVersion()
  ## See also addTorrent(), addMetalink(), addUrl(), etc

Aria in the Browser, JavaScript target:

import aria
import std/[jsffi, jsfetch]  ## fetch()

let client: Aria = newAria(ip = "127.0.0.1", port = 6800.uint16)
echo client.getVersion().repr

Notes

  • https://github.com/aria2/aria2/issues/1759#issue-856909078