A polished, customizable HTML knowledge base for product teams and agencies. Built by HelpCenter.io.
Customize & download · Live demo
- 20 ready-to-build pages: home, search, 6 topics, and 12 example articles.
- Working client-side full-text search with instant suggestions and a
/shortcut. - Three color palettes, light/dark mode, responsive layouts, keyboard focus states, and print styles.
- Article side navigation, table of contents, short answers, related articles, and optional canonical URLs / sitemap.
- Six editable Markdown article blueprints, a launch checklist, an agency handoff document, and CSVs for content audits, redirects, and translation reviews.
- No runtime dependencies, external fonts, trackers, account, or backend required.
The website download includes a ready-to-open site/ folder plus all editable source and toolkit files. It works directly from index.html and can be hosted on any static host.
Requires Node.js 20 or newer. There is nothing to install.
git clone https://github.com/helpcenterio/knowledgebase.dev.git
cd knowledgebase.dev
npm run buildOpen dist/index.html. Publish the contents of dist/ to your static host. Do not publish the whole source checkout.
- Edit
config.json: setbrand,accent(pine,ocean,violet),mode(light,dark),siteUrl,websiteUrl, andsupportEmail. - Replace the fictional product instructions in
content/articles.jsonwith verified content. Section HTML is trusted author content; do not load untrusted submissions into it. Put screenshots and other files incontent/images/and reference them from section HTML as../images/your-file.png. Add"popular": trueto the articles you want linked under the search box. - Edit categories in
content/categories.json. Match each article's category to a category ID. - Optional: remove the footer credit. The "Made with Compass · by HelpCenter.io" line is yours to keep or delete. There is no setting for it: delete its
<span>inside<footer class="site-footer">inlib/template.mjs. - Run
npm run buildagain. Both the pages and search index regenerate together. - Work through
toolkit/launch-checklist.mdbefore publishing.
The home page follows your articles. “Popular” links use each flagged article's title, or a short label if you give one ("popular": "Find an invoice"); with no flags, the first two articles are used. “A good place to start” shows your first article, then the popular ones, three in total. The sample articles carry "sample": true, which adds a “Sample article” label and a reminder to replace them; leave it out of your own articles. Everything in content/images/, including subfolders, is copied to images/ in dist/ (hidden files and symbolic links are skipped). npm test checks your own content: every page, link, and image must resolve, and a missing category or duplicate slug fails with a message that names it.
A blank support email shows a working troubleshooting link (or a search link, if you have no troubleshooting category). Set a real address to enable “Contact support.” A blank site URL omits the sitemap and canonical links, so example domains cannot accidentally become your canonical URLs. Set the deployed URL and rebuild for production. The downloaded site uses relative .html links, including under subfolders. Dark-mode preference is saved locally in the reader's browser when storage is available.
This is a public, English-language static site, not a CMS. You maintain and publish its files. Search runs in the browser against bundled content; very large libraries may need a search service. There is no AI answer engine, access control, ticket inbox, analytics, email collection, or translation service. The translation CSV helps plan localization; it does not implement it. Redirect maps must be implemented on your host.
Need nontechnical editing, hosting with SSL, multilingual content, search analytics, and AI answers grounded in your articles? Try HelpCenter.io. The kit's content and planning files are portable; it is not an importable HelpCenter.io theme or a Zendesk Guide theme.
GPL-3.0-only. You may use and modify the template for commercial projects under the included license. If you distribute a modified version, preserve the license and provide the corresponding source under GPL-3.0. See LICENSE. This repository retains the original project's license.
This public repository contains only the free template and toolkit. The knowledgebase.dev marketing website, lead collection endpoint, deployment configuration, and database integration live in a separate private repository. No credentials belong here.