its for when you want to get like notifications for your reposts

docs: update readme

ptr.pet ba1115af 4040f147

verified
Changed files
+30 -6
+30 -6
README.md
···
this is a small jetstream-consuming server that can notify
-
subscribers of when a repost of theirs has been liked.
+
subscribers of when a repost of theirs has been (un)liked.
-
right now it will fetch your follows and listen to those
-
users for likes. this will be made more configurable later
+
one current limitation is that like records that were made
+
before the server started are not fetched, this means that
+
if someone unlikes a repost before the server was started
+
you won't get a notification for this. (this is solvable
+
and was solved but dusk decided it didn't matter too much
+
to keep in, which makes everything simpler)
### usage
-
get go, build it, run it.
+
open a websocket at path `/subscribe/:did` where `did` is
+
your DID (or any other user you want to stalk.) by default
+
it will use your *follows* for who to notify you with.
-
open a websocket at path `/subscribe/:did` where `did` is
-
your DID (or any other user you want to stalk.)
+
you can specify `?listenTo=none` if you wish to configure
+
which users you want to listen to. after opening a websocket
+
with that, send a JSON message like below:
+
+
```json
+
{
+
"type": "update_listen_to",
+
"content": {
+
"listen_to": ["did:plc:blablabla", "did:web:example.org", ...]
+
}
+
}
+
```
+
+
### building
+
+
`go build`
+
+
or
+
+
`nix build git+https://tangled.sh/@gaze.systems/bsky-repost-likes`