Skip to content

Instantly share code, notes, and snippets.

@L1ghtmann
Last active November 29, 2025 15:26
Show Gist options
  • Select an option

  • Save L1ghtmann/e5c87039c0716b936a646242a32a299d to your computer and use it in GitHub Desktop.

Select an option

Save L1ghtmann/e5c87039c0716b936a646242a32a299d to your computer and use it in GitHub Desktop.
iSH setup script
#!/bin/sh
suser="$(cat /etc/passwd | grep ish)"
if [ -z "$suser" ]; then
passwd
adduser ish
apk add sudo
echo "ish ALL=(ALL:ALL) ALL" >> /etc/sudoers
fi
user="$(whoami)"
if [ "$user" == "root" ]; then
echo "Please do a 10 sec hold on settings cog and change login -f root->ish"
exit 0
fi
sudo apk add build-base libxml2-dev curl ffmpeg vim ripgrep python3 python3-dev git android-tools
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
python3 -m pip install pip-review pip-autoremove pip_search instaloader yt-dlp
git clone --depth=1 https://github.com/inteoryx/twitter-video-dl tdl
cd tdl
git fetch origin pull/33/head:x
git checkout x
chmod +x *.py
python3 -m pip install -r requirements.txt
cd ../
echo "PATH='$PATH:$HOME/.local/bin'" >> ~/.profile
echo "alias t-dl='$HOME/tdl/twitter-video-dl.py'" >> ~/.profile
git clone --depth=1 https://github.com/financiallyruined/TikTok-Multi-Downloader ttdl
cd ttdl
chmod +x *.py
python3 -m pip install -r requirements.txt
cd ../
echo "alias tt-dl='$HOME/ttdl/multitok.py'" >> ~/.profile
curl -L https://github.com/akiomik/vimeo-dl/releases/download/v0.2.0/vimeo-dl_0.2.0_linux_386.tar.gz -o /usr/local/bin/vimeo-dl
curl -L https://github.com/tanaikech/goodls/releases/download/v2.0.5/goodls_linux_386 -o /usr/local/bin/gd-dl
chmod +x /usr/local/bin/*
echo "Good to go! Can now do git things and save from google drive, insta, tiktok, twitter, vimeo, and yt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment