💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › shorten.sh.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
shorten.sh - dotfiles - Collection of my dotfiles
---
shorten.sh (162B)
---
1 #! /bin/sh
2
3 if [ -z "$1" ]
4 then
5 echo "No URL specified!"
6 exit
7 fi
8
9 uri="$1"
10
11 short="$(curl -sL "https://v.gd/create.php?format=simple&url=$uri")"
12
13 echo "$short"
generated w/ stagit-gemini