ahmedkhaleel2004 / gitdiagram

Free, simple, fast interactive diagrams for any GitHub repository

Home Page:https://gitdiagram.com

Repository from Github https://github.comahmedkhaleel2004/gitdiagramRepository from Github https://github.comahmedkhaleel2004/gitdiagram

API

janwilmake opened this issue · comments

I'm working on an API for you guys to allow devs to integrate with it...

https://github.com/janwilmake/forgithub.diagram

Happy to talk send me a DM on X

Update:

  • added frontend
  • added api docs
  • total LOC reduction: 9.5x

Possible improvements:

Update:

  • Added cache-control with stale-while-revalidate and max-age, so it's easy to refresh with a query param
  • Added browser rendered png endpoint, e.g.

Sometimes though I'm getting invalid syntax, e.g.:
https://diagram.forgithub.com/ahmedkhaleel2004/gitdiagram

I would like to know, maybe I've used some incorrect settings? e.g. what mermaid version are you using, and which LLM?