this repo has no description
TypeScript 96.7%
JavaScript 2.7%
Other 0.6%
88 3 0

Clone this repository

https://tangled.org/alice.mosphere.at/sortinghat https://tangled.org/did:plc:by3jhwdqgbtrcc7q4tkkv3cf/sortinghat
git@tangled.org:alice.mosphere.at/sortinghat git@tangled.org:did:plc:by3jhwdqgbtrcc7q4tkkv3cf/sortinghat

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

Download tar.gz
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"

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