v2.6.3 re-run safety — a risk audit's four findings fixed in apply-template: re-runs now delete only the demo's own locale leftovers and warn instead of deleting locales you added; demo image cleanup goes strictly by filename (the whole-directory rm -rf over public/images/articles — where your own article images live — is gone); locale rewrites stop leaking unchosen demo categories into nav and keep labels you already translated; the wrangler [vars] rewrite survives CRLF working trees. Pure rewrites moved to scripts/lib/apply-rewrites.ts with direct vitest coverage (114 tests) and a re-run E2E step.
AnvilWiki
中文
Open Source · MIT · Cloudflare Pages

Turn a trending game into a traffic site — in 24 hours, not weeks

An SEO-hardened game wiki template (Astro + Cloudflare Pages — Lighthouse 4×100, free unlimited bandwidth) with an AI content workflow that ships inside your repo: talk to your AI to generate pages, codes stay fresh on autopilot. Every ad dollar is yours.

Terminal
git clone https://github.com/PNGTRID/AnvilWiki.git
cd anvilwiki
pnpm install && pnpm dev
Lighthouse
100 Performance
100 Accessibility
100 Best Practices
100 SEO

Powered by Astro + Cloudflare Pages — free unlimited bandwidth

AI-Native Content Workflow

Agent skills ship inside the repo (.agent/skills/, Agent Skills open standard). Tell ZCode / Claude Code / Codex "write a boss guide from these notes" — you get a build-passing MDX page, auto-verified by schema + lint. No scripts to learn.

Game Selection Playbook

The fork-user funnel most templates ignore: a 4-layer game-selection scoring model (demand validation via Trends + SERP gap check) plus a "first-day 10 pages" plan — because the 2-8 week window after a game blows up is where all the traffic lives.

Codes Pages on Autopilot

Structured codes frontmatter (status/expiry/source) auto-renders Active one-click-copy blocks + an Expired table that keeps long-tail "is X still working" traffic. A weekly audit workflow files an issue whenever pages go stale — freshness without you remembering.

100% Your Revenue

Built-in AdSense slots, sponsor card and affiliate CTA component — all env-gated, off by default. No platform cut, unlike hosted wiki farms that eat your earnings.

SEO Engineering + Blazing Fast

Sitemap with lastmod, JSON-LD suite, hreflang, Quick Answer blocks for AI search, llms.txt — on top of Astro zero-JS and Lighthouse 4×100 out of the box.

Free Forever

Deploy to Cloudflare Pages with zero config: free unlimited bandwidth + global CDN + SSL. i18n built in (English at root, fallback so URLs never 404). No hosting bills, ever.

Why AnvilWiki?

How it compares to other options for game content sites.

AnvilWiki Fandom Starlight Next.js DIY
Best for Game SEO content sites Community wikis Product docs Custom apps
AI content pipeline Skills ship in repo None None Build yourself
Game selection guide Funnel + first-day plan None None None
Ad revenue 100% yours Platform-split None DIY
Hosting cost Free, unlimited BW Free (hosted) Pay your own Pay your own
SEO built-in Full suite Platform-controlled Docs-focused Build yourself
Performance Lighthouse 4×100 Medium High Varies
You own it Yes (MIT) No Yes Yes

Full comparison — vs Fandom, Wiki.js, BookStack & more →

See it in action

A live demo built with AnvilWiki — a complete game wiki for the fictional "Anvil Quest".

  • Real game wiki layout (Hero → QuickStart → content modules → CTA)
  • Measured Lighthouse Performance 100 on a full content site
  • Real i18n: English at root + Japanese prefixed, with fallback
  • Working ad slots, search, comments — all env-gated, off by default
View live demo →
anvilwiki.pages.dev/bosses/emberfang
Boss guide article — Quick Answer card and structured Boss Overview data card
Mobile view of the demo homepage

Mobile-first: clean first screen, scrollable tables, tap-to-copy codes.

How to use it — 5 steps

From fork to a live site in about 30 minutes. Every step ships with a full doc behind it.

  1. 1

    Fork & run locally

    Clone your fork and start the dev server — the demo wiki (fictional game "Anvil Quest") works out of the box.

    pnpm install && pnpm dev Ch.3 · Launch your site
  2. 2

    Make it yours

    One interactive CLI swaps game identity, theme color, locales and nav — and resets demo values (incl. wrangler.toml).

    pnpm apply-template Ch.3 · Apply the template
  3. 3

    Write pages by chatting

    Open the repo in ZCode / Claude Code / Codex and just talk — agent skills ship inside the repo and the Zod schema gates every page.

    "write a boss guide from these notes" Ch.4 · Write pages with AI
  4. 4

    Deploy for free

    Push to GitHub and connect Cloudflare Pages — the Astro build is auto-detected; free unlimited bandwidth + global CDN.

    pnpm build && git push Ch.5 · Put it online
  5. 5

    Stay fresh

    A weekly audit workflow flags stale pages, codes skills keep redemption pages current, and upstream updates sync cleanly.

    pnpm refresh-audit Ch.8 · Stay fresh

Ready to launch your game wiki?

Fork, configure, deploy — all in 30 minutes, completely free.