A simple BlueSky profile labeler that can be ran on Cloudflare Workers github.com/SocksTheWolf/SimpleBSkyLabeler
cf bsky profile label bluesky cloudflare workers
1
fork

Configure Feed

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

move out the createdb

as the deploy to cf button will prompt you to make it.

as such, you'll only need to exec the sql file

+4 -4
+3 -3
README.md
··· 6 6 7 7 Allows for users to sign up for a single label you provide and display it on their profiles. 8 8 9 - Stores everything in an D1 db, you can import them by using `npm run setup`. 9 + Stores everything in an D1 db, you can import them by using `npm run setup` after you have ran `npm run createdb`. 10 10 11 11 Uses Skyware to initially set up the label service for the account. Use 12 12 `npx @skyware/labeler setup` to initialize the label service, `npx @skyware/labeler label add` to create a label. ··· 14 14 ## To Customize 15 15 16 16 * Modify html files in the `html/transforms` folder. 17 - * Modify the images `html/favicon.ico` and everything in `html/img`. 18 - * You can use [this site](https://favicon.io/favicon-converter/) to convert an image to the various favicon formats. 17 + * Modify the images `html/favicon.ico` and everything in `html/img`. 18 + * You can use [this site](https://favicon.io/favicon-converter/) to convert an image to the various favicon formats. 19 19 * You should not modify the `site.webmanifest`, as this project automatically updates that for you. 20 20 * Set the routes in the `wrangler.toml` to your domain 21 21 * Modify the `[vars]` in `wrangler.toml` to change the values of:
+1 -1
package.json
··· 3 3 "version": "1.0.0", 4 4 "private": true, 5 5 "scripts": { 6 + "createdb": "wrangler d1 create bskylabels --binding DB --update-config", 6 7 "deploy": "wrangler deploy", 7 8 "dev": "wrangler dev", 8 9 "types": "wrangler types", 9 10 "setup": "run-p setup:*", 10 - "setup:create": "wrangler d1 create bskylabels --binding DB --update-config", 11 11 "setup:local": "wrangler d1 execute bskylabels --file setup.sql --local -y", 12 12 "setup:remote": "wrangler d1 execute bskylabels --file setup.sql --remote -y", 13 13 "setup:types": "npm run types"