14 lines
161 B
Text
14 lines
161 B
Text
|
#!/usr/bin/env zsh
|
||
|
|
||
|
function usage() {
|
||
|
echo "$0 [<X.pub/hex..>]";
|
||
|
exit 1;
|
||
|
}
|
||
|
|
||
|
if [[ ! "$1" ]]; then
|
||
|
usage
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
xdg-open "https://nostr.band/$1"
|