Scan med din iPhone for at installere
An api warper for r.tins.ml/api
(fact : this is my website too )
Uses
I just give an example: https://youtube.com/watch?v=dQw4w9WgXcQ to https://r.tins.ml/GRgeWw
How to use 🤔
1. Get a link (yeah,sure)
- It has 2 options to import link:
- Click share and import it to this shortcuts
- Click directly to shortcut and its will copy your clipboard( if there no links you can enter its manually)
- Wait and you will get a link (:
Supported Language
🌐 English 🇺🇸🇬🇧,Vietnamese 🇻🇳
Sorry for my bad english ;-;
Original shortcuts on RoutineHub: https://routinehub.co/shortcut/11781/
I’ll make a version for shereshortcuts.com soonnnnn…
Nyheder
Version 1.0
First release
Hvad den gør
57 handlinger-
CommentĐược làm bởi @justanormalguy.-. Made by @justanormalguy.-.
-
Dictionary
-
Set Variableudinfo
-
Get URLs from Input
-
Set Variableinput
-
Dictionary
-
Text
-
Get Dictionary Value
-
Get Dictionary from Input
-
Set VariableLangpack
-
Get IP Address
-
Count
-
If
-
Show Alert
-
Stop This Shortcut
-
URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Get Contents of URL…
-
Get Dictionary Value
-
Set VariableV
-
Get Dictionary Value
-
If
-
Show Alert‼️…:…‼️
-
Replace Text
-
Open URLs
-
Stop This Shortcut
-
If
-
Ask for Input…
-
Set Variableinput
-
If
-
Choose from Menu…
-
Choose from MenuLangpack (nl)
-
Ask for InputVui lòng nhập url để rút gọn
-
Set Variableinput
-
Choose from MenuLangpack (out)
-
Stop This Shortcut
-
URLhttps://r.tins.ml/api/new?url=…
-
Get Contents of URL…
-
Get Dictionary Value
-
Set Variablelink
-
If
-
Get Dictionary Value
-
Set Variablestatus
-
Show Notification… : …
-
If
-
Choose from Menu… : …
-
Choose from MenuLangpack (save)
-
Copy to Clipboard
-
Show Notification…
-
Choose from Menu…
-
Choose from MenuLangpack (conti)
-
Run ShortcutShortlink
-
Choose from MenuLangpack (out)
-
Stop This Shortcut
-
Choose from MenuLangpack (conti)
-
Run ShortcutShortlink
-
Choose from MenuLangpack (out)
-
Stop This Shortcut
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#define color taupe
#define glyph paperAirplane
/*
Được làm bởi @justanormalguy.-.
Made by @justanormalguy.-.
*/
@udinfo = {
"author": "@justanormalguy.-.",
"id": "11781",
"version": "0.0.4"
}
getURLs(ShortcutInput)
@input
const Tin = {
"en": "{\"Qurl\": \"Please type url to shorten!\", \"Nohost\":\"Can’t short link by shorter.tins.ml\", \"nl\":\"Type manually\",\"out\": \"Exit\",\"sverror\":\"Something was wrong,content\",\"save\":\"Save to clipboard\",\"conti\":\"Short more\",\"suscess\":\"Shortened the link\",\"saved\":\"Saved to clipboard!\",\"nexttodo\":\"Choose next what to do!\",\"udn\":\"Update now?\",\"ud\":\"There’s a new version\",\"rn\":\"Release notes\",\"needwifi\":\"This shortcuts need connected to wifi to works\"}",
"vi": "{\"Qurl\": \"Vui lòng nhập url để rút gọn!\", \"Nohost\":\"Không thể rút gọn link của trang shorter.tins.ml\", \"nl\":\"Nhập lại\",\"out\": \"Thoát\",\"sverror\":\"Có lỗi gì đó đã xảy ra,chi tiết\",\"save\":\"Lưu vào bảng nhớ tạm\",\"conti\":\"Tiếp tục rút gọn\",\"suscess\":\"Đã rút gọn link thành công\",\"saved\":\"Đã thêm vào bảng nhớ tạm!\",\"nexttodo\":\"Vui lòng chọn tác vụ tiếp theo\",\"udn\":\"Cập nhật ngay?\",\"ud\":\"Đã có phiên bản mới\",\"rn\":\"Thông tin cập nhật\",\"needwifi\":\"Shortcuts cần wifi để hoạt động!\"}"
}
const GiTrTin = getValue(Tin)
getDictionary(GiTrTin)
@Langpack
const aChIPHinTi = getExternalIP()
const m = count(aChIPHinTi, "Items")
if m == 0 {
confirm(@Langpack['needwifi'])
stop()
}
url("https://routinehub.co/api/v1/shortcuts/{@udinfo['id']}/versions/latest")
const NiDungCaURL = downloadURL()
@V = NiDungCaURL['Version']
if @V != {
alert("{@Langpack['rn']} : {NiDungCaURL['Notes']} {@Langpack['udn']}?", "‼️{@Langpack['ud']}:{@V}‼️")
const VnBncCpNht = replaceText("https://www.icloud.com/", "shortcuts://", NiDungCaURL['URL'])
openURL(VnBncCpNht)
stop()
}
if !@input {
prompt(@Langpack['Qurl'], "URL")
@input
}
if @input contains "r.tins.ml" {
menu @Langpack['Nohost'] {
item @Langpack['nl']:
prompt("Vui lòng nhập url để rút gọn", "URL")
@input
item @Langpack['out']:
stop()
}
}
url("https://r.tins.ml/api/new?url={@input}")
const NiDungCaURL1 = fileRequest(, "GET")
const GiTrTin1 = getValue(NiDungCaURL1, "short_url")
@link = GiTrTin1
if !@link {
@status = NiDungCaURL1['message']
showNotification("{@Langpack['sverror']} : {@status}", GiTrTin1)
} else {
menu "{@Langpack['suscess']} : {@link} " {
item @Langpack['save']:
setClipboard(@link, false)
showNotification(@Langpack['saved'], @link)
menu @Langpack['nexttodo'] {
item @Langpack['conti']:
runSelf(@link)
item @Langpack['out']:
stop()
}
item @Langpack['conti']:
runSelf(@link)
item @Langpack['out']:
stop()
}
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Du vil måske også kunne lide
Annonce