Skip to content

Latest commit

 

History

History
149 lines (106 loc) · 4.4 KB

Readme.md

File metadata and controls

149 lines (106 loc) · 4.4 KB

ChatGPT Diagram Renderer

This extension is currently only available on firefox and microsoft extension stores! Due to issues Chrome store, Chrome support will take more time


ChatGPT Diagram Renderer

Renders diagrams and charts like PlantUML, Mermaid, and many more directly in the ChatGPT web interface using Kroki.io. This extension supports a variety of diagram types and ensures that all diagrams are rendered seamlessly within the chat.

Screenshot Screenshot Screenshot

Features

  • Easy Diagram Rendering: Automatically render diagrams written by ChatGPT.
  • Dark Mode Support: Darkmode automatically active when active in your system.
  • Zoomable Images: Click on diagrams to view them in a larger modal.
  • Wide Format Support: Supports multiple diagram formats via Kroki.io.

No Bullshit

  • No Ads
  • No trackers
  • No asking for rating the extension
  • No asking for donations in your browser
  • Only external service used is Kroki.io to render the images

Supported Diagrams

This extension supports the following diagram types:

  • ActDiag
  • BlockDiag
  • C4 with PlantUML
  • D2
  • DBML
  • Ditaa
  • Excalidraw
  • GraphViz
  • Mermaid
  • Nomnoml
  • NwDiag
  • PacketDiag
  • Pikchr
  • PlantUML
  • RackDiag
  • SeqDiag
  • SvgBob
  • Symbolator
  • UMLet
  • Vega
  • Vega-Lite
  • WaveDrom

Support for these formats is active, but might not work correctly

  • Erd
  • Structurizr
  • TikZ
  • WireViz

Installation

In Stores:

Manual installation:*

Chrome

  1. Download the ZIP file and extract it.
  2. Open Chrome and go to chrome://extensions/.
  3. Enable "Developer mode" in the top right.
  4. Click "Load unpacked" and select the extracted folder.

Edge (You can use the extension store link above instead of doing this manually)

  1. Download the ZIP file and extract it.
  2. Open Edge and go to edge://extensions/.
  3. Enable "Developer mode" in the bottom left.
  4. Click "Load unpacked" and select the extracted folder.

Firefox

(You can use the extension store link above instead of doing this manually)

  1. Download the ZIP file and extract it.
  2. Open Firefox and go to about:debugging#/runtime/this-firefox.
  3. Click "Load Temporary Add-on".
  4. Select any file inside the extracted folder (e.g., manifest.json).

Opera

  1. Download the ZIP file and extract it.
  2. Open Opera and go to opera://extensions/.
  3. Enable "Developer mode" in the top right.
  4. Click "Load unpacked" and select the extracted folder.

Pro Tip:

To enhance your experience on the ChatGPT web interface:

  • Click on your profile picture.
  • Select "Customize ChatGPT".
  • Scroll down to the second textarea.
  • Enter a text like: "Make full use of all kroki.io supported formats to add one or more visualizations to your answers."

Donations

If you find this extension useful and would like to support its development, consider donating via PayPal.

Donate

Acknowledgments

Special thanks to the developers of Kroki.io and Code Copilot for their amazing tools and services.

License

This project is open source and licensed under the MIT License. See the LICENSE file for details.

Build

Setup node js first!

run build.bat if you are on windows.

Otherwise run:

npm install
npm run build
cd artifacts/
ls

Note: If you run this as a temporary extension and not from the extension stores, you need to click on the extension icon while using chatgpt or it will not load. It is a technical limitation of manifest v3.


Thank you for using ChatGPT Diagram Renderer!