Scan with your iPhone to install
Best shortcut to short you Links!
Can shot multiple links
smart and small domain to short any link
What's New
Version 1.0
First release
What it does
19 actions-
If
-
If
-
Get Clipboard
-
Replace Text
-
Count
-
If
-
Show AlertError
-
Stop This Shortcut
-
If
-
Text
-
If
-
Show Alert!
-
Stop This Shortcut
-
Repeat with Each
-
Get Contents of URLhttps://m-r.pw/api?link=…
-
Get Dictionary Value
-
Text
-
Copy to Clipboard
-
Vibrate Device
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define mac false
#include 'actions/web'
#include 'actions/text'
#include 'actions/sharing'
#define color lightblue
#define glyph chainlink
if ShortcutInput contains "http" {
} else {
getClipboard()
const UpdatedText = replaceText("https://m-r.pw/", "")
const Count = count(UpdatedText, "Characters")
if Count == 4 {
alert("You can’t short link twice!\n\n{}", "Error")
stop()
} else {
}
}
if IfResult !contains "http" {
alert("You should copy any URL to Run shortcut.", "!")
stop()
}
for _ in IfResult {
const ContentsOfURL = downloadURL("https://m-r.pw/api?link={@RepeatItem}")
}
const Text = "{}"
setClipboard(Text)
vibrate()
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by yas8p
You Might Also Like
Advertisement