gatsby-project-kb is an open-source Gatsby theme project for publishing Knowledge Base sites, built as a monorepo with a demo site and the gatsby-theme-kb package.
What is gatsby-project-kb?
gatsby-project-kb is a project that develops gatsby-theme-kb, a Gatsby theme specifically for publishing Knowledge Base websites. The repository is organized as a yarn workspace monorepo containing a demo site under the demo directory and the theme itself under packages/gatsby-theme-kb. The project is maintained by hikerpig and provides a live demo and documentation at gatsby-project-kb.vercel.app. It is positioned for use cases like personal wikis, digital gardens, and knowledge base publishing, as shown by its repository topics.
Key Features
- Knowledge base focused — the theme is purpose-built for publishing Knowledge Base content, so it handles the structure and navigation common to documentation and wiki sites.
- Gatsby-based — it runs on Gatsby, giving you a static site with modern tooling, including the Gatsby ecosystem and GraphQL data layer.
- Monorepo with demo — the repository uses yarn workspaces to separate the demo site from the theme package, following Gatsby's official building-a-theme pattern.
- Documentation included — the project site includes both a live demo and documentation to help you understand how to use the theme.
- Open to contributions — issues and suggestions are accepted, and the developer provides a Buy Me a Coffee button for optional donations.
Who is it for?
- Gatsby developers — people who want to publish a knowledge base without building a custom site, by installing the theme and configuring content.
- Technical writers — teams or individuals who need a static documentation site and prefer Gatsby as the site generator.
- Personal wiki and digital garden authors — users who want a personal wiki or a digital garden with interlinked notes, since the theme is designed for those topics.
What can you do with it?
- Publish a knowledge base — create a searchable, static site for reference material and docs using Gatsby's content pipelines.
- Maintain a personal wiki — set up a site that organizes personal notes and resources, based on the personal-wiki topic.
- Build a digital garden — use the theme for a digital garden, as indicated by the digital-garden topic in the repository.
How does it work?
Clone the repository and use yarn to install dependencies, then run yarn dev to start the development server. The monorepo structure keeps the demo site and theme package separate, which makes it straightforward to iterate on the theme while viewing a sample implementation.







