Coder Social home page Coder Social logo

aria2lib's Introduction

aria2lib

Codacy Badge Crowdin

This is a small module (Android library only) that allows to download and manage an aria2 executable. It is used in Aria2Android and Aria2App.

This also depends on CommonUtils. You can find how to include it there, but it is pretty similar to what comes below.

How to

  • Add as Git submodule in your project (git submodule add https://github.com/devgianlu/aria2lib)
  • Add the Gradle module to your settings.gradle:
include ':aria2lib', ':CommonUtils' ...
project(':CommonUtils').projectDir = new File('./CommonUtils/utils')
project(':aria2lib').projectDir = new File('./aria2lib')
  • Add it as a dependency:
dependencies {
    implementation project(':aria2lib')
    ...
}

Compile aria2c executables

This repository already includes the necessary executables to run aria2, but if you want to build them yourself with ./gradlew compileAria2 -Pforce. The task will simply delete the current executables (because of the force flag) and execute the ./build_aria2c.sh <tag/commit/branch> script. If executing it directly, you have to specify a reference to devgianlu/aria2-android.

aria2lib's People

Contributors

devgianlu avatar dazzywalkman avatar muedsa avatar dependabot-preview[bot] 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.