Home

Published by Sagar Kudu on

- 2 min read

Turn GitHub Repository into Interactive Diagrams

img of Turn GitHub Repository into Interactive Diagrams

Convert a GitHub Repository into a Diagram

Easily visualize your GitHub repository using interactive diagrams by following the steps below.


🧭 Step-by-Step Guide

✅ Step 1: Visit the Website

Start by visiting the main interface where the diagram generation begins.

Visit GitDiagrams


🔑 Step 2: Get Your OpenAI API Key

To generate diagrams, you’ll need an OpenAI API key.

Get OpenAI Key


🛠️ Step 3: Generate a Secret Key

Click on “Create new secret key” to generate your API key.

Generate Secret Key


📝 Step 4: Name Your Project

Give your API key a clear name, such as “GitHub Diagram”, for easy identification.

Enter Project Name


💾 Step 5: Save Your Key

Copy the generated key and store it somewhere safe — it will only be shown once.

💡 Tip: Use a secure text editor like Notepad++ or a password manager to store your key.

Save the Key


🎉 Final Step: Use the Key on GitDiagrams

Once your key is saved, you’re ready to use it on GitDiagrams.com!

  1. Go to the homepage.
  2. Click on the API Key button.
  3. Paste your secret key.
  4. Click Save Key.

Use the Key

Your key is stored locally in your browser’s localStorage.
Here’s a reference image showing how it’s stored:

Key in LocalStorage


🔗 Visualize Your GitHub Repo

  1. Visit GitHub.com and navigate to your repository.
  2. Copy the repository URL.
    Example: https://github.com/sagarkudu/learn-html
  3. Paste the URL into GitDiagrams and click “Diagram” to generate your visual.

Enter Repository URL


⚠️ Lost Your Key?

If you lose your API key, simply repeat the steps above to generate a new one.


💬 Need help? Drop a comment or reach out to support for assistance!

Related Posts

There are no related posts yet. 😢