···11this is a small jetstream-consuming server that can notify
22-subscribers of when a repost of theirs has been liked.
22+subscribers of when a repost of theirs has been (un)liked.
3344-right now it will fetch your follows and listen to those
55-users for likes. this will be made more configurable later
44+one current limitation is that like records that were made
55+before the server started are not fetched, this means that
66+if someone unlikes a repost before the server was started
77+you won't get a notification for this. (this is solvable
88+and was solved but dusk decided it didn't matter too much
99+to keep in, which makes everything simpler)
610711### usage
81299-get go, build it, run it.
1313+open a websocket at path `/subscribe/:did` where `did` is
1414+your DID (or any other user you want to stalk.) by default
1515+it will use your *follows* for who to notify you with.
10161111-open a websocket at path `/subscribe/:did` where `did` is
1212-your DID (or any other user you want to stalk.)
1717+you can specify `?listenTo=none` if you wish to configure
1818+which users you want to listen to. after opening a websocket
1919+with that, send a JSON message like below:
2020+2121+```json
2222+{
2323+ "type": "update_listen_to",
2424+ "content": {
2525+ "listen_to": ["did:plc:blablabla", "did:web:example.org", ...]
2626+ }
2727+}
2828+```
2929+3030+### building
3131+3232+`go build`
3333+3434+or
3535+3636+`nix build git+https://tangled.sh/@gaze.systems/bsky-repost-likes`