its for when you want to get like notifications for your reposts
1this is a small jetstream-consuming server that can notify
2subscribers of when a repost of theirs has been (un)liked.
3
4one current limitation is that like records that were made
5before the server started are not fetched, this means that
6if someone unlikes a repost before the server was started
7you won't get a notification for this. (this is solvable
8and was solved but dusk decided it didn't matter too much
9to keep in, which makes everything simpler)
10
11### usage
12
13open a websocket at path `/subscribe/:did` where `did` is
14your DID (or any other user you want to stalk.) by default
15it will use your *follows* for who to notify you with.
16
17you can specify `?listenTo=none` if you wish to configure
18which users you want to listen to. after opening a websocket
19with that, send a JSON message like below:
20
21```json
22{
23 "type": "update_listen_to",
24 "content": {
25 "listen_to": ["did:plc:blablabla", "did:web:example.org", ...]
26 }
27}
28```
29
30### building
31
32`go build`
33
34or
35
36`nix build git+https://tangled.sh/@gaze.systems/bsky-repost-likes`