summaryrefslogtreecommitdiff
path: root/Federated-starring.md
diff options
context:
space:
mode:
authorAnthony Wang2022-04-28 21:18:02 +0800
committerAnthony Wang2022-04-28 21:18:02 +0800
commit9537d8266af58fbc545bf3876653448f293308d4 (patch)
treebced04dec453a5063f7c9df7a2c20e4b1a13ddbc /Federated-starring.md
parentbaaa165f5c71b51e021fb540db9fb750f47caa11 (diff)
Copy federated starring info from notes.md to wiki
Diffstat (limited to 'Federated-starring.md')
-rw-r--r--Federated-starring.md12
1 files changed, 12 insertions, 0 deletions
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