Mastodon handle converter

Converts a Mastodon profile URL into the @[email protected] format.

Matthew's Score
Total Actions
Built For

Shortcut Information

Use this shortcut to convert the link copied from your profile (i.e. https: or or or @matthewcassinelli) and swap it to handle format for looking up usernames (@[email protected]).

This shortcut accepts links from the Share sheet or if your profile is on-screen on Mac — use this option to convert someone else’s profile (maybe from a shared tweet) and look them up directly on Mastodon.

If no link is passed, the shortcut uses your own Mastodon username, so you can quickly share it with others so they can follow you.

Actions Used

Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
Passes the specified URL to the next action.
Split Text
Separates text passed into the action into a list.
Get Item from List
Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.
Passes the specified text to the next action.
Set Variable
Sets the value of the specified variable to the input of this action.

Extra Details

Run Shortcut deep link
Open Shortcut deep link
AppleScript code
tell application “Shortcuts Events” run shortcut “Mastodon handle converter” end tell

More From This Folder

You Might Also Like

Get way deeper into Shortcuts – become a member.