{"id":13469597,"url":"https://github.com/hikerpig/pintora","last_synced_at":"2025-05-14T05:11:10.886Z","repository":{"id":36999458,"uuid":"366950533","full_name":"hikerpig/pintora","owner":"hikerpig","description":"An extensible text-to-diagrams library that works in both browser and node.js","archived":false,"fork":false,"pushed_at":"2025-04-30T23:02:19.000Z","size":8954,"stargazers_count":1157,"open_issues_count":36,"forks_count":26,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-05T17:28:15.216Z","etag":null,"topics":["diagram","diagram-as-code","mermaidjs"],"latest_commit_sha":null,"homepage":"https://pintorajs.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hikerpig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"pintora"}},"created_at":"2021-05-13T06:03:57.000Z","updated_at":"2025-05-05T11:09:38.000Z","dependencies_parsed_at":"2024-02-27T06:24:43.429Z","dependency_job_id":"c8f451e7-c505-49b2-b5b7-a7d6a92d9aa0","html_url":"https://github.com/hikerpig/pintora","commit_stats":{"total_commits":609,"total_committers":6,"mean_commits":101.5,"dds":"0.15106732348111662","last_synced_commit":"c8e0d649114d0ace66423365ebad6c7b11da418f"},"previous_names":[],"tags_count":200,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Fpintora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Fpintora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Fpintora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Fpintora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hikerpig","download_url":"https://codeload.github.com/hikerpig/pintora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076850,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diagram","diagram-as-code","mermaidjs"],"created_at":"2024-07-31T15:01:46.372Z","updated_at":"2025-05-14T05:11:05.875Z","avatar_url":"https://github.com/hikerpig.png","language":"TypeScript","funding_links":["https://opencollective.com/pintora"],"categories":["Javascript Libraries","TypeScript","others"],"sub_categories":["Misc"],"readme":"# Pintora\n\n\u003cp align='center'\u003e\n  \u003cimg width=\"140\" src=\"https://raw.githubusercontent.com/hikerpig/pintora/master/demo/public/img/logo.svg\" alt=\"pintora\" /\u003e\n\u003c/p\u003e\n\u003cp align='center'\u003e\n  \u003ca href=\"http://pintorajs.vercel.app/docs/intro/\"\u003eDocumentation\u003c/a\u003e\n  \u003cspan\u003e|\u003c/span\u003e\n  \u003ca href=\"http://pintorajs.vercel.app/demo/live-editor/\"\u003eLive Editor\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  \u003ca href='https://www.npmjs.com/package/@pintora/standalone'\u003e\n    \u003cimg src='https://img.shields.io/npm/v/@pintora/standalone?color=ff8150\u0026label=@pintora/standalone' /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/package/@pintora/standalone\"\u003e\n    \u003cimg src=\"https://img.shields.io/bundlephobia/min/@pintora/standalone\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://percy.io/3f73ea87/pintora\"\u003e\n    \u003cimg src=\"https://percy.io/static/images/percy-badge.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003e **pintora** Spanish for \"female painter\"\n\nPintora is an extensible javascript text-to-diagrams library that works in both browser and Node.js.\n\nExpressing your thoughts in a diagram is better than a thousand words. With the help of pintora.js, you can create diagrams with intuitive text.\n\nHeavily inspired by [Mermaid.js](https://mermaid-js.github.io/mermaid/#/) and [PlantUML](https://plantuml.com/).\n\n## ✨ Features\n\n- In browser side, output SVG or Canvas.\n- In Node.js side, output PNG/JPG/SVG file.\n- Outputs are clean and self contained, won't pollute the page with global style.\n- 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](https://pintorajs.vercel.app/docs/advanced/write-a-custom-diagram/).\n\n### Diagram types\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003ename\u003c/th\u003e\n      \u003cth\u003epreview\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eSequence Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/6CMLz7C.jpg\" title=\"Sequence Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eEntity Relationship Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/o31ydlQ.jpg\" title=\"Entity Relationship Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eComponent Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/yk68Ot5.jpg\" title=\"Component Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eActivity Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/HoMe3Gp.jpg\" title=\"Activity Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMind Map\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/jT6HQg6.jpg\" title=\"Mind Map\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eGantt Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/hwcK3cT.jpg\" title=\"Gantt Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDOT Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/KCkYXlk.png\" title=\"DOT Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eClass Diagram\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"https://i.imgur.com/mqLIwcD.png\" title=\"Class Diagram\" width=\"300\" /\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## 📖 Documentation\n\nCheck the online [documentation and demo](http://pintorajs.vercel.app/docs/intro/) for more details.\n\n## 💻 Editor Support\n\n- VSCode extension [pintora-vscode](https://marketplace.visualstudio.com/items?itemName=hikerpig.pintora-vscode), providing syntax highlight and preview support for `.pintora` file and markdown code fence.\n\n## Related Projects\n\n- [gatsby-remark-pintora](https://github.com/hikerpig/gatsby-remark-pintora) A gatsby remark plugin for converting pintora codeblock to diagrams in markdown files.\n- [Pintora.js - Diagram as text / hikerpig / Observable](https://observablehq.com/@hikerpig/pintora-js-diagram-as-text), use pintora in Observable interactive notebook.\n- [pintora-stencil - Pintora Web Components](https://github.com/hikerpig/pintora-stencil), web component for showing pintora diagram preview, add it into your website simply by import some script tags.\n- [obsidian-pintora](https://github.com/amiaslee/obsidian-pintora), created by [@amiaslee](https://github.com/amiaslee). An Obsidian plugin based on Pintora, which allows users to create diagrams using Pintora syntax directly in the Obsidian editor. It's local, secure, fast, and easy to use.\n\n## 🔭 Roadmap\n\n- [x] Sequence Diagram and Entity Relationship Diagram\n- [x] Pintora node.js cli\n- [x] PlantUML style Component diagram\n- [x] Theme config\n- [x] PlantUML style Activity Diagram\n- [x] Mind Map\n- [x] Gantt Diagram\n- [x] Class Diagram\n- [ ] Universal style customization solution\n- [ ] Load diagram implementation and canvas renderer only when needed\n\nIf you have good thoughts or feature requests, please feel free to [start a new discussion](https://github.com/hikerpig/pintora/discussions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikerpig%2Fpintora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhikerpig%2Fpintora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikerpig%2Fpintora/lists"}