Preview
- Free IP Lookup API.
What's New
Version 1.1
- auto copied to your clipboard.
What it does
18 actions-
Dictionary
-
Set Variableindex
-
Get Text from Input
-
Base64 Encode
-
Get URLs from Input
-
Set Variablemyip
-
Get Text from Input
-
Get Contents of URL…
-
Set VariableMethods GET
-
Set Variableright
-
Set Variableoutput
-
Base64 Encode
-
Set Variableleft
-
Text
-
Copy to Clipboard
-
Show Notification…
-
Stop This Shortcut
-
Commentreddit : u/1112_20607
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/text'
#define color blue
#define glyph locationPin
const myip = {
"!author": "https://is.gd/LJ8xXN",
"!store": "https://is.gd/KYdMgK",
"u": {
"crypt": "aHR0cHM6Ly9pcy5nZC9PMnlDbzY=",
"nothing": "WW91ciBJUCBBZGRyZXNzIDog"
}
}
@index = myip
const encode = getText(myip['u.crypt'])
const decoder = base64Encode(encode)
@myip = getURLs(decoder)
const nothing_clean = getText(@index)
@MethodsGET = fileRequest(@myip, "GET", {})
@right = @MethodsGET
@output = @right
@left = base64Encode(nothing_clean)
const result = "{@left} {@right}"
setClipboard(@output)
showNotification(result, "Copied!", false)
stop()
// reddit : u/1112_20607
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 m2robot
You Might Also Like
Advertisement