AnInsomniacy

aria2-next

AnInsomniacy

aria2-next is an actively maintained fork of aria2, a multi-protocol command-line download engine supporting HTTP, SFTP, Metalink, BitTorrent, and ED2K on macOS, Windows, Linux, and Android.

v3.1.2
Published at
3d ago
848
Stars
5,182
Download
Synced at
3d ago

Latest release

v3.1.2Nov 23, 2026, 08:32 AM
Downloads slow? Switch the source anytime above

README

Project Overview

Aria2 Next is an actively maintained fork of the classic aria2 download engine, keeping its powerful multi-protocol capabilities. It retains HTTP, HTTPS, SFTP, Metalink, BitTorrent, RPC, and libaria2 support, moves to a modern build framework, fixes a large backlog of upstream issues, and adds ED2K support for the first time. The engine works as a command-line tool and can also be embedded through JSON-RPC or libaria2.

A modern continuation of a classic download engine, with more protocols, newer dependencies, and fewer bugs

Key Features

  • Multi-protocol downloads: supports HTTP, HTTPS, SFTP, Metalink, BitTorrent, and ED2K
  • Native media downloads: parses HLS and MPEG-DASH, records live streams, and outputs MP4 or Matroska
  • ED2K support: server and Kad discovery, search, sharing, upload queues, and protocol obfuscation
  • JSON-RPC service: a remote control interface for frontends and automation scripts
  • Container images: official Docker images for Linux x86_64 and ARM64
  • Resumable transfers: SQLite-backed session and verified resume state
  • Advanced controls: disk queues, connection scheduling, file priorities, and web seeds

Target Audience

  • NAS and download box users
  • Developers who need multi-protocol downloads
  • Operators running RPC download services
  • Advanced users of aria2 frontends

Quick Start

Using a binary

  1. Open the Releases page and download the executable for your platform
  2. On Linux, macOS, and Android, run chmod +x ./aria2-next-<version>-<platform> if the executable bit is lost
  3. Run aria2-next https://example.com/file.iso to download a file
  4. Run aria2-next <ed2k-file-link> to download an ED2K link
  5. Run aria2-next --enable-rpc --rpc-listen-port=6800 to start the RPC service
  6. Run the official Docker image with the command below
docker run -d --name aria2-next -p 6800:6800 -v ./downloads:/downloads -v ./state:/var/lib/aria2-next ghcr.io/aninsomniacy/aria2-next:latest

Building from source

  1. Configure: cmake --preset default
  2. Build: cmake --build --preset default
  3. Test: ctest --preset default
  4. Check the version: build/default/aria2-next --version
cmake --preset default
cmake --build --preset default
ctest --preset default

Core Advantages

  • Complete protocol coverage: one binary handles HTTP, BitTorrent, ED2K, and media stream downloads
  • Modern dependencies: libcurl 8 and libtorrent 2.1 work on current platforms
  • Container friendly: official images run out of the box with PUID and PGID mapping
  • Interface compatible: keeps aria2 command-line, config format, and RPC conventions
  • Actively fixed: a long backlog of upstream issues has been systematically resolved

System Requirements

Item Requirement
OS Linux, macOS, Windows, Android
Architecture x86_64, ARM64
Dependencies Linux builds need glibc 2.35 or newer and a compatible system C++ runtime

Notes

  • Linux release binaries require glibc 2.35 or newer
  • Legacy aria2 task state and adjacent .aria2 control files are not imported
  • Set an --rpc-secret token before exposing RPC beyond a trusted local network
  • Container runs require the PUID and PGID environment variables
  • Keep session and task state under the directory given by --state-dir

Release history

Sort