awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
obsidianmd avatar

obsidianmd/pele

0
View on GitHub↗
pele.run↗

Pele

Pele is a TypeScript library that turns Mermaid diagram text into SVG graphics in a single synchronous call, without a browser rendering step. It covers diagram types such as flowcharts, sequence, class, state, chart and timeline diagrams, detecting which kind a piece of source text describes and choosing the matching parser and renderer automatically.

The library is built to be embedded and to handle untrusted input. In a browser, it can mount a diagram into a page element, read fonts from CSS, and adapt the layout to the width of its container. Colors, fonts and corner radius come from CSS variables, so theme changes apply without re-rendering. Diagrams written by outside users can be displayed more safely: label text is escaped, links and style values are filtered, and limits are placed on both source and output size.

Individual diagram types can be registered one at a time or loaded on demand, which keeps the initial bundle small. Readers can also zoom and pan around large or detailed diagrams. The project's test setup runs test files across parallel worker threads.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Mermaid Diagram Renderers - Converts Mermaid diagram text into SVG in a single synchronous call across flowcharts, sequence, class, state, chart and timeline diagrams.
  • Browser-Free Generators - Produces diagram SVG from plain text in one synchronous call, so build scripts and documentation tools need no browser.
  • Diagram Renderers - Converts parsed diagram models into positioned SVG graphics through layout calculation and SVG generation with no browser rendering.
  • Untrusted Input Renderers - Renders diagrams from untrusted sources more safely by escaping text, filtering links and styles, and capping source and output size.
  • Text-to-SVG Generators - Turns diagram source into SVG markup in one blocking call by chaining preprocessing, parsing, layout and SVG generation.
  • Untrusted Diagram Sanitization - Escapes label text, filters unsafe links and style values, and limits source and output size so outside diagrams display more safely.
  • Text-to-Diagram Generators - Generates SVG from structured diagram text in one synchronous call, covering flowchart, sequence, class, state, chart and timeline diagrams.
  • Web-Embeddable Diagramming Libraries - Embeds responsive diagrams in page elements, adapting to container width and picking up fonts, colors and themes from CSS.
  • SVG Sanitization - Escapes labels, filters unsafe links and styles, and caps source and output size before SVG is produced, guarding against injection.
  • CSS Variable Theming - Reads colors, fonts and corner radius from CSS custom properties so theme changes apply to diagrams without re-rendering.
  • Diagram Theme Overrides - Applies colors, fonts and corner radius to rendered diagrams from CSS variables, updating with theme changes without re-rendering.
  • Layout Engines - Computes node and edge positions mathematically from the parsed model, avoiding any real browser layout or painting pass.
  • Diagram Page Mounting - Mounts rendered SVG diagrams into a chosen page element so they appear inside existing content without a page reload.
4,368 stars·132 forks·TypeScript·3 views

Star history

Star history chart for obsidianmd/peleStar history chart for obsidianmd/pele

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does obsidianmd/pele do?

Pele is a TypeScript library that turns Mermaid diagram text into SVG graphics in a single synchronous call, without a browser rendering step. It covers diagram types such as flowcharts, sequence, class, state, chart and timeline diagrams, detecting which kind a piece of source text describes and choosing the matching parser and renderer automatically.

What are the main features of obsidianmd/pele?

The main features of obsidianmd/pele are: Mermaid Diagram Renderers, Browser-Free Generators, Diagram Renderers, Untrusted Input Renderers, Text-to-SVG Generators, Untrusted Diagram Sanitization, Text-to-Diagram Generators, Web-Embeddable Diagramming Libraries.

Which projects share features with obsidianmd/pele?

Projects with overlapping indexed features include: bramp/js-sequence-diagrams — js-sequence-diagrams is a JavaScript library used to generate SVG sequence diagrams from plain text descriptions. It… ivanceras/svgbob — svgbob is an ASCII to SVG converter and text-based diagramming tool. It transforms structured ASCII diagrams and plain… lukilabs/beautiful-mermaid — This project is a renderer and theme engine for Mermaid.js that converts diagram syntax into styled SVG graphics and… iuricode/readme-template — This project is a collection of standardized markdown layouts and component libraries used to organize project… purocean/yn — yn is a markdown text editor and knowledge management tool designed as an interactive document canvas. It functions as… mermaid-js/mermaid-cli — Mermaid-cli is a command line interface and programmatic tool that converts text-based diagram syntax into static…

Projects sharing features with Pele

These projects share indexed features with Pele. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • ivanceras/svgbobivanceras avatar

    ivanceras/svgbob

    4,237View on GitHub↗

    svgbob is an ASCII to SVG converter and text-based diagramming tool. It transforms structured ASCII diagrams and plain text sketches into clean, scalable vector graphics. The tool specializes in converting ASCII art and text-based scribbles into precise SVG paths, specifically for technical documentation and presentations. It supports the generation of directional arrows and structural diagrams by translating specific characters into vector lines, corners, and intersections. The system includes capabilities for rendering ASCII diagrams, generating vector graphics for technical guides, and es

    Rustasciibobdiagram
    View on GitHub↗4,237
  • bramp/js-sequence-diagramsbramp avatar

    bramp/js-sequence-diagrams

    7,836View on GitHub↗

    js-sequence-diagrams is a JavaScript library used to generate SVG sequence diagrams from plain text descriptions. It functions as a text-to-diagram tool that transforms structured textual input into scalable vector graphics to represent system interaction flows. The library provides capabilities for system workflow visualization and technical documentation automation. It maps the communication between different components or services by converting text into visual representations of logic flows. The tool includes support for custom typeface loading to change the visual style and lettering of

    JavaScriptjavascriptsequence-diagramsvg
    View on GitHub↗7,836
  • lukilabs/beautiful-mermaidlukilabs avatar

    lukilabs/beautiful-mermaid

    11,264View on GitHub↗

    This project is a renderer and theme engine for Mermaid.js that converts diagram syntax into styled SVG graphics and ASCII text. It provides a type-safe diagram editor and a pipeline for transforming diagram source code into scalable vector graphics or plain text visuals. The system features a dedicated theme engine that maps editor colors and CSS variables to diagram elements. It enables dynamic diagram theming through CSS custom properties for real-time color updates and supports index-based styling to override the appearance of specific nodes and edges. The tool covers a range of visualiz

    TypeScript
    View on GitHub↗11,264
  • iuricode/readme-templateiuricode avatar

    iuricode/readme-template

    5,204View on GitHub↗

    This project is a collection of standardized markdown layouts and component libraries used to organize project documentation, user profiles, and technical diagrams. It provides predefined templates for creating professional GitHub profile pages and structured documentation for open source projects, including guides for installation, usage, and contribution. The library features specialized templates for rendering flowcharts and sequence diagrams using text-to-visual syntax. It also includes a system for integrating dynamic profile statistics and status cards that automatically display user co

    iuricodemodelosprofile
    View on GitHub↗5,204
  • Compare all 30 related projects→