A simple BlueSky profile labeler that can be ran on Cloudflare Workers github.com/SocksTheWolf/SimpleBSkyLabeler
cf bsky profile label bluesky cloudflare workers
TypeScript 98.9%
HTML 0.9%
JavaScript 0.3%
Other 0.1%
16 1 1

Clone this repository

https://tangled.org/socksthewolf.com/simplebskylabeler https://tangled.org/did:plc:2vueglf2njr5gvdbaf75ih6a/simplebskylabeler
git@tangled.org:socksthewolf.com/simplebskylabeler git@tangled.org:did:plc:2vueglf2njr5gvdbaf75ih6a/simplebskylabeler

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

Download tar.gz
README.md

Simple BSky Label Service#

Deploy to Cloudflare Workers

This is a fairly barebones Cloudflare Worker + Site which acts as a Bluesky labeler service.

Allows for users to sign up for a single label you provide and display it on their profiles.

Stores everything in an D1 db, you can import them by using npm run setup after you have ran npm run createdb.

Uses Skyware to initially set up the label service for the account. Use npx @skyware/labeler setup to initialize the label service, npx @skyware/labeler label add to create a label.

To Customize#

  • Modify html files in the html/transforms folder.
  • Modify the images html/favicon.ico and everything in html/img.
    • You can use this site to convert an image to the various favicon formats.
    • You should not modify the site.webmanifest, as this project automatically updates that for you.
  • Set the routes in the wrangler.toml to your domain
  • Modify the [vars] in wrangler.toml to change the values of:
    • SITE_TITLE
    • SITE_DESCRIPTION
    • SITE_SHORTNAME
    • LABEL_SRC
    • LABEL_VAL

Stack#

  • CF Workers
  • CF D1
  • PicoCSS
  • HTMX
  • HTMX Response Targets