# nicoespeon/gitgraph.js

[ARCHIVED] A JavaScript library to draw pretty git graphs in the browser

Repository: https://github.com/nicoespeon/gitgraph.js
Canonical: https://ross.abutalabs.com/products/gitgraphjs
Homepage: https://www.nicoespeon.com/gitgraph.js
Language: TypeScript
License: MIT
License Family: permissive
Topics: gitgraph, git, graph, presentation, javascript
Archived: true
Last push: 2024-07-13T11:37:49+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4767, "days_push": 781, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3073, forks 368 (observed 2026-08-28T04:07:41.653062+00:00)

## What it is
GitGraph.js is a JavaScript/TypeScript library for drawing pretty git commit graphs in the browser, with renderers for plain JS, React, and Node. It was designed to illustrate branching workflows in blog posts and presentations.

## Use cases
- draw git branch diagrams for a blog post
- visualize git branching workflows in a presentation
- render a git commit graph in a React app
- illustrate merge and branch history in documentation
- create custom git graph diagrams with a JS API

## When to choose
- you need to render illustrative git graphs in the browser or React
- you want a programmatic JS API to build git diagrams for teaching or writing
- you're forking an archived project to maintain it yourself

## When to avoid
- you need a maintained tool - the project is archived and unmaintained since 2019
- you want to render real git repository history automatically
- you need general diagramming - consider Mermaid.js instead

## Facets
- artifact type: library
- maturity: abandoned
- function: data-visualization, charts
- domain: developer-tools, version-control, web-development, documentation
- platform: browser
- tags: git-graph, git-visualization, react, presentation, archived, nodejs, javascript

## Member repositories
- nicoespeon/gitgraph.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.653062+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:27:57.194268+00:00, confidence not recorded.
  - readme: https://github.com/nicoespeon/gitgraph.js (fetched 2026-08-28T04:07:41.653062+00:00, sha 3dfdc6796044)
  - homepage: https://www.nicoespeon.com/gitgraph.js (fetched 2026-08-29T09:43:28.439798+00:00, sha f9b997171556)
  - registry_npm: https://registry.npmjs.org/gitgraph.js (fetched 2026-08-29T09:43:28.442626+00:00, sha c25432189df5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
