ShareShortcuts

Vearch Prototype Public v0.1

This is the first prototype version of a new browser

vultario
Fork “Vearch Prototype Public v0.1”

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 vultario 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
42K
Saved
0
Actions
23
Category
Productivity
Version
1.0
Language
EN

This is the first prototype version of a new browser

What's New

Version 1.0

First release

Version History
1.0 May 7, 2022

First release

What it does

23 actions
  1. Get IP Address
  2. If
  3. Show Result
  4. Stop This Shortcut
  5. If
  6. Show Result
  7. Ask for Input
    What do you want to vearch? (For settings, type “Settings”.)
  8. If
  9. If
  10. Set Variable
    Web Name
  11. Text
  12. Set Variable
    URL
  13. Get Contents of URL
    …
  14. If
  15. Show Result
  16. Stop This Shortcut
  17. If
  18. Choose from Menu
    Pick one:
  19. Choose from Menu
    Load Basic HTML
  20. Quick Look
  21. Choose from Menu
    Quick Show
  22. Get Text from Input
  23. Show Result

View as code
Beta

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/network'
#define color darkblue
#define glyph feed

const CurrentIPAddress = getExternalIP()

if !CurrentIPAddress {
	show("Error %1%: No Wi-Fi detected.")
	stop()
} else {
}
show("Hello, nice to see you again!")
const ProvidedInput = prompt("What do you want to vearch? (For settings, type “Settings”.)")

if ProvidedInput == "Settings" {
} else {
}
@WebName = ProvidedInput
@URL = "{@WebName}.com"
const ContentsOfURL = fileRequest(@URL, "GET")

if !ContentsOfURL {
	show("Error 404: Unable to find URL.\nThis could happen because you don't have Wi-Fi or you have typed the wrong name of the website. It could also be because the website is temporarily down or has moved to another address.")
	stop()
} else {
}

menu "Pick one:" {
item "Load Basic HTML":
	quicklook(ContentsOfURL)
item "Quick Show":
	getText(ContentsOfURL)
	show()
}
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 vultario

See All

You Might Also Like

See All
Advertisement