# hikerpig/pintora

An extensible text-to-diagrams library that works in both browser and node.js

Repository: https://github.com/hikerpig/pintora
Canonical: https://ross.abutalabs.com/products/pintora
Homepage: https://pintorajs.vercel.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: diagram, diagram-as-code, mermaidjs
Last push: 2026-08-26T14:12:33+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 38, longevity 100
- inputs: {"age_days": 1938, "days_push": 7, "days_rel": 201, "gap_med": 186.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1284, forks 37 (observed 2026-08-28T04:04:14.555924+00:00)

## What it is
Pintora is an extensible JavaScript text-to-diagrams library that renders diagrams from plain text, inspired by Mermaid.js and PlantUML. It works in both the browser (SVG/Canvas output) and Node.js (PNG/JPG/SVG output), and offers a plugin system for custom diagram types.

## Use cases
- generate diagrams from text in the browser
- render sequence diagrams from text in node.js
- create entity relationship diagrams as code
- draw gantt charts from plain text
- build mind maps from markdown-like text
- embed diagram-as-code rendering in documentation
- write custom diagram types with a plugin system

## When to choose
- you want a Mermaid-like diagram renderer that works in both browser and Node.js
- you need clean, self-contained SVG/Canvas/PNG output without global style pollution
- you want to extend the tool with your own custom diagram types via plugins

## When to avoid
- you need diagram types not supported by pintora and don't want to write a plugin
- you prefer a mature ecosystem with broad tooling integrations like Mermaid's
- you need a GUI-based diagram editor rather than text-driven diagrams

## Facets
- artifact type: library
- maturity: active
- function: templating, developer-tools, plugin-system
- domain: developer-tools, documentation, web-development
- platform: browser, cross-platform, cli
- tags: diagram-as-code, text-to-diagram, mermaid-alternative, plantuml-inspired, svg, sequence-diagram, er-diagram, gantt-chart, mindmap, nodejs

## Member repositories
- hikerpig/pintora (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.555924+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-30T04:56:44.511206+00:00, confidence not recorded.
  - readme: https://github.com/hikerpig/pintora (fetched 2026-08-28T04:04:14.555924+00:00, sha c932cf3b12c6)
  - homepage: https://pintorajs.vercel.app (fetched 2026-08-29T12:12:41.059690+00:00, sha 770e77fb34b7)
  - registry_npm: https://registry.npmjs.org/pintora (fetched 2026-08-29T12:12:41.061912+00:00, sha 2db182083555)
- Data as of 2026-08-30T08:39:29.467469+00:00.
