ShareShortcuts

m-r.pw

Best shortcut to short you Links!

yas8p
Fork “m-r.pw”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so yas8p gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
46K
Saved
1
Actions
19
Category
API
Version
1.0
Language
EN

Best shortcut to short you Links!

Can shot multiple links

smart and small domain to short any link

m-r.pw


What's New

Version 1.0

First release

Version History
1.0 Apr 19, 2022

First release

What it does

19 actions
  1. If
  2. If
  3. Get Clipboard
  4. Replace Text
  5. Count
  6. If
  7. Show Alert
    Error
  8. Stop This Shortcut
  9. If
  10. Text
  11. If
  12. Show Alert
    !
  13. Stop This Shortcut
  14. Repeat with Each
  15. Get Contents of URL
    https://m-r.pw/api?link=…
  16. Get Dictionary Value
  17. Text
  18. Copy to Clipboard
  19. Vibrate Device

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement