Open
Description
This is a follow up to #20.
The Interactive Repo Visualizer tool is superior to the static SVG generation option.
It will be great to have it either open-sourced, released as part of the repo Insights (tab) on GitHub, or at least add official support for accessing private repos.
In the mean time, here are the instructions to get the current tool working with private repos:
-
Generate a new PAT with repo permissions
-
Add the following code to the JS console replacing
TOKEN
with your GitHub PATwindow.originalFetch = window.fetch; const modifiedFetch = (resource, init) => window.originalFetch(resource, { ...init, headers: { "Authorization": "Bearer TOKEN" } }); window.fetch = modifiedFetch;
-
In the repository input, type any repository (public or private)
Kudos to @filipegiusti for posting the original instructions for private repo support.
Metadata
Metadata
Assignees
Labels
No labels