DEV Community

Jesse Houwing
Jesse Houwing

Posted on • Originally published at jessehouwing.net on

Allow people to find you on Mastadon from your Ghost Pro domain

Allow people to find you on Mastadon from your Ghost Pro domain

First, I grabbed my personal finger file from my Mastadon server (hachyderm.io):

GET https://hachyderm.io/.well-known/webfinger?resource=acct:jessehouwing@hachyderm.io

{
    "subject": "acct:jessehouwing@hachyderm.io",
    "aliases": [
        "https://hachyderm.io/@jessehouwing",
        "https://hachyderm.io/users/jessehouwing"
    ],
    "links": [
        {
            "rel": "http://webfinger.net/rel/profile-page",
            "type": "text/html",
            "href": "https://hachyderm.io/@jessehouwing"
        },
        {
            "rel": "self",
            "type": "application/activity+json",
            "href": "https://hachyderm.io/users/jessehouwing"
        },
        {
            "rel": "http://ostatus.org/schema/1.0/subscribe",
            "template": "https://hachyderm.io/authorize_interaction?uri={uri}"
        },
        {
            "rel": "http://webfinger.net/rel/avatar",
            "type": "image/png",
            "href": "https://media.hachyderm.io/accounts/avatars/109/383/708/737/874/047/original/9ccec929256a6fd7.png"
        }
    ]
}
Enter fullscreen mode Exit fullscreen mode

I added it to the assets of my custom theme

Then added a redirect to my Ghost Redirects file:

[
    {
        "from": "^\\/(\\.well-known/webfinger.*)",
        "to": "/assets/$1",
        "permanent": true
    }
]
Enter fullscreen mode Exit fullscreen mode

And that was it. You can now find me on mastadon with *@jessehouwing.net.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay