activitypub

This commit is contained in:
notplants 2024-02-21 12:54:43 -06:00
parent 95cadb57e8
commit 8ad278ecb1
1 changed files with 19 additions and 0 deletions

View File

@ -24,3 +24,22 @@ and continue using the generate-html script.
Example template files are in the templates folder and are made using jinja. You can modify these or make your own. Example template files are in the templates folder and are made using jinja. You can modify these or make your own.
https://books.commoninternet.net is an example website generated with this script from three bookwyrm lists. https://books.commoninternet.net is an example website generated with this script from three bookwyrm lists.
___
### ActivityPub
Bookwyrm is built using ActivityPub which I wanted to explore a bit with this script.
I was able to easily download the contents of a list into a yaml using the json+ld endpoint for the URL of the list.
For example, in bash, for the list: https://wyrms.de/user/j12i/books/reading
```bash
http https://wyrms.de/user/j12i/books/reading?page=1 "accept: application/ld+json"
```
Bookwyrm documentation on ActivityPub: https://docs.joinbookwyrm.com/activitypub.html