Skip to content

Instantly share code, notes, and snippets.

@dsbaars
Last active January 14, 2022 21:58
Show Gist options
  • Save dsbaars/0993fb068d8fd84f26c54d34359215e8 to your computer and use it in GitHub Desktop.
Save dsbaars/0993fb068d8fd84f26c54d34359215e8 to your computer and use it in GitHub Desktop.
Show all onion URLs of Umbrel apps
RED=`tput setaf 1`
GREEN=`tput setaf 2`
NC=`tput sgr0`
for hostnameFile in $(find ~/umbrel/tor/data/app* -name 'hostname' | sort) ; do
APPNAME=$(echo ${hostnameFile} | cut -d/ -f 7-7)
HOSTNAME=$(cat ${hostnameFile})
printf "%-40s" ${RED}${APPNAME}
printf "%s" ${GREEN}${HOSTNAME}
printf "${NC}\n"
done
@dsbaars
Copy link
Author

dsbaars commented Dec 5, 2021

To run:

  1. wget https://gist.github.com/dsbaars/0993fb068d8fd84f26c54d34359215e8/raw/39a0d2cb4e6c2b9406b2b0efd0bdfc7da15a59f2/show-tor-urls.sh
  2. chmod +x show-tor-urls.sh
  3. ./show-tor-urls.sh

show-tor-urls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment