A JSON-RPC client and experimental frontend for Aria 2.
Lightweight Aria2 JSON-RPC client with full type definition.
import { createClient } from 'a2c'
const aria2 = createClient({
url: 'http://localhost:6800/jsonrpc', // defaultValue
secret: '123e4567-e89b-12d3-a456-426614174000', // optional
})
await aria2.getVersion().then(console.log) // { enabledFeatures: [], version: '1.36.0' }
Experimental Aria2 frontend, currently not working properly.
pnpm dlx degit importantimport/a2 && cd a2
pnpm install
pnpm dev
Waiting Button app bar and Navigaton rail