LLM Wiki
2,739 pages indexed from the GitBook source and the published llms corpus. Four levels: domain → topic → page → chunk.
n8n SaaS Factory turns n8n workflows into deployable SaaS products. It ships a 2,739-page LLM knowledge base, a workflow analyzer, a project generator, seven agents and a 15-gate verification loop. Public repo, MIT licence, MIT-style simple pricing.
Every deliverable is measured by brain/scripts/verify.py. Nothing is marked done on the agent's own say.
2,739 pages indexed from the GitBook source and the published llms corpus. Four levels: domain → topic → page → chunk.
Eight test questions, IDF ranking, graded title matching and citations. Ask a question in natural language, get a sourced answer.
Parses 12 n8n workflow JSON files. Detects triggers, AI agents, models, tools, credentials, complexity and data flow.
Next.js 14, Clerk auth, Stripe billing, Supabase RLS, n8n REST client. A signed webhook handler. tsc and next build pass.
explorer, researcher, architect, implementer, verifier, reviewer, runner. Every role ran a sample task and produced a real artifact.
14 automated gates. Verdict-first output, non-zero exit on failure. Site, backlog and repo description fail the gate if they drift.
The wiki answers questions with citations to the exact n8n docs page. Each answer names the source URL, the section and the related workflow.
Question: “how do I paginate API results?” → top hit is the HTTP Request node pagination docs. Question: “queue mode redis scaling” → the queue-mode guide. Eight questions run on every gate.
Read the CLI referenceThe analyzer reports the trigger, the AI agents, their models and tools, the credentials and a complexity score from 1.5 to 9.0. It found five AI agents across the 12 documented workflows.
Four commands take a cold machine to a verified answer over 1.64 million words of n8n documentation.
git clone https://github.com/homgorn/n8n-saas-factory.git
git clone --depth 1 https://github.com/n8n-io/n8n-docs.git n8n-docs-source — about 52 MB, read-only reference.
python brain/scripts/forge.py build then python brain/scripts/verify.py → VERDICT: PASS, 14 gates.
python brain/scripts/query.py ask "…" and python brain/scripts/generator.py --all -o generated-saas → 12 projects.
One workflow analysis becomes a complete Next.js project with auth, billing, database and a signed n8n webhook endpoint.
The generator produced 12 projects, 23 files each, and a generated project passed npm install and tsc --noEmit. The template itself passed next build and five Playwright smoke tests against a live dev server.
No API key, no account, no deployment needed to check the claims: clone, build, verify. The published corpus is fetched over HTTPS with the standard library.
Every number on this page is generated from the database and the feature list; a gate fails when it drifts.
| Metric | Value | Verified by |
|---|---|---|
| Documentation pages | 2,739 | forge.py build |
| Chunks | 19,818 | corpus floor gate |
| Words | 1.64M | wiki stats |
| Importable workflows | 12 | analyzer gate |
| Generated SaaS projects | 12 | tsc on a generated project |
| Verification gates | 14 | verify.py |
| Features measured | 10 / 10 | feature_list.json |
These are the defects found by running the checks — not by reading the code.
A stale WAL sidecar held the SQLite file on Windows. Fixed by clearing sidecars before recreate.
“Cisco Secure Endpoint” outranked the Webhook page. Replaced with graded title matching and length normalisation.
The SaaS template accepted unsigned payloads in development. Now fails closed unless explicitly opted in.
The site claimed 1,348 pages after the corpus doubled. Counters are now generated and gated.
The project is public and MIT-licensed. The three plans below describe self-hosting effort, not a payment wall.
Clone and verify locally
Your own n8n instance
n8n's separate commercial agreement
Short factual answers first; details live in the linked pages.
No. Retrieval is SQLite FTS5 with IDF and graded title matching. Vector embeddings are optional and not wired.
No. n8n's licence forbids providing it to third parties for profit. The customer runs their own instance; our product is the layer above it.
The self-referential gate that reads the counter is excluded from the stated number, so adding that gate does not change what it states.
homgorn — github.com/homgorn, company Refertur, Telegram @realhikaz, location Earth.
Yes: python brain/scripts/update_site.py rewrites both landing pages, the repo description and the CLAUDE.md state block from the measured facts.
Start with the wiki. Verify with the gate. Generate the SaaS.
View the repository