Scan with your iPhone to install
Preview
• Get nutritional facts of your food in a matter of seconds. • Counting calories has never been easier!
What's New
Version 1.0
First release
What it does
12 actions-
Text
-
Choose from Menu
-
Choose from MenuTake Picture
-
Take Photo
-
Show NotificationAnalyzing the food...
-
Use Model
-
Show Result
-
Choose from MenuUpload from Photos
-
Select Photos
-
Show NotificationAnalyzing the food...
-
Use Model
-
Show Result
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/photos'
#include 'actions/media'
#define color teal
#define glyph apple
menu nil {
item "Take Picture":
const Photo = takePhoto(1, true)
showNotification("Analyzing the food...", "", Photo)
askLLM("{Photo}/nutrition", "ChatGPT")
show()
item "Upload from Photos":
const Photos = selectPhotos()
showNotification("Analyzing the food...", Photos)
askLLM("{Photos}/nutrition", "ChatGPT")
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 arirafiq
You Might Also Like
Advertisement