Giter VIP home page Giter VIP logo

fpgo's Introduction

Concurrent package downloader written in bash/zsh, for macOS, Linux, Android and Windows Msys2.

Inspired by apt-fast and powerpill.

The only dependency is aria2.

Usage

on macOS:

brew update
app-fast install vim tmux git
app-fast upgrade

on Ubuntu/Debian/Android Termux:

app-fast update
app-fast install vim tmux git -y
app-fast upgrade -y

on Archlinux/Manjaro/Windows Msys2:

app-fast -S vim tmux git
app-fast -Syu

Install

Just download app-fast and save it to somewhere like /usr/bin/app-fast.

On macOS, you should put it to /usr/local/bin/app-fast.

Make sure you have the permission to execute it chmod +x app-fast.

On Windows Msys2, you should put aria2.exe to your system path first, because Msys2 does not provide aria2 package.

Install for Linux

Wget

sudo wget https://raw.githubusercontent.com/app-fast/app-fast/master/app-fast -O /usr/bin/app-fast
sudo chmod +x /usr/bin/app-fast

Curl

sudo curl https://raw.githubusercontent.com/app-fast/app-fast/master/app-fast -o /usr/bin/app-fast
sudo chmod +x /usr/bin/app-fast

Aria2

sudo aria2c https://raw.githubusercontent.com/app-fast/app-fast/master/app-fast -d / -o /usr/bin/app-fast
sudo chmod +x /usr/bin/app-fast

Install for macOS

curl https://raw.githubusercontent.com/app-fast/app-fast/master/app-fast -o /usr/local/bin/app-fast
sudo chmod +x /usr/local/bin/app-fast

Install for Android Termux

pkg i curl -y
curl https://raw.githubusercontent.com/app-fast/app-fast/master/app-fast -o $PREFIX/bin/app-fast
chmod +x $PREFIX/bin/app-fast

What it does

  • Download packages faster
  • Upgrade packages faster
  • Support macOS homebrew
  • Support Ubuntu/Debian
  • Support Archlinux
  • Support Android Termux
  • Support Windows Msys2

What it doesn't

  • Uninstall a package
  • Search a package
  • Support Archlinux AUR
  • Support macOS homebrew tap
  • Support macOS homebrew bottles like bottles-science and bottle :unneeded
  • Support Ubuntu mirror protocol like mirror://mirrors.ubuntu.com/mirrors.txt
  • Support proxies

Note

  • With pacman v6.0 and onwards you can also set ParallelDownloads = 8 in the file /etc/pacman.conf
  • I don't have any apple devices so macOS port is experimental.
  • On Linux I use sed command, on macOS I use perl command.

Why not apt-fast or powerpill

  • I use it for docker containers and KVMs, only installing packages is needed.

License

Public Domain

fpgo's People

Contributors

joeky888 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

s535504

fpgo's Issues

Is it possible to record network traffic with fpgo?

Great project! Thanks for making this public! I just have a question as a noob in devops etc. Would it be possible to record the network traffic (like which javascript files are loaded, images etc.) with this proxy or is it a different layer?
I use it with the --proxy-server with chromium.

Thanks
Do

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.