ZeroDirs is a paid, source-code directory boilerplate built on Astro 7 and Cloudflare Workers that compiles listing, category and programmatic SEO pages to plain static HTML with zero client-side JavaScript. Buyers get a private GitHub repository containing the site, the Worker behind submissions, auth and admin, three seed datasets and test suites, then deploy it on Cloudflare's free plan.
What is ZeroDirs?
ZeroDirs is a directory website starter kit: you configure a single site.config.ts file and it generates a listings site with accounts, paid submission tiers, an admin moderation queue and programmatic category and tag landing pages. It ships as a full private repository — Astro 7 static output, a Cloudflare Worker, D1 SQLite tables managed by Drizzle ORM, R2 object storage for logos, and Stripe Checkout billing. It is made by Jay Chung, who publishes releases at @zerodirs on X and runs a buyer Discord.
What makes ZeroDirs stand out?
- Zero-JS content pages — every listing, category and pSEO page is pre-rendered HTML on Cloudflare's CDN; the page advertises 0 KB of client JavaScript against an illustrative 403 KB for a typical hydrated SPA.
- Programmatic SEO generator — automatically builds long-tail routes such as
/best/<tag>-in-<category>/with editable Markdown intros, plus chunked sitemaps, canonicals, JSON-LD via schema-dts and Satori-generated 1200×630 OG images cached by content hash. - Orphan-page build gate —
strictLinksfails the build when any listing has fewer than two inbound internal links, so thin pages cannot ship. - AGENTS.md and agent skills — a test-guarded architectural map plus
.agents/skills/recipes (add-listing-field, new-theme, import-listings, new-pseo-template, configure-accounts, go-live) aimed at Claude Code, Codex, Gemini, Cursor and Windsurf. - Idempotent Stripe billing — hosted Checkout with HMAC-verified webhooks whose
event_idis deduplicated in a D1 payments table, so replays do not double-charge; tiers are Free, a paid Fast Track and a pinned Featured placement. - Auth and owner dashboard — email plus password using Web Crypto PBKDF2-HMAC-SHA-256, Google OAuth 2.0, HttpOnly session cookies, 20-minute single-use reset tokens, and a
/dashboard/showing 30-day click counts and bookmarks. - Zero-JS admin queue —
/admin/uses Astro Actions for approve, reject, edit and feature, restricted to addresses inadmin.emails, and fires a Cloudflare Deploy Hook to rebuild the static site on approval. - Retrying email outbox — confirmations, approvals, rejections and password resets go through a D1
email_outboxtable retried by an hourly cron (0 * * * *) via Cloudflare Email Sending or the Resend API.
Who should use ZeroDirs?
- Solo founders launching a niche directory — pick one of three seed datasets (AI tools, indie tools, local businesses), import a CSV with
pnpm listings:import clinics.csv --remote, and start charging for Fast Track or Featured placement. - Freelancers and agencies — the licence covers unlimited client projects, so the same repository can be re-themed with the default, warm or mono preset per build.
- Developers working with AI coding agents — hand the AGENTS.md map and skills to Claude Code or Codex so new fields, themes and pSEO templates follow existing conventions.
- SEO-focused builders — use the Pagefind static index, ⌘K command palette and internal-link gate to publish thousands of listings that stay crawlable.
What can you do with ZeroDirs?
- Directory operators: accept free, paid and featured submissions, moderate them in
/admin/, and let an approval trigger an automatic rebuild that publishes the page in roughly two minutes. - Affiliate or sponsor publishers: track outbound clicks per listing over 30 days and sell featured slots plus sponsor or house ad placements.
- pSEO publishers: generate category-by-tag landing pages at build time with Markdown intros to target long-tail queries without hand-writing each page.
How does ZeroDirs work?
The publishing loop is four steps: a visitor submits through a validated form with spam traps and rate limits, an admin approves it in the zero-JS queue, a Cloudflare Deploy Hook rebuilds the site, and the listing goes live as static HTML on the CDN. Setup happens in one config file, and secrets.ts plus a configGaps() check reports missing bindings, deploy hooks and secrets.
Pricing
ZeroDirs is a one-time paid purchase, not a subscription: the early-bird and Black Friday price is $49 against a $179 list, limited to the first 10 seats (7 remaining), with a 30-day money-back guarantee. Paying grants immediate private GitHub repository access and lifetime updates pulled via git. Hosting on the Cloudflare free plan is $0 per month — unmetered static assets plus 100,000 Worker requests per day — and you only pay Stripe's per-transaction fee on revenue.
FAQ
Do I need to know Astro to use ZeroDirs?
ZeroDirs is written in Astro 7 with TypeScript 5.9 and Tailwind CSS v4, so editing themes and templates assumes familiarity with that stack. The AGENTS.md map and .agents/skills/ recipes are designed so a coding agent can make changes for you, but the code is not a no-code builder.
Is hosting really $0 per month?
Yes, on Cloudflare's free plan rather than a trial. Static assets are unmetered, and the dynamic parts — submission form, Stripe webhook, dashboard and admin — draw on the 100,000 daily Worker request allowance. Beyond that, the only cost is Stripe's transaction fee on listings you sell.
Can I build client directories with one licence?
The licence covers unlimited directories and commercial client work, with custom config, content and public assets preserved when you pull releases. Reselling the boilerplate itself as a competing template is not permitted.
Does ZeroDirs work with Claude Code, Codex and Gemini?
The repository ships a test-guarded AGENTS.md architectural map, a CLAUDE.md that references it, and task-specific skills for adding listing fields, creating themes, importing CSV data and deploying. Unit, workerd and Playwright suites guard the paths the documentation points agents toward.
What lands in my repository after purchase?
The full private repository: the Astro static site, the Cloudflare Worker behind submissions, auth, Stripe and admin, unit and workerd and Playwright test suites, three seed datasets, and documentation. You connect GitHub on the checkout follow-up page and are invited immediately.









