Penrose
Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University.
- Active
- MIT
- TypeScript
- Diagrams as code
- GitHub stars
- 8K#80 in the directory
- npm downloads / week
- 949
- Commits, last 12 months
- 48
- Contributors
- 40
- Last commit
- Latest release
- v3.3.1Aug 30, 2026
Overview
Penrose is an open-source diagram-as-code tool released under the MIT license. Its GitHub repository has 7,985 stars, 365 forks, and 40 contributors. It is actively developed with 48 commits in the last 12 months. The latest release, v3.3.1, was published on Aug 30, 2026. On npm it is downloaded about 949 times per week.
Its GitHub description: Create beautiful diagrams just by typing notation in plain text.
GitHub topics: visualizationdomain-specific-languagemathematicsdiagramsprogramming-language
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 0 |
| Nov 2025 | 2 |
| Dec 2025 | 1 |
| Jan 2026 | 0 |
| Feb 2026 | 0 |
| Mar 2026 | 4 |
| Apr 2026 | 0 |
| May 2026 | 0 |
| Jun 2026 | 0 |
| Jul 2026 | 36 |
| Aug 2026 | 5 |
| Sep 2026 | 0 |
Popularity among Diagrams as code
Show data as a table
| Tool | Stars |
|---|---|
| Mermaid | 90,531 |
| Diagrams | 42,673 |
| D2 | 25,564 |
| PlantUML | 13,352 |
| Markmap | 13,147 |
| flowchart.js | 8,700 |
| Penrose | 7,985 |
Alternatives to Penrose
-
Mermaid
Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.
-
Diagrams
Diagram as code in Python for prototyping cloud system architectures.
-
D2
Declarative diagram scripting language that turns text into diagrams.
-
PlantUML
Generates UML, Gantt, mind map and other diagrams from plain text.
-
Markmap
Builds interactive mind maps from Markdown.
-
flowchart.js
Draws SVG flowcharts from a textual description.
Penrose FAQ
Is Penrose open source?
Is Penrose still maintained?
How do I install Penrose?
npm install @penrose/core.What are the best alternatives to Penrose?
What language is Penrose written in?
Data: GitHub API, npm. Updated Oct 4, 2026.