• Stars
    star
    367
  • Rank 113,058 (Top 3 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Aria2 static binaries for GNU/Linux with some powerful feature patches. | 破解无限线程 防掉线程优化 静态编译 二进制文件 增强版

Aria2 Pro Core

LICENSE GitHub All Releases GitHub Stars GitHub forks GitHub Workflow Status

Aria2 static binaries for GNU/Linux with some powerful feature patches.

GitHub release (latest by date)

Changes

  • option max-connection-per-server: change maximum value to
  • option min-split-size: change minimum value to 1K
  • option piece-length: change minimum value to 1K
  • download: retry on slow speed (lowest-speed-limit) and connection close
  • download: add option retry-on-400 to retry on http 400 bad request, which only effective if retry-wait > 0
  • download: add option retry-on-403 to retry on http 403 forbidden, which only effective if retry-wait > 0
  • download: add option retry-on-406 to retry on http 406 not acceptable, which only effective if retry-wait > 0
  • download: add option retry-on-unknown to retry on unknown status code, which only effective if retry-wait > 0
  • http: add option http-want-digest to choose whether to send the generated Want-Digest HTTP header or not (Not send by default)

Installing

Automatic script

curl -fsSL git.io/aria2c.sh | bash

Manual installation

wget https://github.com/P3TERX/Aria2-Pro-Core/releases/download/[version]/aria2-[version]-static-linux-[arch].tar.gz
tar zxvf aria2-[version]-static-linux-[arch].tar.gz
sudo mv aria2c /usr/local/bin

Uninstall

sudo rm -f /usr/local/bin/aria2c

Building

with script

Download script, execute script.

TIPS: In today's containerization of everything, this is not recommended.

git clone https://github.com/P3TERX/Aria2-Pro-Core
cd Aria2-Pro-Core
bash aria2-gnu-linux-build.sh

with docker

TIPS: Docker minimum version 19.03, you can also use buildx.

Build Aria2 for current architecture platforms.

DOCKER_BUILDKIT=1 docker build \
    -o type=local,dest=. \
    github.com/P3TERX/Aria2-Pro-Core

dest can define the output directory. If there are no changes, there will be an archive file in the current directory when the build is completed.

$ ls -l 
-rw-r--r-- 1 p3terx p3terx 3744106 Jan 17 20:24 aria2-1.35.0-static-linux-amd64.tar.gz

Cross build Aria2 for other platforms, e.g.:

DOCKER_BUILDKIT=1 docker build \
    --build-arg BUILDER_IMAGE=ubuntu:14.04 \
    --build-arg BUILD_SCRIPT=aria2-gnu-linux-cross-build-armhf.sh \
    -o type=local,dest=. \
    github.com/P3TERX/Aria2-Pro-Core

BUILDER_IMAGE variable defines the system image used for the build. In general, platforms other than armhf don't require it. BUILD_SCRIPT variable defines the script used for the cross build.

External links

Aria2

Used external libraries

Credits

Licence

GPLv3

More Repositories

1

Actions-OpenWrt

A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Shell
6,919
star
2

warp.sh

Cloudflare WARP Installer | WARP 一键安装脚本
Shell
3,571
star
3

aria2.conf

Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Shell
3,079
star
4

Aria2-Pro-Docker

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
Dockerfile
2,919
star
5

aria2.sh

Aria2 一键安装管理脚本 增强版
Shell
2,789
star
6

GeoLite.mmdb

MaxMind's GeoIP2 GeoLite2 Country, City, and ASN databases
1,518
star
7

IBM-CF-V2

Use GitHub Actions to automatically deploy the latest version of V2Ray to IBM Cloud Foundry
206
star
8

OpenWrt-Newifi_D2

Shell
136
star
9

openwrt-build-env

OpenWrt build environment in docker | Docker 中的 OpenWrt 编译环境
Dockerfile
104
star
10

ServerStatus-V

云探针、多服务器探针、云监控、多服务器云监控
C
101
star
11

ssh2actions

Connect to GitHub Actions VM via SSH for interactive debugging
Shell
84
star
12

wireguard-go-builder

Compiling the wireguard-go binary from source. With this binary, users are able to create WireGuard sessions without installing the kernel module.
Shell
66
star
13

SSH_Key_Installer

Install SSH keys via GitHub, URL or local files
Shell
65
star
14

script

Some shell script
Shell
54
star
15

ActionsVM

Connect to GitHub Actions via SSH, get macOS or Linux VM for free.
Shell
40
star
16

unraid-docker-templates

Templates for adding containers to UNRAID via more GUI-friendly way and allowing easier updates in the future.
26
star
17

goindex_backup

Google Drive Directory Index backup
JavaScript
17
star
18

doubi_backup

Shell
11
star
19

openwrt-list

10
star
20

P3TERX

8
star
21

BestTrace

Shell
5
star
22

ca-certificates.crt

Make ca-certificates.crt daily via GitHub Actions
Shell
5
star
23

termux.sh

Shell
4
star
24

ariang

3
star
25

ubuntu-plus

Ubuntu image with some extra packages
Dockerfile
3
star
26

Gitpod-OpenWrt

OpenWrt build environment in Gitpod
Dockerfile
2
star