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