OpenWrt Package Feed

aria2 Static Feed

Prebuilt static aria2 packages for OpenWrt with HTTPS, BitTorrent, Metalink, XML-RPC, SQLite session support, c-ares DNS, and SFTP through libssh2.

Fully static binaries OpenSSL backend SFTP enabled UPX on supported targets GitHub Actions built

OPKG Feed

OpenWrt 24.10 and older can install directly from the per-architecture feed path.

Standalone APK

OpenWrt 25.12 and newer can install the matching APK file from the Packages tab or the release page.

Audit Trail

Each architecture directory also includes BUILDINFO and the raw aria2c binary for verification and manual deployment.

What this feed publishes

Each target directory can contain a raw aria2c binary, BUILDINFO, an .ipk package for OPKG-based OpenWrt, and an .apk package for APK-based OpenWrt.

OPKG feed metadata is generated on this site today. APK files are published as standalone packages, not as a signed APK repository index.

Select your OpenWrt version:

Repository setup for OPKG

1. Detect the architecture that OpenWrt uses for package feeds:

opkg print-architecture | awk 'NF==3 && $3~/^[0-9]+$/ {print $2}' | tail -1

2. Add the matching aria2 feed to your custom feeds file:

echo "src/gz aria2-static https://ysway.github.io/openwrt-aria2/$(opkg print-architecture | awk 'NF==3 && $3~/^[0-9]+$/ {print $2}' | tail -1)" >> /etc/opkg/customfeeds.conf

3. Refresh package indexes and install:

opkg update
opkg install aria2-static

Enable the service

The package ships with /etc/init.d/aria2 and /etc/config/aria2.

Its UCI layout follows the OpenWrt project's aria2 package, so existing OpenWrt-style settings and multi-instance config aria2 sections can be reused.

uci set aria2.main.enabled='1'
uci set aria2.main.dir='/mnt/data/downloads'
uci commit aria2
service aria2 start
service aria2 enable

Default runtime behavior

  • RPC listens on port 6800.
  • Downloads go to /tmp/aria2/downloads by default.
  • Rendered configs, session state, and DHT state live under /var/etc/aria2.
  • BitTorrent Local Peer Discovery and DHT are enabled by default.