ShareShortcuts

BTC to USD

Get the value of your Bitcoin

blackhatteam
Fork “BTC to USD”

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 blackhatteam 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
36K
Saved
0
Actions
27
Category
Calculations
Version
2.0
Language
EN

Get the value of your Bitcoin.

Do you acquire Satoshi in various amounts and want a way to determine the value without having to use a search engine?

Do you simply want to see the value of your Bitcoin?

BTC to USD may be the tool you need.

Simply enter the amount of Bitcoin (Satoshi) to see the value in USD. The value can then be saved to a file to view as an archive.

The shortcut gets the answer from Bing search on the web and uses ChatGPT to display the result.

*The shortcut now requires the ChatGPT app.

*If you get an error with ChatGPT, go to the app and delete your chat history.

What's New

Version 2.0

- added the ChatGPT app

Version History
2.0 Jun 20, 2023

- added the ChatGPT app

1.3 Jun 20, 2023

- added Bing search on the web

1.2 Jan 24, 2023

Bug fix...

1.1 Jan 24, 2023

Fix for iOS 16.3

1.0 Jan 18, 2023

First release

What it does

27 actions
  1. Get File
  2. If
  3. Create Folder
  4. Show Alert
  5. Open URLs
  6. Wait
  7. Text
  8. Close Tab
    com.apple.mobilesafari
  9. Show Alert
  10. Choose from Menu
  11. Choose from Menu
    Get Bitcoin Value
  12. Ask for Input
    Enter amount of Bitcoin
  13. URL
    https://www.bing.com/search?q=…BTC to USD
  14. Get Contents of Web Page
  15. Ask ChatGPT
  16. Text
  17. Show Result
  18. Ask for Input
    Enter Bitcoin Value $
  19. Append to Text File
  20. Run Shortcut
    BTC to USD
  21. Choose from Menu
    View Saved Values
  22. If
  23. Show Alert
  24. If
  25. Open File
  26. Choose from Menu
    Quit Shortcut
  27. Stop This Shortcut

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/documents'
#define color green
#define glyph bitcoin

const File = getFileFromFolder(, "Bitcoin", false)

if !File {
	createFolder("Bitcoin")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/bitcoin.html")
	wait(6)
	const Text = "Bitcoin"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	confirm("Setup Complete! Run Shortcut? ")
}

menu nil {
item "Get Bitcoin Value":
	prompt("Enter amount of Bitcoin", "Number")
	url("https://www.bing.com/search?q={}BTC to USD")
	getWebpageContents()
	rawAction("com.openai.chat.AskIntent", {
		"AppIntentDescriptor": "",
		"ShowWhenRun": false,
		"newChat": true,
		"prompt": "Generate a summary using this page: \\\"{}\\\""
	})
	show()
	const ProvidedInput = prompt("Enter Bitcoin Value $", "Number")
	appendToFile("Bitcoin/values.txt", "{CurrentDate} - {} BTC is ${ProvidedInput}")
	runSelf(ProvidedInput)
item "View Saved Values ":
	if !File['Contents'] {
		alert("You have not added any values! ", "")
	} else {
		openFile()
	}
item "Quit Shortcut":
	stop()
}
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 blackhatteam

See All

You Might Also Like

See All
Advertisement