Pronouns labels on Bluesky
TypeScript 100.0%
74 1 0

Clone this repository

https://tangled.org/pronouns.diy/pronouns-bsky
git@knot.pdsls.dev:pronouns.diy/pronouns-bsky

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

README.md

Configuration#

Run npx @skyware/labeler setup to convert an existing account into a labeler.

Create a .env file:

DID = "did:plc:xxx"
SIGNING_KEY = "xxx"
RELAY = "ws://localhost:6008/subscribe?wantedCollections=app.bsky.feed.like"

See jetstream for more informations on how to host your own relay stream, otherwise use an existing one.

A cursor.txt also needs to be present. It can be left empty, and will update the file every minute with a new cursor.

Create labels with npx @skyware/labeler label add and edit src/constants.ts with the related post rkeys and label IDs.

The server has to be reachable outside your local network using the URL you provided during the account setup (typically, using a reverse proxy such as Caddy):

labeler.example.com {
	reverse_proxy 127.0.0.1:4001
}

Installation & Usage#

npm i
npm start