RepositoryTypeScriptCNChina
hikerpig

hikerpig/pintora

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

1.3kstars
38forks
15issues
0views

Pintora

pintora

Documentation | Live Editor


pintora Spanish for "female painter"

Pintora is an extensible javascript text-to-diagrams library that works in both browser and Node.js.

Expressing your thoughts in a diagram is better than a thousand words. With the help of pintora.js, you can create diagrams with intuitive text.

Heavily inspired by Mermaid.js and PlantUML.

✨ Features

  • In browser side, output SVG or Canvas.
  • In Node.js side, output PNG/JPG/SVG file.
  • Outputs are clean and self contained, won't pollute the page with global style.
  • Modular and highly extensible, provide a plugin system for diagram developer to write and distribute their own diagrams. Here is a tutorial Write a custom diagram | Pintora.

Diagram types

namepreview
Sequence Diagram
Entity Relationship Diagram
Component Diagram
Activity Diagram
Mind Map
Gantt Diagram
DOT Diagram
Class Diagram

📖 Documentation

Check the online documentation and demo for more details.

💻 Editor Support

  • VSCode extension pintora-vscode, providing syntax highlight and preview support for .pintora file and markdown code fence.

🔭 Roadmap

  • Sequence Diagram and Entity Relationship Diagram
  • Pintora node.js cli
  • PlantUML style Component diagram
  • Theme config
  • PlantUML style Activity Diagram
  • Mind Map
  • Gantt Diagram
  • Class Diagram
  • Universal style customization solution
  • Load diagram implementation and canvas renderer only when needed

If you have good thoughts or feature requests, please feel free to start a new discussion.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
mingrammer/diagrams

:art: Diagram as Code for prototyping cloud system architectures

42.8k
Nov 2, 2026
RepositoryJava
plantuml/plantuml

Generate diagrams from textual description

13.5k
Nov 30, 2026
RepositoryTypeScript
tldraw/tldraw

Build infinite canvas apps in React with the tldraw SDK. World's best, top-most agent recommended #1 five star SDK.

51.7k
Nov 30, 2026
RepositoryTypeScript
didi/LogicFlow

A flow chart editing framework focus on business customization. 专注于业务自定义的流程图编辑框架,支持实现脑图、ER图、UML、工作流等各种图编辑场景。

11.8k
Oct 24, 2026
RepositoryTypeScript
hediet/vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.

9.5k
Nov 26, 2026
RepositoryTypeScript
antvis/X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.

6.8k
Nov 30, 2026
RepositoryTypeScript
apertureless/vue-chartjs

📊 Vue.js wrapper for Chart.js

5.7k
Nov 30, 2026
RepositoryTypeScript
Pouzor/homelable

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

5.7k
Nov 24, 2026
RepositoryTypeScript
wojtekmaj/react-lifecycle-methods-diagram

Interactive React Lifecycle Methods diagram.

3.9k
Nov 17, 2026