💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › shorten.sh.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
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