Enhancements - Fetch env vars dynamically.
Author: awaisnCreated Aug 9, 2025Updated Aug 9, 2025
Great tool, thank you for this. Although during local deployment I noticed some issues.
- Despite providing Github PAT, the code fetches the PAT not from
.envbut from inside the "Private Repos" dialog box where we are prompted to enter the key. Its visible insrc/hooks/useDiagram.tswhere the github token if not given is set toundefined - Similarly, a suggestion would be to define
BACKEND_PORTvar in .env for easy fetching by/backend/entrypoint.shand/backend/Dockerfile. I had to change the port values in both files.
Source: ahmedkhaleel2004/gitdiagram