Skip to content

Add a verified Website field to the fediverse profile - #86

Merged
davidwkeith merged 1 commit into
mainfrom
claude/dazzling-pascal-khiucf
Oct 23, 2026
Merged

davidwkeith merged 1 commit into
mainfrom
claude/dazzling-pascal-khiucf

Conversation

@davidwkeith

Copy link
Copy Markdown
Owner

Item 2 from the IndieWeb re-evaluation.

Bumps @dwk/activitypub from 1.0.0-beta.11 to 1.0.0-beta.12, which adds actor.fields (davidwkeith/workers#556). The actor at /users/dwk now has this profile field:

{ "type": "PropertyValue", "name": "Website", "value": "<a href=\"https://dwk.io/\" rel=\"me nofollow noopener\" target=\"_blank\">dwk.io</a>" }

The home page already links back to https://dwk.io with rel="me", so Mastodon can show the field as verified (the green ✓). Mastodon checks fields asynchronously when it next refreshes the profile, so the ✓ may take a while to appear.

test/fediverse.test.ts covers the field's HTML and the home page's rel="me" link back. npm run check and npm test (71/71) pass.


Generated by Claude Code

@dwk/activitypub 1.0.0-beta.12 federates actor.fields; the actor lists
https://dwk.io/ as a rel=me Website, and the home page's rel=me link back
lets Mastodon mark it verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WbUv9Xm89nfu5eo483CA9X

Copy link
Copy Markdown
Owner Author

Code review: no blocking issues.

  • fields: [{ name: "Website", value: me }] reuses the existing me constant (https://dwk.io/). That matches the home page's rel="me" back-link, which is what Mastodon verification needs.
  • The @dwk/activitypub bump from beta.11 to beta.12 changes only package.json and the lockfile. The integrity hash and resolved URL are consistent.
  • The test checks the generated attachment HTML and the home page's back-link. The regex expects rel before href in the anchor, so it will break if the markup's attribute order changes. That is acceptable.
  • CI (test) and Workers Builds were still running when I reviewed, so please confirm they go green before merging.

Generated by Claude Code

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://claude-dazzling-pascal-khiucf-dwk.8k9dgysp29.workers.dev (commit 616da36)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://99c1a297-dwk.8k9dgysp29.workers.dev 616da36 2026-10-23T03:44:59.500Z Visit the dashboard ↗

@davidwkeith
davidwkeith merged commit 5b588eb into main Oct 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants