Compare commits

...

2 Commits

Author SHA1 Message Date
notplants
1d14c85d42 readme 2024-02-21 12:55:33 -06:00
notplants
8ad278ecb1 activitypub 2024-02-21 12:54:43 -06:00

View File

@ -24,3 +24,24 @@ 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"
```
Thus its very easy to fetch various objects from Bookwyrm and transform them or use them in a new context.
Bookwyrm documentation on ActivityPub: https://docs.joinbookwyrm.com/activitypub.html