The SEO-first & AI-agent ready
directory boilerplate with
$0/mo hosting bill
- 0 KB client JS on content pages
- AGENTS.md + agent skills
- $0/mo on Cloudflare Free
- Unlimited directories
73% off Early bird + Black Friday · $179 $49 · 7 of 10 seats left
An AI-ready codebase that scales
Built on AGENTS.md, CLAUDE.md, and task-specific Agent Skills, so Claude Code, Codex and Gemini can customize fields, themes, and routes without breaking core plumbing.
- Test-guarded AGENTS.md map
- Ready-made .agents/skills/ recipes
- Single site.config.ts surface
- Unit, workerd & Playwright suites
Under the hood · What it uses
Programmatic SEO that ranks on day one
Content pages compile to pure static HTML with 0 KB of client JavaScript. Automated category × tag landing pages, internal link checks, and OG images are generated at build time.
- 0 KB client JS on content pages
- Category × tag pSEO generator
- Orphan-page build gate (strictLinks ≥ 2)
- Build-time OG images & JSON-LD
Under the hood · What it uses
Authentication & owner dashboard you can ship
Don't let an agent invent login security. Ship email + password, Google OAuth, password reset links, and a submitter /dashboard/ with click analytics and bookmarks.
- Email + password & Google OAuth 2.0
- Modal sign-in dialog (/login/dialog/)
- Owner /dashboard/ with 30-day clicks
- Saved listing bookmarks & settings
Under the hood · What it uses
Charge listing owners without webhook bugs
Billing is where AI-generated code quietly fails. Paid submission tiers, featured placements, and an idempotent Stripe webhook that survives replays are wired out of the box.
- Free, paid & featured submission tiers
- Hosted Stripe Checkout sessions
- Replay-safe idempotent webhook
- One-click upgrade from /dashboard/
Under the hood · What it uses
A typed Cloudflare D1 & R2 backend
Listings live in Cloudflare D1 (SQLite) and logos in R2 object storage — read at build time for static HTML and queried at runtime by the Worker within the $0/mo free tier.
- Typed Drizzle ORM schema & migrations
- Build-time Astro Content Layer loader
- R2 logo & media storage (/media/<key>/)
- One-command CSV bulk import & seeding
Under the hood · What it uses
Zero-JS admin queue & automatic rebuilds
Review pending submissions at /admin/, edit custom fields, feature listings, and approve with one click — firing a Cloudflare deploy hook that rebuilds the static site.
- Admin access via proven admin.emails
- Approve, reject, edit & feature actions
- Automated Cloudflare Deploy Hook rebuild
- Live configuration & secret health report
Under the hood · What it uses
Transactional emails that never silently vanish
Every submission confirmation, approval notice, rejection reason, and admin digest goes through a persistent D1 outbox that retries automatically on an hourly Worker cron.
- Cloudflare Email Sending or Resend
- Persistent D1 retry outbox table
- Hourly cron job for outbox & expiry
- One-click resend from /admin/
Under the hood · What it uses
Instant search & themes that don't look like AI slop
Start from 3 cohesive design presets, dark mode, a ⌘K command palette, and a build-time Pagefind full-text index that filters by category, tag, and custom fields at zero server cost.
- ⌘K Command Palette & Pagefind index
- 3 visual presets (default, warm, mono)
- Custom card & detail fields in config
- 100/100 Lighthouse performance gate
Under the hood · What it uses
Built with the best
A battle-tested stack with a $0/month bill
- Astro
- Cloudflare
- Stripe
- Tailwind CSS
- 1file
- configures the whole sitesite.config.ts holds brand, routes, categories, custom fields, tiers, SEO, pSEO and theme
- 0KB
- JavaScript on content pagespure static HTML on CDN — no client framework, no hydration bundle
- $0/mo
- Cloudflare hosting billunmetered static assets plus 100,000 free Worker requests/day for dynamic routes
- 0
- orphan listings shippedstrictLinks fails the build if any listing has fewer than two inbound internal links
Features
Everything a directory needs to rank and earn
Built-in authentication, an admin review queue, Stripe payments, programmatic SEO, a blog and AI-agent workflows — without monthly infrastructure fees.
SEO-First Static HTML
Content pages ship zero client-side JavaScript. Chunked sitemaps, canonicals, robots.txt, JSON-LD and Satori OG images are wired to one config.
Programmatic SEO Engine
Automatically generates long-tail category and tag landing pages with editable Markdown intros and a build gate that refuses orphan pages.
Built for AI Coding Agents
Ships with a test-guarded AGENTS.md and task-specific agent skills so Claude Code, Codex and Gemini extend your site cleanly.
$0/mo Cloudflare Hosting
Runs on Cloudflare Workers Static Assets, D1 SQLite and R2 storage. Static page views are unmetered with no server or VPS bill.
Multiple Revenue Streams
Monetize from day one with paid submission tiers, featured listing spots, sponsor/house ad slots and outbound click analytics.
Idempotent Stripe Checkout
Hosted Stripe Checkout, replay-safe webhook verification, signed status links and one-click tier upgrades from the owner dashboard.
Submitter Accounts & Dashboard
Email + password and Google OAuth sign-in, plus a /dashboard/ with 30-day click analytics, saved bookmarks and submission status.
Zero-JS Admin & Auto-Rebuild
Review queue at /admin/ to edit any listing, approve or reject with queued transactional emails and trigger an automatic site rebuild.
One-File Config & 3 Datasets
Swap niches in site.config.ts with 3 built-in themes (default, warm, mono) and 3 seed datasets: AI tools, indie tools and local businesses.
SEO-First Performance
Zero JavaScript shipped.
Every byte counts for rank.
Competing directory templates run on hydrated React/Next.js bundles that download hundreds of kilobytes before painting a page. ZeroDirs compiles every listing, category and pSEO page to plain static HTML.
- Instant first-round-trip HTML on Cloudflare's edge CDN
- Static full-text Pagefind search built at deploy time
- Automated internal links, canonical URLs, JSON-LD and OG images
measured · brotli
illustrative
AI-Powered
Codebase + AI = Launch your directory in an afternoon
ZeroDirs includes a unit-tested AGENTS.md and task-focused skills so your coding agent knows every file, convention and build rule.
A codebase your coding agent actually understands.
Most boilerplates break when an AI coding agent guesses file paths or rewrites auth by hand. Every convention here is documented in one map and guarded by tests.
- src/config/One file changes your brand, categories, tiers, SEO and theme
- src/lib/Routing, SEO text, JSON-LD, pagination — pure, tested
- src/loaders/D1 at build time: the local database on your machine, the real one on the builder
- src/templates/Home, listing, category, tag, pSEO, blog
- src/components/The components you will actually edit
- src/features/pSEO generator, internal links, OG images
- src/server/Submissions, Stripe, admin auth, email, rebuild hooks
- src/pages/admin/Review queue, featured, stats — server-rendered forms
- integrations/Sitemap chunks, Pagefind index, file budget, SEO report
- tests/unit, workerd and Playwright suites
- seed/datasets/Three ready datasets: AI tools, indie tools, local business
- AGENTS.mdThe map your coding agent reads first
Automated Workflow
Submissions turn into pages. Automatically.
No CMS to babysit, no manual commits to publish new listings. Approve in your admin queue and Cloudflare rebuilds the static site.
- 01
Someone submits
Paid or free, straight into your queue.
- 02
You approve
One click in the admin.
- 03
It rebuilds
Deploy hook fires automatically.
- 04
It is live
Static, on the CDN, ~2 minutes.
- Submission form with validation, spam traps and rate limits6h
- Stripe Checkout plus an idempotent webhook that survives replays6h
- Admin queue, auth, approve/reject and featured expiry10h
- Transactional emails, templates and a retry outbox4h
- Programmatic SEO pages with thin-content guards8h
- Internal-link engine and an orphan-page report5h
- Build-time OG images with a content-hash cache5h
- Chunked sitemaps, RSS, robots and canonical rules4h
- Approve-to-live rebuild pipeline on Cloudflare5h
- Static search that stays fast at 10k listings4h
Estimates from building each piece · excludes design, content and debugging
What you get
A production directory foundation,
not just another landing template.
You spend a month building the parts nobody demos: the Stripe webhook that must not double-charge, the moderation queue that must not leak spam, the transactional emails that retry, and the internal linking Google expects.
Pricing
Pay once, build unlimited directories
Once you get repository access, it is yours forever. Build as many directories as you want — for yourself or clients — with a $0/month hosting bill.
Everything you need to ship
Competing directory starters run $47 to $199 and put you on a stack that bills you every month. ZeroDirs costs $0/month to run on Cloudflare.
- Unlimited directories & client projects
- 0 KB client JS for fast Google indexing
- AGENTS.md + skills for Claude Code, Codex & Gemini
- Cloudflare Workers, D1 & R2 ($0/mo free plan)
- 3 visual themes + 3 ready seed datasets
- Unit, workerd & Playwright E2E test suites
Pay once · no subscription · git pull lifetime updates
first 10 seats · one-time payment
- Private GitHub repository access the minute you pay
- Paid submissions, Stripe Checkout & admin queue
- Programmatic SEO engine & automated internal links
- Submitter accounts, dashboard & 30-day click stats
- Every future release, pulled cleanly with git
Stripe · connect GitHub · invited on the spot
Why not just ask an AI to build me a directory?
Try it — you will get a listing grid in an afternoon. What you will not get is the part that makes money: an idempotent Stripe webhook that survives replays, a review queue that cannot be bypassed, emails that retry, and a build that refuses to ship an orphaned page. ZeroDirs gives your coding agent that tested foundation via AGENTS.md and skills so it extends instead of inventing.
How well does ZeroDirs work with Claude Code, Codex and Gemini?
It was built for them from day one. The repository includes a test-guarded AGENTS.md architectural map, CLAUDE.md, and ready-made agent skills (.agents/skills/) for adding custom fields, changing themes, importing CSV datasets and deploying — so your agent knows exactly where every file and invariant lives.
Why Astro instead of Next.js like other directory boilerplates?
Because a directory is a content and SEO site, and content sites should not ship a framework to the browser. Every listing, category and pSEO page is plain HTML on Cloudflare's CDN with 0 KB of client JS, so pages rank faster and cost $0/month to host.
Is hosting really $0/month, or is that a temporary promo?
It is Cloudflare's free plan, not a trial. Static assets are unmetered; the dynamic parts — submission form, Stripe webhook, dashboard and admin — use a handful of Worker requests against a 100,000/day free allowance. You only pay Stripe's transaction fee on what you earn.
What exactly lands in my repository after purchase?
The full private repository: the Astro static site, the Cloudflare Worker behind submissions, auth and admin, unit/workerd/Playwright test suites, three seed datasets, and full documentation. Pay, connect your GitHub account on the next page, and receive the repository invitation immediately.
Can I build unlimited directories and client projects?
Yes. Pay once for unlimited projects and commercial client work, with lifetime updates pulled via git. Your custom config, content and public assets stay untouched when pulling releases. Reselling the boilerplate itself as a competing template is not permitted.
Who is building this
I'm Jay Chung. I kept building directory sites for myself and kept rebuilding the same three things every time: the submission form, the Stripe webhook that must not double-charge, and the review queue. The third time I copied that code across, I stopped copying and turned it into a product.
ZeroDirs is what I wanted to exist when I started — SEO-first, ready for AI agents, and $0/month to keep online.
Every release is public, commit by commit, on @zerodirs. Questions, before or after you buy, go in the Discord.
Community
Not ready?
Stay close.
The Discord is where release notes land first, where buyers show what they launched, and where a question about your own directory gets answered in the open — before or after you buy.
Prefer email? One message per release, nothing else.
No drip campaign. One email per release.
ZeroDirs
Discord · buyers, people deciding, and me
- Releases
- Every release note lands here first, with what changed and whether it is worth pulling.
- Questions
- Ask before you buy, or about the directory you are building. Answered in the open, so the next person finds it too.
- Launches
- What other buyers shipped on it, and how.
SEO-first · AI-agent ready · $0/mo hosting bill
The SEO-first & AI-agent ready directory boilerplate with $0/mo hosting bill.
Skip weeks of Stripe webhooks, moderation queues and SEO plumbing. Start with a repository built for Google and your coding agent.
$49 one-time · 30-day money-back guarantee · Release notes on @zerodirs