this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README

alice fde5cee4 b537bdf1

+6 -2
+6 -2
README.md
··· 9 9 SIGNING_KEY = "xxx" 10 10 BSKY_IDENTIFIER = "xxx" 11 11 BSKY_PASSWORD = "xxx" 12 + PORT = 4002 13 + RELAY = "ws://localhost:6008/subscribe" 12 14 ``` 13 15 14 - A `cursor.txt` also needs to be present. It can be left empty, and will update the file every minute with a new cursor. 16 + A `cursor.txt` also needs to be present with the time in microseconds. If it doesn't exist, it will be created with the current time. 15 17 16 18 You can create/update all labels at once by running `npx tsx src/set-labels.ts` once you filled out `src/constants.ts` with the related post rkeys, label IDs and so on. 17 19 18 20 Alternatively, you can use `npx @skyware/labeler label add` and edit `src/constants.ts` after. 19 21 22 + The server connects to [Jetstream](https://github.com/ericvolp12/jetstream) which provides a WebSocket endpoint that emits ATProto events in JSON. There is a public instance available at `wss://jetstream.atproto.tools/subscribe`. 23 + 20 24 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](https://caddyserver.com/)): 21 25 22 26 ```Caddyfile 23 27 labeler.example.com { 24 - reverse_proxy 127.0.0.1:4001 28 + reverse_proxy 127.0.0.1:4002 25 29 } 26 30 ``` 27 31