Blog
Thoughts on building AI chatbots, shipping SaaS products, and the tools that make it possible.
Presigned or it didn't happen: safe direct-to-bucket uploads in Next.js
Don't proxy file uploads through your Next.js server. Instead, authenticate the user, validate the upload intent (type, size, filename), generate a short-lived presigned POST with policy conditions that lock the key, content type, and size range, then let the browser upload directly to your S3-compatible bucket. The bucket enforces your rules even if the client lies. Your server stays lean, your bandwidth stays cheap, and your security is enforced at two layers instead of one.
Best Next.js AI Chatbot Boilerplate in 2026 — The Complete Guide
A detailed comparison of every serious option for building a production AI chatbot with Next.js in 2026 — open-source templates, general-purpose SaaS kits, and purpose-built chatbot boilerplates, ranked by features, pricing, and production-readiness.