An open API service indexing awesome lists of open source software.

https://github.com/abhigyan126/repository-link

This Python script fetches GitHub repositories and generates a Mermaid graph visualization using LLM.
https://github.com/abhigyan126/repository-link

Last synced: 5 months ago
JSON representation

This Python script fetches GitHub repositories and generates a Mermaid graph visualization using LLM.

Awesome Lists containing this project

README

          

# Repository-Link

## Overview

This Python script fetches GitHub repositories and generates a Mermaid graph visualization.
check out implementation at https://github.com/Abhigyan126
## Sample

Screenshot 2025-01-23 at 12 47 04 PM

## Prerequisites

- Python 3.7+
- `requests` library
- google-generativeai library
- Custom LLM module wrapping Gemini Google Generative AI module.

## Installation

1. Clone the repository
2. Install dependencies:
```bash
pip install requests google-generativeai
```

## Usage

Run the script:
```bash
python main.py
```

1. Enter GitHub username when prompted
2. Script will fetch repositories
3. Generate Mermaid graph code
4. Paste the generated code in README.md

## Configuration

Modify script parameters:
- Adjust `per_page` for repository fetch limit
- Customize LLM prompt in `main()` function