Mastodon handle converter

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

Matthew's Score
5/5
Total Actions
16
Built For

Shortcut Information

Use this shortcut to convert the link copied from your profile (i.e. https: or or mastodon.social 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.
Category
Complexity
Interactivity
Compatibility

Actions Used

If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
🔗
URL
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.
📄
Text
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
shortcuts://run-shortcut?name=Mastodon%20handle%20converter
Open Shortcut deep link
shortcuts://open-shortcut?name=Mastodon%20handle%20converter
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.