All posts.
Every EasySpawn article, newest first — deploying AI-built apps, Claude Code, databases, security, and the infrastructure underneath.
822 posts · page 21 of 34
How to Build an AI Agent: The Loop, the Tools, and the Guardrails
An AI agent is a model in a loop: it decides on an action, a tool runs it, the result goes back, repeat. Build one from scratch with the Claude API's tool use, then see when to reach for the Claude Agent SDK or other frameworks — plus stopping conditions, memory, cost control and safety.
How to Build a Landing Page That Gets Sign-Ups
A landing page has one job: get the visitor to take one action. The sections that work, how to write a headline that says what the product does, where to put the sign-up form, what to measure, and the technical basics that stop it looking broken when shared.
Bubblewrap (bwrap): Building Unprivileged Sandboxes From Namespaces
Bubblewrap is the small, unprivileged sandboxing tool behind Flatpak and several AI coding agent sandboxes. How it assembles a sandbox from user, mount, PID and network namespaces, practical bwrap command lines, adding seccomp, network allow-listing via a proxy, the Ubuntu AppArmor user-namespace restriction, and its limits.
What Is a Brute Force Attack? And How to Protect Your App
A brute force attack tries huge numbers of passwords or keys until one works. The variants — dictionary attacks, credential stuffing, password spraying, SSH bots — and the defences that work: rate limiting, lockouts, 2FA, strong hashing, breached-password checks and SSH keys.
Blue-Green vs Canary vs Rolling Deployments
Three ways to release a new version without taking your app down or betting everything on it working. How blue-green, canary and rolling deployments work, what each needs, how they handle database migrations, and a pragmatic approach for a small app on one or two servers.
The Best MCP Servers for Coding (and How to Choose Safely)
The MCP servers worth installing for everyday coding with Claude Code, Cursor or VS Code: GitHub, Playwright, your database, docs lookup, error monitoring and more. What each is for, how to add one, and the safety rules that matter more than the list.
How to Choose a Domain Registrar (Cloudflare, Porkbun, Namecheap and More)
What actually matters when choosing where to buy a domain: renewal price (not the first-year deal), free WHOIS privacy, DNS quality, transfer-lock rules, 2FA and upsells. How popular registrars compare in approach, and the mistakes that cost people their domains.
The Best AI Coding Tools in 2026, by What You're Trying to Do
Terminal agents, AI editors, IDE assistants and app builders — the AI coding landscape sorted by job rather than hype. Claude Code, Codex, Cursor, Copilot, Gemini CLI, Lovable, Bolt, v0 and Replit: who each is for, and how to choose without trying them all.
Basic Linux Commands: The 50 You Need to Manage a Server
The Linux commands that cover almost everything you'll do on a server: moving around, files and folders, reading files and logs, searching, permissions, processes, disk and memory, networking, packages and services — each with a one-line explanation.
Bash Scripting for Beginners: Automate the Commands You Keep Typing
A bash script is a text file of terminal commands you can run in one go. How to write and run your first script, variables, arguments, if-statements and loops, the safety line every script should start with, and a real deploy script you can adapt.
Astro vs Next.js: Which Should You Use for Your Site?
Astro ships almost no JavaScript by default and shines for content sites. Next.js is a full React application framework. How they differ in philosophy, performance, data handling and hosting — and a simple rule for picking between them.
API Versioning: How to Change an API Without Breaking Clients
Once other apps depend on your API, changes can break them. What counts as a breaking change, versioning strategies (URL path, headers, Stripe-style dated versions), evolving without versions, deprecation with Sunset headers, and a practical approach for small teams.
How to Generate and Manage API Keys for Your Users
Letting customers call your API means issuing API keys. How to generate secure keys, prefixes that make them identifiable and scannable, storing only a hash, showing the key once, scopes and expiry, rotation, rate limits per key, logging usage, and revoking keys.
API Authentication Methods: API Keys, Sessions, JWTs, OAuth and mTLS
How should clients prove who they are to your API? API keys for server-to-server, session cookies for your own web app, bearer tokens for mobile and SPAs, OAuth for third-party access, HMAC signatures for webhooks, mTLS for service meshes. When to use each and how to do it safely.
AI Guardrails Explained: Keeping an AI Feature Safe and On-Topic
Guardrails are the checks around an AI model that stop it going off-topic, leaking data, producing harmful content or being tricked by users. The main kinds — input checks, output checks, permissions, limits and human review — and a practical set for a small AI app.
AI Agent Memory: How to Give an Agent Memory That Lasts
Models are stateless; agent memory is something you build. The kinds — working context, conversation summaries, long-term facts, episodic logs, retrieval — how each is implemented, what to store and when to forget, and the trade-offs between memory files, databases and vector search.
AGENTS.md vs CLAUDE.md: Which One Do You Need?
AGENTS.md is the shared instruction file many AI coding agents read; CLAUDE.md is Claude Code's own. When Claude Code reads AGENTS.md, why it ignores it if a CLAUDE.md exists, and the simple setup that keeps one file for every tool.
How to Add Google Analytics to Your Website (GA4, Next.js, React)
Step by step: create a GA4 property, get your measurement ID, add the tag to plain HTML, Next.js or a React SPA, verify it with Realtime, and handle cookie consent. Plus the common reasons GA shows no data, and privacy-friendly alternatives.
504 Gateway Timeout: What It Means and How to Fix It
A 504 means the proxy in front of your app (Nginx, Cloudflare, a load balancer) gave up waiting for a response. The usual causes — slow database queries, long tasks done in the request, external APIs, timeouts set too low — and how to find and fix each.
502 Bad Gateway: What It Means and How to Fix It
A 502 means the server in front of your app (Nginx, Cloudflare, a load balancer) couldn't get a valid answer from your app. The usual causes — app crashed, wrong port, still starting, out of memory — and a step-by-step way to find which one.
500 Internal Server Error: How to Find What Actually Broke
A 500 error means your server-side code threw an error it didn't handle. The page tells you nothing on purpose; the real message is in your logs. Where to look, the most common causes in AI-built apps, and how to stop users seeing a bare 500.
413 Request Entity Too Large: How to Fix Upload Size Limits
A 413 means a request body — usually a file upload — was bigger than a server allows. Where the limits live (Nginx client_max_body_size, Express body parsers, Next.js, Cloudflare, serverless platforms), how to raise them, and why large files should skip your server entirely.
401 vs 403: Unauthorized vs Forbidden, Explained
401 means 'we don't know who you are' — log in or send valid credentials. 403 means 'we know who you are, and you're not allowed'. How to tell them apart, the common causes of each, how to fix them as a user or developer, and when to return 404 instead.
301 vs 302 Redirects (and 307, 308): Which Should You Use?
301 means moved permanently; 302 means temporarily somewhere else. How each affects browsers, caching and SEO, what 307 and 308 add, setting redirects in Nginx, Caddy, Next.js, Express and Cloudflare, and the mistakes that cause redirect loops and lost rankings.