orderedcollection.sh | ||
README.md | ||
webfinger.sh |
minimal fedi shell wrappers
idk what to call this!
why
getting some posts from the CLI is by no means hard- but there are some quirks that might be forgotten when doing it this way. domains could be delegated, for example. Honestly that's mostly all I did this to handle lol.
basically this is a repo with a script for getting an actor's json. and another script for getting orderedcollection pages. might add more things at some point, but i'm writing this in a terminal on my phone simply because i am bored so don't expect much from this project lmfao
dependencies
- sh
- curl
- jq
usage
# get an actor response
./webfinger.sh @h@besties.house
# get page 1 of the outbox
./orderedcollection.sh $(./webfinger.sh @h@besties.house | jq -r '.outbox') 1