Upgrade your bot
Buy sudo or root, or add a key you've already got. About 2 minutes. Same bot, same data, more features. Haven't got a bot yet? Set one up first.
ooh, an upgrade. let's do it.
Have you bought sudo or root yet?
Pick your plan
- Food photos → calories + macros
- Barcodes, labels + UK food database
- Meal ideas, kitchen + calorie targets
- Everything in sudo
- We set it up for you
- E-ink screen setup (bring your own)
No subscription. 14-day refund. After paying you come straight back here, and your licence key arrives by email. Compare every feature.
Check your licence key
It's in your purchase email from Dodo Payments, and in your Dodo customer portal. It looks like 2b1f8e2d-c41e-….
One licence = one bot. Checking it links it to the bot you upgrade.
Find your copy of the bot
When you set up, Cloudflare made you your own copy of the bot's code on GitHub (usually called touchgrass, find it on github.com ↗). Type its name:
Open the key file on GitHub
GitHub opens in a new tab with a file called touchgrass.license, your key already inside. Don't change anything in it.
Press Commit, twice
- On the GitHub tab, press the green Commit changes… button (top right).
- A box pops up. Press Commit changes again.
That's it. Cloudflare rebuilds your bot by itself in 1–2 minutes.
Open your bot's settings
- Open Workers & Pages ↗.
- Click your bot (usually touchgrass), then Settings.
- Scroll to Build and find its Variables and secrets (not the box with the same name higher up).
Add the key as a secret
Press Add, set the type to Secret, and paste:
TOUCHGRASS_LICENSE…Then press Save.
Rebuild your bot
- Open Deployments (top of your bot's page).
- On the latest build, open its ⋯ menu and press Retry build.
It takes 1–2 minutes.
Check it worked
Paste your bot's address, like https://touchgrass.yourname.workers.dev.
✓ filled in from when you set up. Check it's right, then press Check.
Can't find it? Open Workers & Pages ↗, click your bot (usually touchgrass) and look under Domains: copy the workers.dev one.
You're on sudo 🎉
Same bot, same data, more features. Send /help to see everything.
- Send a photo of your food. You get calories + macros to confirm. ✏️ fixes anything it got wrong.
/targetssets your daily calories and protein./scana barcode or/snapa nutrition label./ideasfor meal ideas, or/breakfast,/lunch,/dinner.- Open the mini app (the
[▮‿▮]button): calories, macros and today's meals are unlocked.
- Done-for-you setup: email hello@touchgrass.sh from your purchase email and we'll sort the rest.
- E-ink screen (your own TRMNL or Kindle): see the screen guide.
- Keep
touchgrass.licensein your GitHub copy (or the Cloudflare build secret). Every build checks it; delete it and the next build goes back to the open-source plan. - One licence, one bot. It's now linked to this one.
- AI running costs: food photos use Workers AI on your Cloudflare account. Normal use fits the free daily allowance; past it, Cloudflare bills you, not us. More.
- Changed your mind? 14-day refund.
- Anything else: the guide, or hello@touchgrass.sh.