https://github.com/grayfallstown/chatgpt-diagram-renderer
Renders Diagrams like PlantUML, Mermaid and many more directly in the ChatGPT Webinterface using kroki.io
https://github.com/grayfallstown/chatgpt-diagram-renderer
Last synced: about 1 year ago
JSON representation
Renders Diagrams like PlantUML, Mermaid and many more directly in the ChatGPT Webinterface using kroki.io
- Host: GitHub
- URL: https://github.com/grayfallstown/chatgpt-diagram-renderer
- Owner: grayfallstown
- License: mit
- Created: 2024-05-24T12:31:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T19:01:11.000Z (about 2 years ago)
- Last Synced: 2024-05-29T07:18:33.580Z (about 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 612 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://kroki.io). This extension supports a variety of diagram types and ensures that all diagrams are rendered seamlessly within the chat.



## 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](https://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:*
- [Firefox Add-ons](https://addons.mozilla.org/de/firefox/addon/chatgpt-diagram-renderer/)
- [Microsoft Add-ons](https://microsoftedge.microsoft.com/addons/detail/chatgpt-diagram-renderer/nppjndikhalonkcjjpoihcdijnlckcne)
- Chrome Add-ons (will take a while)
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](https://microsoftedge.microsoft.com/addons/detail/chatgpt-diagram-renderer/nppjndikhalonkcjjpoihcdijnlckcne) 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](https://addons.mozilla.org/de/firefox/addon/chatgpt-diagram-renderer/) 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.
[](https://www.paypal.com/donate?hosted_button_id=PDLLVF5XVMJPC)
## Acknowledgments
Special thanks to the developers of [Kroki.io](https://kroki.io) and [Code Copilot](https://promptspellsmith.com/g/g-2DQzU5UZl) for their amazing tools and services.
## License
This project is open source and licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Build
Setup node js first!
run `build.bat` if you are on windows.
Otherwise run:
````bash
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!*