Giter Site home page Giter Site logo

sdjk / aria2-pro-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p3terx/aria2-pro-core

0.0 0.0 0.0 87 KB

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

License: GNU General Public License v3.0

Shell 97.76% Dockerfile 2.24%

aria2-pro-core's Introduction

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

aria2-pro-core's People

Contributors

p3terx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.