diff --git a/tilserv/announce/mkfpost b/tilserv/announce/mkfpost new file mode 100755 index 0000000..7474c9f --- /dev/null +++ b/tilserv/announce/mkfpost @@ -0,0 +1,8 @@ +#!/usr/bin/env -S bash -e +[[ -z "$1" ]] && { + printf "Usage: %s message\n" "$0" + exit 1 +} +instance="https://fedi.vern.cc" +curl "${instance}"/api/v1/statuses -H 'Authorization: Bearer '"$(