Changelog: Mastodon URLs in profile

I'm slowly migrating from Twitter to Mastodon, so I thought it'd be nice to be able to link my account from my profile. One PR later this is now possible:

Edit Mastodon URL

Mastodon icon

Add your URL now and increase your Fediverse street cred instantly ;-)

Did you find this post useful? Show some love!

Hmm, I can't seem to add my URL. I get an error about an invalid url and a whitelisting issue. I guess needs to get whitelisted?

My URL is

It's a legit Mastodon instance created by Nolan Lawson

I'm happy to throw up a PR of need be.

Your post also reminded me that Mastodon still exists ;)

I have the whitelisted error too for my own instance. :(

There's a lot of Mastodon instances, doing a whitelist is a terrible idea. Especially since the goal of Mastodon is to not put everyone in the same silo.

My original implementation didn't have a whitelisting mechanism, but others disagreed. See the PR for the discussion.

Awesome 🤩

But I get the message Mastodon url is not a whitelisted Mastodon instance for

Will it maybe better to accept the normal Mastodon notation (

It's a URL, did you include the protocol part? This uses the exact same validation as the website URL.

Yes. Here the URL I added:

The only message which I get is:

Mastodon url is not a whitelisted Mastodon instance

PR created:

But I also think that whitelisting is not a good idea. There are existing many instances with only one account. E.g.


We can consider other longterm solutions separate from whitelisting.

In the meantime, it might make sense to include a "more info" link in the error message about how to make a PR to whitelist an instance.

Classic DEV Post from May 30

Think Like a Programmer??

What does this even mean??

Michael Kohl
Your friendly neighborhood anarcho-cynicalist. Taming bits and herding developers (aka engineering lead). ¯\_(ツ)_/¯ and (╯°□°)╯︵ ┻━┻) are my two natural states.

Be a better developer. Free forever.