Cloudflare Worker for generating Mastodon-compatible webfinger responses.
Here's a quick guide on how to get this working on your own domains:
- Clone this repository.
- Modify
aliases
insrc/index.ts
to point to meet your needs. - Run
npm deploy
to deploy your worker. - Open the Cloudflare dashboard and set up an alias for your worker to match on
your-domain.tld/.well-known/webfinger*
. - Make sure the worker is working properly by visiting
https://your-domain.tld/.well-known/webfinger?resource=acct:[email protected]
.
You can now be found on Mastodon by searching for the account aliases you've defined!