Developer-first help center platform with AI article generation
Repo Codehagen/Helpbase, read from GitHub 5 h ago. Codehagen has not joined Take My Repo.
Codehagen/Helpbase is a public repo on GitHub by Codehagen. Developer-first help center platform with AI article generation. It declares the AGPL-3.0 license on GitHub. It is written mainly in TypeScript, has 5 stars and last changed on 2026-07-20. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Code in your repo, generated but editable. The AI-native knowledge layer, as code you own.
Helpbase ships MCP, llms.txt, and (soon) codebase-grounded doc sync as
primitives that run in your repo, not services in someone else's cloud.
Create your help center in two minutes with npx create-helpbase, or
drop it into an existing Next.js app with shadcn add. Open source,
self-hostable, built on shadcn/ui.
Website · Demo · Registry · @CodeHagen
Docs are becoming AI infrastructure. Agents query them, other systems depend on them, and the bar for "accurate and up to date" just went up. The common answer is a hosted SaaS that owns your knowledge layer, exposes an MCP endpoint on their cloud, and charges monthly. Helpbase is the opposite shape: the same capabilities, shipped as code that drops into your monorepo.
@helpbase/mcp runs next to your app, not in a vendor's cloudllms.txt + llms-full.txt — generated at your build time, served from your originhelpbase ingest — point at any repo, get cited how-to guides + MCP + llms.txt in one commandhelpbase sync proposes codebase-grounded doc diffs with mandatory citations, opens them as PRs in your repo via your CIshadcn add helpbase-workflow drops a plain GitHub Action that runs helpbase sync in your Actions minutes, with your secretsEverything lives in your repo. You keep your stack, your deploy pipeline, your secrets, and your control over the UX. No vendor in the loop when your AI agents need to read your docs. No runtime fees. No dashboard to log into.
npx create-helpbase creates a working help center in under two minutesnpx shadcn add https://helpbase.dev/r/help-center.json adds the full block to any Next.js + shadcn/ui projecthelpbase audit catches missing titles, broken schemas, and empty categories in CIprefers-reduced-motioncreate-helpbase, MCP server, and content pipeline, plus an install-path smoke test in CILive help center in 90 seconds. Create the project, answer Y, you're on the public internet. Works on macOS, Linux, and Windows. Requires Node 20+.
pnpm dlx create-helpbase@latest my-docs # or: npx create-helpbase@latest my-docs
# ↳ answer Y to "Ship it now?" — logs you in + deploys inline
# ↳ prints your live URL: https://docs-<hex>.helpbase.dev
That's it. Answering Y at the end runs helpbase login (browser
device-flow, free 500k tokens/day, no card) and helpbase deploy
back-to-back and prints the public URL + MCP config block. Answer n
to keep the classic flow: create-helpbase starts pnpm dev locally and
you run helpbase login + helpbase deploy yourself when ready. CI /
pipelines pass --no-deploy (or --deploy with HELPBASE_TOKEN) to
skip the prompt.
Edit content/ files, re-run helpbase deploy to push updates.
helpbase deploy --preview shows added / updated / removed articles
before you ship — silent on routine updates, prompts before any
removal lands. helpbase rename acme claims a vanity slug
(acme.helpbase.dev) — only works before the first deploy; after that,
the URL is locked so existing links don't break. Run helpbase whoami
to see what's reserved + deployed.
Already have a Next.js app? Skip
create-helpbase:npx shadcn add https://helpbase.dev/r/help-center.json
Prefer to stay local? Point helpbase ingest at a repo and get cited
how-tos, MCP config, and llms.txt under .helpbase/ without
publishing anything.
npx helpbase login # magic-link device flow, free 500k tokens/day, no card
npx helpbase ingest . # synthesize cited how-tos from your repo
npx helpbase ingest . --ask "how do I log in?" # answer in terminal, no MCP client required
helpbase ingest walks your code + markdown, synthesizes task-oriented
how-to guides grounded in cited files, writes MDX to .helpbase/docs/,
and emits llms.txt + an MCP config hint. Same content, two surfaces:
humans read the MDX, agents query over MCP.
Every generated doc cites specific files + line ranges. Citations that
don't match the repo literally are dropped before write — no hallucinated
docs. Secret-shaped content aborts the run before any file hits disk.
.helpbase/ is gitignored by default.
Paste one of the blocks from .helpbase/mcp.json into Claude Desktop,
Cursor, or Claude Code and your agent has your repo as docs.
Want a standalone docs site you can deploy, not just .helpbase/ MDX in
the current repo? Use create-helpbase. Takes ~2 minutes end-to-end
(install runs in parallel with AI generation).
npx create-helpbase my-help-center
create-helpbase asks what to seed content from:
github.com URL. create-helpbase walks your source, synthesizes cited how-to guides with file + line refs, and writes them to content/.If you're not logged in, create-helpbase offers one-click inline login
(free, 500k tokens/day, no card). If you prefer BYOK, export
ANTHROPIC_API_KEY, OPENAI_API_KEY, or AI_GATEWAY_API_KEY before
running and create-helpbase uses that directly.
Dependencies install, the dev server starts, and your browser opens at
http://localhost:3000. Edit the markdown in content/ and the dev
server hot-reloads.
When you're ready to share it, deploy to helpbase cloud:
npx helpbase deploy
No slug prompts. helpbase login already reserved
docs-<hex>.helpbase.dev for you, and deploy publishes straight to
that URL. Want something prettier? Run helpbase rename acme before
first deploy to claim acme.helpbase.dev. A .helpbase/project.json
gets committed so teammates deploy to the same tenant. CI users skip
the flow entirely with HELPBASE_TOKEN + --slug.
Pass --url and helpbase scrapes the page, generates structured MDX through
the hosted helpbase proxy, and writes the articles to content/. Each article
comes back with a title, description, tags, and a full markdown body.
npx helpbase login # once, free tier (500k tokens/day)
npx create-helpbase my-help-center --url https://yourproduct.com --test
The --test flag uses Gemini 3.1 Flash Lite for cheap, fast generation. Pass
--model anthropic/claude-sonnet-4.6 (or any Gateway-supported model) to
override.
Power users + CI: skip the helpbase proxy with whichever key you
already have — ANTHROPIC_API_KEY, OPENAI_API_KEY, or
AI_GATEWAY_API_KEY (any one works, first found wins). See
helpbase.dev/guides/byok.
If you already have a Next.js + shadcn/ui project, add helpbase as a shadcn
registry block. This installs all 23 files (the app/(docs)/ routes, the
components, the MDX content pipeline, the sample articles, and the
helpbase-specific CSS) plus pulls the badge primitive from shadcn. After
it runs you can navigate to /getting-started/introduction and see a
rendered article:
npx shadcn@latest add https://helpbase.dev/r/help-center.json
Prerequisite: your project must have components.json (i.e. you've run
npx shadcn@latest init at some point). If not, run that first.
What gets installed:
app/(docs)/layout.tsx — sidebar shell + Cmd+K search, drops into your existing root layout additivelyapp/(docs)/[category]/page.tsx + [slug]/page.tsx — category index and article rendererapp/(docs)/helpbase-styles.css — animations, keyframes, and MDX article typography (imported by the docs layout, no root-layout changes needed)components/*.tsx — header, footer, sidebar, search dialog, TOC, theme provider (8 files, all yours to edit)lib/content.ts, lib/search.ts, lib/toc.ts, lib/schemas.ts, lib/slugify.ts, lib/types.ts — MDX loader, search index, zod schemascontent/getting-started/* and content/customization/* — three sample articles to prove the pipeline worksWhat does NOT get touched: your app/layout.tsx, your app/page.tsx,
your existing components/ui/*. Helpbase's CSS variables (sidebar colors,
--font-heading) get merged into your app/globals.css by shadcn's
standard cssVars merge.
Four registry items are available for more targeted adoption:
| Item | Install |
|---|---|
| Full help center | npx shadcn@latest add https://helpbase.dev/r/help-center.json |
| Command-palette search | npx shadcn@latest add https://helpbase.dev/r/help-center-search.json |
| Docs sidebar | npx shadcn@latest add https://helpbase.dev/r/help-center-sidebar.json |
| Table of contents | npx shadcn@latest add https://helpbase.dev/r/help-center-toc.json |
Both install paths (create-helpbase and shadcn add) produce the same
flat components/, lib/, and content/ layout so you can start with
either and never have to rename anything.
A flat, editable Next.js project that mirrors the code in apps/web/. No
helpbase/ subdirectories, no hidden files you can't touch. Everything
lives at the path you would expect, ready to rename, delete, or refactor.
my-help-center/
├── app/
│ ├── (docs)/
│ │ ├── [category]/
│ │ │ ├── [slug]/page.tsx three-column layout (sidebar | content | TOC)
│ │ │ └── page.tsx category index with article cards
│ │ └── layout.tsx docs layout with header, sidebar, mobile drawer
│ ├── favicon.ico
│ ├── globals.css Tailwind v4 tokens + theme variables
│ ├── layout.tsx root layout with theme provider
│ └── page.tsx marketing homepage
├── components/ all the UI pieces, yours to edit
│ ├── docs-sidebar.tsx
│ ├── footer.tsx
│ ├── header.tsx sticky header with search trigger + theme toggle
│ ├── mobile-sidebar.tsx
│ ├── search-dialog.tsx Cmd+K command palette
│ ├── search-trigger.tsx
│ ├── theme-provider.tsx
│ ├── toc.tsx table of contents with scroll-spy
│ └── ui/
│ └── badge.tsx shadcn primitive
├── content/ the articles — edit, delete, regenerate
│ ├── customization/
│ │ ├── _category.json category metadata (title, description, icon)
│ │ └── theming.mdx
│ └── getting-started/
│ ├── _category.json
│ ├── configuration.mdx
│ └── introduction.mdx
└── lib/ loaders, schemas, helpers — inlined, not aliased
├── content.ts MDX loader with frontmatter validation
├── schemas.ts Zod schemas for frontmatter + category metadata
├── search.ts client-side search index builder
├── slugify.ts
├── toc.ts heading extraction for the TOC
├── types.ts
└── utils.ts
Plus standard Next.js config files at the root (next.config.mjs,
tsconfig.json, components.json, postcss.config.mjs, eslint.config.mjs,
package.json, .gitignore). When you run npx create-helpbase, these 37
files are copied in directly from committed templates — no code generation,
no runtime transforms, nothing to audit or mistrust.
helpbase uses the Vercel AI SDK + AI Gateway for generation. One env var, one string-typed model ID, no provider SDKs.
Generate articles any time after creating the project:
Codehagen/Helpbase is a public repo on GitHub by Codehagen. Developer-first help center platform with AI article generation.
It declares the AGPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-07-20. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run Helpbase. What is known comes from GitHub. It declares the AGPL-3.0 license on GitHub. Its last change was on 2026-07-20. It has 5 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.