AI Dev Lab

Mentoring Tomorrow's AI Developers

Category: Serverless & Edge

  • Tracking Visits During Maintenance: An Edge-First Cloudflare Architecture

    Tracking Visits During Maintenance: An Edge-First Cloudflare Architecture

    How to keep an Angular SPA and CMS-backed website communicative during downtime – and measure maintenance traffic without relying on the systems currently being repaired. Planned maintenance is one of the few situations in which a website needs to remain available precisely when its primary application cannot be trusted. The CMS may be deploying, the…

  • 🦁 The Lion Roars Again: Real-Time Order Notifications from Allegro

    🦁 The Lion Roars Again: Real-Time Order Notifications from Allegro

    How I built a serverless order monitoring system with Cloudflare Workers that polls Allegro’s API every 3 minutes and triggers webhooks for new orders — all for $0/month. The Story So Far Remember a month ago when I built that order notification system and had a lion roar every time a new order came in?…

  • Async AI Image Generation with Cloudflare Workers & Make.com

    Async AI Image Generation with Cloudflare Workers & Make.com

    How I solved the 40-second timeout problem by splitting content automation into three decoupled stages — without rewriting a single Make.com scenario. May 2026  ·  10 min read Background A few months ago I wrote about automating WordPress article publishing and social media distribution with Make.com and LLMs . The pipeline was working great: read a recipe…

  • Building a Gluten Label Scanner on Cloudflare Workers AI (Gemma 4)

    Building a Gluten Label Scanner on Cloudflare Workers AI (Gemma 4)

    I started this project because I wanted to test the newly introduced Gemma 4 model with Workers AI stack and compare it against my older production-style application built on Next.js + Vercel + Google API (Gemini 3): https://gd.marketscanai.com/en. I built a production-ready gluten label scanner using Cloudflare Workers + Workers AI, with the @cf/google/gemma-4-26b-a4b-it model…

  • Middleware on Netlify with Next.js

    Yes, there are known issues with Next.js middleware (middleware.ts) on Netlify, and these can cause your pages not to display or route correctly in production, even if everything works locally. TL;DRread documentation:https://docs.netlify.com/frameworks/next-js/runtime-v4/redirects-and-rewrites/ Key Issues Identified Workarounds and Recommendations Summary Table Issue Type Impact on Netlify Workaround/Advice Middleware runs on all paths Causes 404s, breaks static…