Utility to check if online or offline. Install and just type online in the Witchcraft/Terminal
if online -s; then
echo "โ
Its online"
else
echo "โ Its offline"
fiOpen the Withcraft/Terminal/Prompt and type + press [ENTER]:
curl --proto '=https' --tlsv1.3 -sSf https://raw.githubusercontent.com/Floflis/online/main/install.sh | shIf you don't trust downloading+executing a script, you can do it locally.
Open terminal and type following by pressing [ENTER]:
Floflis, Floflis-based distros such as UniOS and any other that uses nu shell:
git clone https://github.com/Floflis/online.git ; cd onlineAfter reviewing the code of install.sh:
chmod +x install.sh ; sh ./install.shgit clone https://github.com/Floflis/online.git && cd onlineAfter reviewing the code of install.sh:
chmod +x install.sh && sh ./install.shOpen the Witchcraft/Prompt/Terminal and type:
online
For programatic use, head to Usage.