~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.17.0 Latest 2 packages, 1 image

1
10

Accounts can set a knotless profile over their Bluesky one

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/knotless:profile/knotless

Closes Let accounts set a knotless profile instead of their Bluesky one

A dev.knotless.profile record (rkey self): displayName, description, pronouns, links, avatar. Each field overrides the Bluesky profile's field by field; with no record, an account shows as it does today.

  • Links: inline {url, title?} objects (max 10, dev.knotless.defs#link). The fallback is Bluesky's links (its app.bsky.actor.link records), then its website. Only http/https addresses are shown.
  • Avatar: served from the account's PDS at /_data/_avatar/<did>/<cid>, and only for the CID the profile names, so it doesn't depend on Bluesky's CDN.
  • XRPC: dev.knotless.getProfile?actor= returns the merged profile, with the avatar as a full URL. It takes a DID or handle and returns a DID, since the repo's lexicon rules don't allow handles.
  • Setting it: knotless profile --name/--bio/--pronouns/--link [--title]/--avatar, and the set_profile MCP tool. '' clears a field; a profile left empty is deleted.
  • Caches: the AVATARS cache reads both records, so a change shows within its 10 minutes, or right away on the profile page.
  • OAuth: now also asks for repo:dev.knotless.profile and blob:image/png/image/jpeg, so existing OAuth sessions need to log in again before setting a profile.

Left for later: a bot/organization kind with a confirmed operator, and pinned repositories.

🤖 Generated with Claude Code

Merged as cced3d8
Merging this pull closed these issues