The most popular Gemini hosting
I've constructed some (ugly) one liner:
- Connect and get the list of capsules from [auragem.space]
- Filter gemini:// addresses (first grep)
- Filter domain names from above (sed)
- Filter second-level domain names from above (second grep)
- Sort, count unique names and sort by counted
openssl s_client -crlf -quiet -connect auragem.space:1965 <<< gemini://auragem.space/search/capsules 2>/dev/null | grep -oP 'gemini://[^ ]+' | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/' | grep -oP '[^\.]+\.[^\.]+$' | sort | uniq -c | sort -nr | less
Bellow the current output of this script.
--
szczezuja.space CC BY-SA
@ Sun 28 Aug 2022 05:25:52 PM CEST
tags: #gemini, #bash