qmetrics.net

GitBook

Open source renderer for GitBook doc sites

GitBook screenshot

This project renders published GitBook documentation using Next.js. Teams can run it locally for development or self-host the public site frontend.

Overview

GitBook’s hosted platform manages technical knowledge for teams; this open source component is the rendering engine that displays published GitBook content on the web. It powers how doc pages, navigation, and themed layouts appear to readers when content is published from GitBook.

The codebase is a Next.js application requiring a current Node.js runtime and Bun for dependency installation during development. Running the dev server lets any published GitBook site be viewed through your local instance, with code changes reflected in the browser.

Contributors can improve translations, fix rendering bugs, or suggest features through the project’s contribution guides. Pull requests are checked with visual and performance tests to reduce regressions. Font and icon usage in self-hosted setups should stick to free Font Awesome icons for licensing reasons.

Self-hosting is supported for organizations that want to customize appearance or embed docs more tightly in their own applications, though maintainers caution that operators must keep the renderer updated and reliable themselves. The core license is GNU GPLv3, with a separate Apache-licensed embed package for proprietary use cases.

Key features

  • Next.js GitBook site renderer
  • Local dev preview of published sites
  • Visual and performance CI checks
  • Internationalized UI translation files
  • Self-hosted publishing frontend option
  • Font Awesome free icon set
  • Apache-licensed embed package
  • Contribution paths for bugs and i18n

Use cases

  • Self-hosted GitBook doc appearance
  • Custom themed public documentation
  • Embedding GitBook output in apps
  • Contributing to doc rendering fixes
  • Running published sites offline in dev

Tags

Similar software

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT

AFFiNE

Local-first workspace merging docs, whiteboards and databases with optional AI

AFFiNE is an open-source, local-first workspace that combines docs, an edgeless whiteboard canvas and databases, with optional AI assistance. It can be self-hosted with Docker and supports real-time collaboration.

★ 79.3k⟳ yesterdayMIT
Open Source Alternative to:CodaMiro+1

OpenSpec

Lightweight spec layer for AI-assisted software work

OpenSpec helps teams and coding agents agree on requirements in plain Markdown before code changes. A CLI initializes projects and integrates with many AI tools through skills.

★ 75.9k⟳ 3 days agoMIT

Docusaurus

React-based static site generator for documentation

Docusaurus builds documentation sites, blogs, and marketing pages from MDX content. It ships preset layouts and plugins so teams can publish quickly.

★ 66.8k⟳ todayMIT

Context7

Version-aware library documentation feed for coding agents

Pulls current docs and code examples into agent context via MCP tools or a ctx7 CLI skill, reducing stale API answers.

★ 65.5k⟳ todayMIT

tldr pages

Community-driven simplified command-line help pages

tldr pages collects practical examples for common CLI tools. Official clients let you read those pages instead of full man pages.

★ 64.3k⟳ todayMIT · open core