its for when you want to get like notifications for your reposts
Go 49.0%
TypeScript 42.2%
Nix 3.2%
JavaScript 2.6%
HTML 1.7%
CSS 1.2%
Other 0.1%
24 1 0

Clone this repository

https://tangled.org/ptr.pet/bsky-repost-likes
git@knot.gaze.systems:ptr.pet/bsky-repost-likes

For self-hosted knots, clone URLs may differ based on your setup.

README.md

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/@poor.dog/bsky-repost-likes


to build the webapp, get pnpm and then pnpm i && pnpm build