Added script to grab toots from mastodon

This commit is contained in:
Brandon Rozek 2022-05-03 01:09:38 -04:00
parent 71ac2b2331
commit d282fedb29

6
refreshtoots.sh Executable file
View file

@ -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"