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.
- Host: GitHub
- URL: https://github.com/abhigyan126/repository-link
- Owner: Abhigyan126
- Created: 2025-01-23T06:23:18.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-23T07:35:49.000Z (9 months ago)
- Last Synced: 2025-03-30T10:29:50.217Z (6 months ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
![]()
## 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