Cloudflare AI with SvelteKit 🤖 “When does the lightbulb turn on?” riddle game 🔴 LIVE Coding & Chill

Опубликовано: 04 Май 2026
на канале: Johnny Magrippis
154
7

Inspired by a task in the latest series of Taskmaster, let’s make a few unique riddles: the user has to figure out what circumstances make a lightbulb turn on!

And to make it even more interesting, for the first time ever we’ll be using Cloudflare AI, to better assess whether the user’s answer should be accepted!

🚀 Click around the app yourself: https://lightbulb-riddle.j-e7c.worker...
💻 See the code (private repo 😱): https://github.com/johnnify & https://github.com/johnnify/lightbulb...

Check around the channel for more playlists and increasingly complicated tech stack choices 🙌

— JOHNNIFY PREMIUM —
Get this repository AND MORE with Johnnify Premium: https://johnnify.com/premium
— 🙌🙌🙌 —

— COMMUNITY —
Our DISCORD SERVER 👾:   / discord  
— 🥳🥳🥳 —

— AGENDA —
[ ] What are we doing today 🤔 A riddle game? With real coding AND Claude Code?!
[ ] Let’s make the 💡 turn on for a more fun reason…
[ ] Form for the user to submit a response!
[ ] Success ✅ and error ❌ messages!
[ ] Let’s use Cloudflare AI 🤖 to fairly assess whether the user answered correctly or not!
[ ] Let’s cache answers and assessments, persisting to Cloudflare D1!
— BONUS —
[ ] Confetti 🎊 for the WIN!
[ ] New riddle: Stream the user’s camera feed!
[ ] Let’s detect when the user smiles!
[ ] Final 🥳 DEMO + LIKE 💜 SUBSCRIBE
— HAVE FUN —

No affiliations whatsoever: if I show something, you know you're hearing my unfiltered thoughts 😄

— Highlighted software —
SvelteKit: https://svelte.dev/
Cloudflare: https://developers.cloudflare.com/
Tailwind: https://tailwindcss.com/

My own website: https://magrippis.com/

And, of course, remember: Get this repository AND MORE with Johnnify Premium!

https://johnnify.com/premium

Search for `@jmagrippis` to find me on socials like Instagram & Threads! And I’m most active in our DISCORD SERVER 😉:   / discord  

Between the comment section and the socials, let me know *somewhere* what you’d like me to cover next 🙌

Stream number 148!