this is a small jetstream-consuming server that can notify subscribers of when a repost of theirs has been (un)liked.
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)
a server is hosted at like.gaze.systems if you want to
not host your own.
usage#
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.
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:
{
"type": "update_listen_to",
"content": {
"listen_to": ["did:plc:blablabla", "did:web:example.org", ...]
}
}
you can also use the provided webapp to monitor any likes.
it is hosted at https://likes.gaze.systems/.
building#
go build
or
nix build git+https://tangled.sh/@gaze.systems/bsky-repost-likes
to build the webapp, get pnpm and then pnpm i && pnpm build