Skip to content

Azathothas/Toolpacks

Repository files navigation


Statically Compiled Binaries

Contents


  • 📦 Status 🔖

🧰 Architecture 🧰 📦 Total Binaries 📦 🇨🇭 WorkFlows 🇨🇭
Android arm64-v8a 38 🛍️ Build 📦 (toolpack_arm64_v8a_Android) Binaries 📦🗄️
Linux amd // x86_64 895 🛍️ Build 📦 (toolpack_x86_64_Linux) Binaries 📦🗄️
Linux aarch64 // arm64 790 🛍️ Build 📦 (toolpack_aarch64_Linux) Binaries 📦🗄️
Windows x64 // AMD64 169 🛍️ Build 📦 (toolpack_x64_Windows) Binaries 📦🗄️

🔽 Download 🔽

  • GUI

Note: The dir listing may not list everything. Make sure to check METADATA.json image image


  • CLI

ℹ️ Recommended ℹ️ : Use Bigdl if you want to skip everything below, since bigdl already uses this repo as it's source.

  • It's also possible to use "$(uname -m)" | $env:PROCESSOR_ARCHITECTURE | adb shell getprop ro.product.cpu.abi variations

image

!# curl needs the `-L, --location` flag to Follow redirects
!# wget works without any flags

!# Example on Android
curl -qfsSLO "https://bin.ajam.dev/$(getprop ro.product.cpu.abi)/$BIN_OR_PATH_TO_BIN"

!# Example on Linux
curl -qfsSLO "https://bin.ajam.dev/$(uname -m)/$BIN_OR_PATH_TO_BIN"

!# Example on Windows
Invoke-WebRequest -Uri "https://bin.ajam.dev/$env:PROCESSOR_ARCHITECTURE/$BIN_OR_PATH_TO_BIN.exe" -OutFile "$BIN.exe"
  1. Install eget
#--------------------------------------------------------------------------------------------#
❯ amd || x86_64 (Linux) 

!# As $USER
mkdir -p "$HOME/bin" ; export PATH="$HOME/bin:$PATH"
curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/eget" -o "$HOME/bin/eget" && chmod +xwr "$HOME/bin/eget"
wget -q "https://bin.ajam.dev/x86_64_Linux/eget" -O "$HOME/bin/eget" && chmod +xwr "$HOME/bin/eget"

!# As ROOT
sudo curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/eget" -o "/usr/local/bin/eget" && sudo chmod +xwr "/usr/local/bin/eget"
sudo wget -q "https://bin.ajam.dev/x86_64_Linux/eget" -O "/usr/local/bin/eget" && sudo chmod +xwr "/usr/local/bin/eget"
#--------------------------------------------------------------------------------------------#

#--------------------------------------------------------------------------------------------#
❯ arm64 || aarch64 (Linux) 

!# As $USER
mkdir -p "$HOME/bin" ; export PATH="$HOME/bin:$PATH"
curl -qfsSL "https://bin.ajam.dev/aarch64_arm64_Linux/eget" -o "$HOME/bin/eget" && chmod +xwr "$HOME/bin/eget"
wget -q "https://bin.ajam.dev/aarch64_arm64_Linux/eget" -O "$HOME/bin/eget" && chmod +xwr "$HOME/bin/eget"

!# As ROOT
sudo curl -qfsSL "https://bin.ajam.dev/aarch64_arm64_Linux/eget" -o "/usr/local/bin/eget" && sudo chmod +xwr "/usr/local/bin/eget"
sudo wget -q "https://bin.ajam.dev/aarch64_arm64_Linux/eget" -O "/usr/local/bin/eget" && sudo chmod +xwr "/usr/local/bin/eget"
#--------------------------------------------------------------------------------------------#

#--------------------------------------------------------------------------------------------#
❯ arm64-v8a (Android) 

!# As $USER (TERMUX)
# $PREFIX:/data/data/com.termux/files/usr
curl -qfSL "https://bin.ajam.dev/arm64_v8a_Android/eget" -o "$PREFIX/bin/eget" && chmod +xwr "$PREFIX/bin/eget"
wget -q "https://bin.ajam.dev/arm64_v8a_Android/eget" -O "$PREFIX/bin/eget" && chmod +xwr "$PREFIX/bin/eget"
!# Root requires remounting /system/bin as RWR (NOT RECOMMENDED)
#--------------------------------------------------------------------------------------------#
  1. Install 7z
#--------------------------------------------------------------------------------------------#
❯ amd || x86_64 (Linux) 

!# As $USER
eget "https://bin.ajam.dev/x86_64_Linux/7z" --to "$HOME/bin/7z"

!# As ROOT
sudo eget "https://bin.ajam.dev/x86_64_Linux/7z" --to "/usr/local/bin/7z"
#--------------------------------------------------------------------------------------------#

#--------------------------------------------------------------------------------------------#
❯ arm64 || aarch64 (Linux) 

!# As $USER
eget "https://bin.ajam.dev/aarch64_arm64_Linux/7z" --to "$HOME/bin/7z"

!# As ROOT
sudo eget "https://bin.ajam.dev/aarch64_arm64_Linux/7z" --to "/usr/local/bin/7z"

#--------------------------------------------------------------------------------------------#
❯ Single/Individual Binaries

!# $USER
eget "https://bin.ajam.dev/x86_64_Linux/$BINARY_NAME" --to "$HOME/bin"

!# ROOT
sudo eget "https://bin.ajam.dev/x86_64_Linux/$BINARY_NAME" --to "/usr/local/bin"

#--------------------------------------------------------------------------------------------#
❯ Everything All at once
!# $USER
!#Download .7z archive
 wget --quiet --show-progress --progress="dot:giga" "https://bin.ajam.dev/x86_64_Linux/_toolpack_x86_64.7z" -O "./toolpack_x86_64.7z"

!# $USER
 mkdir -p "$HOME/bin" ; 7z e "./toolpack_x86_64.7z" -o"$HOME/bin" -y ; rm -rf "$HOME/bin/toolpack_x86_64" 2>/dev/null ; rm -rf "./toolpack_x86_64.7z" ; chmod +xwr $HOME/bin/*

!# ROOT [NOT-RECOMMENDED]
 sudo 7z e "./toolpack_x86_64.7z" -o"/usr/local/bin" -y ; sudo rm -rf "/usr/local/bin/toolpack_x86_64" 2>/dev/null ; rm -rf "./toolpack_x86_64.7z" ; sudo chmod +xwr /usr/local/bin/* 2>/dev/null
#--------------------------------------------------------------------------------------------#

#--------------------------------------------------------------------------------------------#
❯ Single/Individual Binaries

!# $USER
eget "https://bin.ajam.dev/aarch64_arm64_Linux/$BINARY_NAME" --to "$HOME/bin"

!# ROOT
sudo eget "https://bin.ajam.dev/aarch64_arm64_Linux/$BINARY_NAME" --to "/usr/local/bin"

#--------------------------------------------------------------------------------------------#
❯ Everything All at once
!# $USER
!#Download .7z archive
 wget --quiet --show-progress --progress="dot:giga" "https://bin.ajam.dev/aarch64_arm64_Linux/_toolpack_aarch64_arm64.7z" -O "./toolpack_aarch64_arm64.7z"

!# $USER
 mkdir -p "$HOME/bin" ; 7z e "./toolpack_aarch64_arm64.7z" -o"$HOME/bin" -y ; rm -rf "$HOME/bin/toolpack_aarch64_arm64" 2>/dev/null ; rm -rf "./toolpack_aarch64_arm64.7z" ; chmod +xwr $HOME/bin/*

!# ROOT [NOT-RECOMMENDED]
 sudo 7z e "./toolpack_aarch64_arm64.7z" -o"/usr/local/bin" -y ; sudo rm -rf "/usr/local/bin/toolpack_aarch64_arm64" 2>/dev/null ; rm -rf "./toolpack_aarch64_arm64.7z" ; sudo chmod +xwr /usr/local/bin/* 2>/dev/null
#--------------------------------------------------------------------------------------------#

#--------------------------------------------------------------------------------------------#
❯ Single/Individual Binaries

eget "https://bin.ajam.dev/arm64_v8a_Android/$BINARY_NAME" --to "$PREFIX/bin/$BINARY_NAME"

#--------------------------------------------------------------------------------------------#
❯ Everything All at once

!# Create tmp dir
pushd "$(mktemp -d)"
!# Download all bins
for url in $(curl -qfsSL "https://bin.ajam.dev/arm64_v8a_Android/METADATA.json" | jq -r '.[].Source' | grep -v "BLAKE3SUM\|FILE\.txt\|METADATA.json\|README\.md\|SHA256SUM"); do echo -e "\n[+] $url\n" && curl -qfLJO "$url"; done

!# Move all to "$PREFIX/bin"
# $PREFIX=/data/data/com.termux/files/usr
find . -maxdepth 1 -type f ! -name '*.md' -exec mv {} "$PREFIX/bin/" \; 2>/dev/null
#chmod
chmod +xwr $PREFIX/bin/*
#list
ls "$PREFIX/bin" | column -t ; popd
#--------------------------------------------------------------------------------------------#

  • 🚧 Security ⚙️

It is never a good idea to install random binaries from random sources.

  • Check these HackerNews Discussions

The amount of work and the near impossibility to ensure that every source I use provide reproducibility is infeasibly impractical. Even if it were practical, not every pkg/tool provide source code, so this is moot anyway.

  • Reasons to Trust this Repo
  • All the Build Scripts & workflows are completely open-source. You are free to audit & scrutinize everything.
# Everything is automated via Github Actions & Build Scripts
WorkFlows --> https://github.com/Azathothas/Toolpacks/tree/main/.github/workflows
Build Scripts --> https://github.com/Azathothas/Toolpacks/tree/main/.github/scripts
  • Both SHA256SUM & BLAKE3SUM are automatically generated right after build script finishes.
  • Reasons NOT to trust this Repo
  • Repos that already publish pre-compiled static binaries, nothing is changed. You can compare checksums.
  • However, for repos that don't publish releases or at least not statically linked binaries, there is no way for you to end up with the same binary even when you use the same build scripts. In this case, checksums are meaningless as each build will produce different checksums. Your only option is to trust me bro or:
env:
 GITHUB_TOKEN: ${{ secrets.TOOLPACKS }}