From 9537d8266af58fbc545bf3876653448f293308d4 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 28 Apr 2022 21:18:02 +0800 Subject: Copy federated starring info from notes.md to wiki --- Federated-starring.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Federated-starring.md diff --git a/Federated-starring.md b/Federated-starring.md new file mode 100644 index 0000000..571ffa4 --- /dev/null +++ b/Federated-starring.md @@ -0,0 +1,12 @@ +Federated starring is very similar to federated following but requires the database to store remote repos in some way. It uses the ActivityPub `Like` activity and the `liked` collection. + +### TODO + +In addition to the federated following stuff: + +- Handle remote repos in the database +- Create actor endpoint for repos (similar to what we have right now for users) +- Add table for `liked` collection +- API endpoints for returning `liked` collection +- Implement function for fetching `liked` items and returing a collection +- Function for handling `Like` activities for the inbox \ No newline at end of file -- cgit v1.2.3-70-g09d2