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.
8
9a server is hosted at `likes.gaze.systems` if you don't want
10to host your own.
11
12### usage
13
14you can use the browser extension
15([firefox](https://dev.gaze.systems/x/brl-ext-firefox-latest.zip),
16[chrome](https://dev.gaze.systems/x/brl-ext-chrome-latest.zip))
17to keep track of the likes.
18you can also use the provided webapp, which is hosted at
19`https://likes.gaze.systems/`.
20
21#### details
22
23open a websocket at path `/subscribe/:did` where `did` is
24your DID (or any other user you want to stalk.) by default
25it will use your *follows* for who to notify you with.
26
27you can specify `?listenTo=none` if you wish to configure
28which users you want to listen to. after opening a websocket
29with that, send a JSON message like below:
30
31```json
32{
33 "type": "update_listen_to",
34 "content": {
35 "listen_to": ["did:plc:blablabla", "did:web:example.org", ...]
36 }
37}
38```
39
40### building
41
42if using nix, see available packages with
43`nix flake show git+https://tangled.sh/@poor.dog/bsky-repost-likes`.
44
45otherwise:
46- to build the server, do `cd server && go build`,
47- to build the webapp, get pnpm and then
48 `cd webapp && pnpm i && pnpm build`,
49- to build the extension, first build the webapp and then run
50 `cd extension && pnpm i && pnpm build`.