惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
雷峰网
雷峰网
宝玉的分享
宝玉的分享
IT之家
IT之家
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园 - 叶小钗
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
美团技术团队
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
L
LangChain Blog
U
Unit 42
有赞技术团队
有赞技术团队
博客园_首页

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built two Etsy SEO tools in 14 days — full stack breakd...
Anders Dahl Rasmussen · 2026-05-31 · via DEV Community

Anders Dahl Rasmussen

I built two Etsy SEO tools in 14 days — full stack breakdown

I spent the last two weeks building two products targeting the 5M+ Etsy seller market. Here's the honest story — what worked, what didn't, and the full technical stack.

The problem

Most Etsy sellers write listings from a maker's perspective. They describe what they made. Buyers search for what they want to find.

"Handmade ceramic mug, blue, 12oz" gets almost no search traffic.

"Handmade Ceramic Coffee Mug | Blue Stoneware 12oz | Gift for Coffee Lovers" ranks for a dozen buyer searches.

Same product. One gets found. One doesn't.

What I built

ContentBase — AI listing optimizer. Paste any Etsy, Shopify, or Amazon listing. Get a rewritten title, description, and 13 keyword-targeted tags in ~10 seconds. Free for 5/day, no signup. Pro is $9/month.

contentbase-crw.pages.dev

ShopScan — on-demand Etsy SEO audit. Pay $19, submit your listing, get a 12-page report (score, keyword gaps, full rewrite, action plan) by email within 24h.

shopscan-eff.pages.dev

The stack — all free tier

  • Cloudflare Workers — API layer, keeps Anthropic key server-side
  • Cloudflare KV — rate limiting + Pro token storage
  • Cloudflare Pages — static frontend
  • Brevo — transactional email (300/day free)
  • Stripe Payment Links — no checkout page to build

Total monthly infrastructure cost: $0.

Pro activation without webhooks

Most people implement Stripe webhooks for post-payment activation. I found a simpler pattern.

After payment, Stripe redirects to:

https://contentbase-crw.pages.dev?session_id={CHECKOUT_SESSION_ID}

The frontend POSTs the session_id to /activate-pro on the Worker. The Worker validates the format (cs_live_ prefix — unguessable), generates a token, stores in KV, emails via Brevo.

No webhook endpoint. No signing secret. No HTTPS concerns. Works perfectly.

async function handleActivatePro(request, env) {
  const { session_id, email } = await request.json();

  if (!session_id?.startsWith('cs_live_')) {
    return json({ error: 'Invalid session' }, 400);
  }

  // Prevent replay attacks
  const existing = await env.CB_TOKENS.get(`session:${session_id}`);
  if (existing) return json({ token: existing, reused: true });

  const token = generateToken();
  await env.CB_TOKENS.put(`token:${token}`, 'active');
  await env.CB_TOKENS.put(`session:${session_id}`, token);

  await sendEmail(env, { to: email, subject: 'Your ContentBase Pro access is live' });
  return json({ token, success: true });
}

Rate limiting with Cloudflare KV

No database needed:

async function checkRateLimit(ip, env) {
  const key = `rate:${ip}:${new Date().toISOString().split('T')[0]}`;
  const count = parseInt(await env.CB_RATE.get(key) || '0');
  if (count >= 5) return { allowed: false };
  await env.CB_RATE.put(key, String(count + 1), { expirationTtl: 86400 });
  return { allowed: true };
}

Keys expire after 24h automatically. Cleanup is free.

What I learned

Cloudflare is absurdly good for this use case. Worker + KV + Pages covers serverless functions, key-value storage, and static hosting — all free, globally distributed.

Zero-friction free tier matters. No email required to use ContentBase. No account. Just paste and get. The conversion to Pro happens after people see the output.

Distribution is harder than building. The technical side took days. Finding actual Etsy sellers to try it is taking weeks. If you've solved Etsy/niche community distribution, I'd genuinely love to hear how.

Live

Happy to answer questions about the architecture or the Etsy seller market.