{"id":1005,"slug":"chomptron","title":"Chomptron","excerpt":"I bought the domain for a recipe blog, then remembered I hate recipe blogs.","content":"\u003cp\u003eDo you hate cooking blogs? Sure, we all do..\u003c/p\u003e\n\u003cp\u003eInane story, some ads, ingredient somewhere, more adds, quatities somewhere else, another ad.  Like and subscribe..\u003c/p\u003e\n\u003cp\u003eIt is embarrassing to say that I bought the domain name with that sort of thing in mind. I have some of our go-tos in texts from Katie and others that I have emailed to myself (from texts from Katie). I parked some stuff on WordPress and promptly remembered that I hate WordPress about as much as I hate cooking blogs. We know what we have and what we like.. it wasn\u0026rsquo;t a very practical idea. No reason to host that sort of thing.\u003c/p\u003e\n\u003cp\u003eSo instead, I sort of built an anti-food-blog: \u003cstrong\u003e\u003ca href=\"https://chomptron.com\"\u003eChomptron\u003c/a\u003e\u003c/strong\u003e. Type in whatever\u0026rsquo;s in the fridge and Gemini hands back a recipe. No story.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/uploads/2025/12/chomptron-screenshot.png\" alt=\"Chomptron in action\"\n  loading=\"lazy\"\n  decoding=\"async\"\n/\u003e\n\u003c/p\u003e\n\u003cvideo width=\"100%\" controls\u003e\n  \u003csource src=\"/uploads/2025/12/chomptron-demo.mp4\" type=\"video/mp4\"\u003e\n  Your browser doesn't support video.\n\u003c/video\u003e\n\u003cp\u003eChicken, some tomatoes, garlic, half an onion.. or just sriracha and some leftovers. Hit generate, get measurements and steps. It scales from 0.25x to 4x so nobody has to do the math, and there are filters for vegan through shellfish-free. It keeps up to 100 recipes in your browser\u0026rsquo;s \u003ccode\u003elocalStorage\u003c/code\u003e.. I don\u0026rsquo;t want your email, and I don\u0026rsquo;t want to manage a user database. Dark mode, to wreck your eyes.\u003c/p\u003e\n\u003ch2 id=\"the-stack\"\u003eThe Stack\u003c/h2\u003e\n\u003cp\u003eNode 20 + Express, vanilla HTML/CSS/JS, and \u003ccode\u003egemini-2.5-flash-lite\u003c/code\u003e, on Cloud Run. It scales to zero, so if nobody\u0026rsquo;s using it I pay nothing. A 24-hour cache and some rate limiting keep the Gemini bill sane. Push to main, Cloud Build builds the container, a gang of tests run, and it\u0026rsquo;s live a few seconds later. Health checks, Open Graph tags, and you can pin it to your home screen.. the regular dev junk.\u003c/p\u003e\n\u003cp\u003eLive: \u003ca href=\"https://chomptron.com\"\u003ehttps://chomptron.com\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSource: \u003ca href=\"https://github.com/swantron/chomptron\"\u003ehttps://github.com/swantron/chomptron\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eIt\u0026rsquo;s free to use and nearly free to run (plz don\u0026rsquo;t spam it). It was a fun excuse to get back into GCP and keep a JS project clean.\u003c/p\u003e\n","date":"2025-12-31T04:00:00Z","permalink":"https://swantron.com/2025/12/31/chomptron/","link":"https://swantron.com/2025/12/31/chomptron/","path":"/2025/12/31/chomptron/","featuredImage":"/uploads/2025/12/chomptron-screenshot.png","categories":[],"tags":[]}