diff --git a/refreshtoots.sh b/refreshtoots.sh new file mode 100755 index 0000000..836ed82 --- /dev/null +++ b/refreshtoots.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh +mv static/data/toots.json static/data/toots.old.json +SERVER=https://fosstodon.org +MID=108219415927856966 +curl "$SERVER/api/v1/accounts/$MID/statuses" -o static/data/toots.json +echo "Done"