Skip to main content

Next-generation dbt documentation site generator

Project description

Docglow

docglow

Next-generation documentation site generator for dbt™ Core projects.

Live Demo · Website · PyPI · Changelog

PyPI version PyPI downloads GitHub stars CI status License

Why Docglow?

Over 60,000 teams use dbt Core without access to dbt Cloud's documentation features. The built-in dbt docs serve generates a dated, hard-to-navigate static site that doesn't scale.

Docglow replaces it with a modern, interactive single-page application — and it works with any dbt Core project out of the box.

  • No dbt Cloud required — generate and serve docs locally or deploy anywhere
  • Unlimited models, unlimited viewers — no seat caps, no model limits
  • Zero configuration — just point it at a dbt project with compiled artifacts and go
  • Interactive lineage explorer — drag, filter, and trace upstream/downstream dependencies visually
  • Project health scoring — get a coverage report for descriptions, tests, and documentation completeness

Switching from dbt docs serve? See the migration guide for a side-by-side comparison and step-by-step instructions.

Interactive lineage explorer — layer-grouped DAG with upstream/downstream filtering, depth control, and folder grouping

Lineage explorer with layer bands

Column-level lineage — expand nodes to trace individual columns across models with transformation labels (direct, derived, aggregated)

Column-level lineage tracing

Column table with lineage — view types, descriptions, tests, and upstream/downstream dependencies for every column. Click a lineage badge to jump directly to that column in the linked model.

Column table with upstream and downstream lineage

Install

pip install docglow

Try It in 60 Seconds

pip install docglow
git clone https://github.com/docglow/docglow.git
cd docglow
docglow generate --project-dir examples/jaffle-shop --output-dir ./demo-site
docglow serve --dir ./demo-site

This uses the bundled jaffle_shop example project with pre-built dbt artifacts.

Quick Start

# Generate the site from your dbt project
docglow generate --project-dir /path/to/dbt/project --output-dir ./site

# Serve locally
docglow serve --dir ./site

Features

  • Interactive lineage explorer — drag, filter, and explore upstream/downstream dependencies with configurable depth and layer visualization
  • Column-level documentation — searchable column tables with descriptions, types, and test status
  • Project health score — coverage metrics for descriptions, tests, and documentation completeness (details)
  • Full-text search — instant search across all models, sources, and columns
  • Single static site — no backend required, deploy anywhere (S3, GitHub Pages, Netlify, etc.)
  • Dark mode — auto, light, and dark themes (follows system preference by default)

CLI Commands

Command Description
docglow generate Generate the documentation site from dbt artifacts
docglow serve Serve the generated site locally
docglow health Show project health score and coverage metrics
docglow mcp-server Start MCP server for AI editor integration
docglow init Generate a starter docglow.yml configuration file
docglow profile Run column-level profiling (requires docglow[profiling])

Single-File Mode

Generate a completely self-contained HTML file — no server needed:

docglow generate --project-dir /path/to/dbt --static
# Open target/docglow/index.html directly in your browser

The entire site (data, styles, JavaScript) is embedded in one file. Perfect for sharing via email, Slack, or committing to a repository.

Configuration

Add a docglow.yml to your dbt project root for optional customization (layer definitions, display settings, etc.). Docglow works out of the box without any configuration — just point it at a dbt project with compiled artifacts in target/.

Generate a starter config with all options documented:

docglow init

Theme

Docglow supports three themes: auto (follows system preference), light, and dark.

docglow generate --theme dark

Or in docglow.yml:

theme: dark  # auto | light | dark

AI Editor Integration (MCP)

Docglow includes a Model Context Protocol server that exposes your dbt project to AI editors like Claude Code, Cursor, and Copilot.

Add to your editor's MCP config (e.g. ~/.claude.json):

{
  "mcpServers": {
    "docglow": {
      "command": "docglow",
      "args": ["mcp-server", "--project-dir", "/path/to/dbt/project"]
    }
  }
}

The server provides 9 tools: model/source lookup, lineage traversal, health scores, undocumented/untested discovery, cross-model column search, and full-text search. No API keys or network access required — it runs locally over stdio.

CI/CD Deployment

Use Docglow as a CI quality gate with the --fail-under flag:

# .github/workflows/docs.yml
- name: Check documentation health
  run: docglow health --project-dir . --fail-under 75

- name: Generate and deploy docs
  run: docglow generate --project-dir . --output-dir ./site

For large projects, add --slim to strip SQL source from the output and reduce payload size by 40–60%.

See the CI/CD Deployment Guide for complete walkthroughs covering GitHub Pages, S3, GitLab CI, health score thresholds, and enterprise private Pages.

Ready-to-copy workflow files: GitHub Pages (recommended), S3, and PR health check.

Pre-commit

Add Docglow's health check to your existing pre-commit workflow:

# .pre-commit-config.yaml
repos:
  - repo: https://github.com/docglow/docglow
    rev: v0.5.0
    hooks:
      - id: docglow-health
        args: ['--fail-under', '75']

Requirements

  • Python 3.10+
  • A dbt project with target/manifest.json (run dbt compile or dbt run first)
  • See Compatibility for supported dbt versions and adapters

License

MIT


dbt is a trademark of dbt Labs, Inc. Docglow is not affiliated with or endorsed by dbt Labs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docglow-0.5.0.tar.gz (297.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docglow-0.5.0-py3-none-any.whl (325.4 kB view details)

Uploaded Python 3

File details

Details for the file docglow-0.5.0.tar.gz.

File metadata

  • Download URL: docglow-0.5.0.tar.gz
  • Upload date:
  • Size: 297.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for docglow-0.5.0.tar.gz
Algorithm Hash digest
SHA256 61b63f148e66c8759f42893175d7e7687ede607b59d2fd11972d24f8c486bf4e
MD5 92b04ac3e490b17199fc0d7ddd7fe4e2
BLAKE2b-256 42e47d2524f3494beedcc39391df83fb0d49c072f1c854a26ae30c85f13268be

See more details on using hashes here.

Provenance

The following attestation bundles were made for docglow-0.5.0.tar.gz:

Publisher: publish.yml on docglow/docglow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file docglow-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: docglow-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 325.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for docglow-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d49b636a8d87d0be3a2f01b7281052982606f7e38272fce60647e7c711975c88
MD5 799a52786c3506c9097023c7660faa61
BLAKE2b-256 7f7918ffebf7e0b38310a85447405d05ad6e6f8134d35b2e786111f598928373

See more details on using hashes here.

Provenance

The following attestation bundles were made for docglow-0.5.0-py3-none-any.whl:

Publisher: publish.yml on docglow/docglow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page