From 8ad278ecb18ac0754c9f7d20ce9a0f62ea0f2b43 Mon Sep 17 00:00:00 2001 From: notplants Date: Wed, 21 Feb 2024 12:54:43 -0600 Subject: [PATCH] activitypub --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c8850ea..525b2b7 100644 --- a/README.md +++ b/README.md @@ -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. 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 + + +