Skip to content

halasri-ai/github-automation-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Intelligent GitHub Automation Suite

πŸŽ™οΈ Voice-Controlled Repository Creation

πŸ“Š AI-Powered Repository Analysis

πŸ’¬ RAG-Based Repository Q&A Chatbot

An end-to-end AI automation ecosystem that transforms spoken GitHub commands into fully analyzed, documented, and queryable repositories.





πŸ“Œ Overview

The Intelligent GitHub Automation Suite is a multi-system AI platform designed to automate the complete lifecycle of:

  • βœ… GitHub Repository Management
  • βœ… AI-Powered Repository Analysis
  • βœ… Knowledge Extraction & Semantic Search
  • βœ… Documentation Generation
  • βœ… Retrieval-Augmented Q&A

This project combines three independently designed AI systems into one seamless automation workflow.


⚑ Systems Included

System Description
πŸŽ™οΈ System 1 Voice-controlled GitHub automation assistant
πŸ“Š System 2 AI-powered repository analyzer & documentation engine
πŸ’¬ System 3 RAG-based GitHub repository Q&A chatbot

πŸ—οΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    USER (Local Machine)                      β”‚
β”‚                                                              β”‚
β”‚   πŸŽ™οΈ Voice Command β†’ GitHub Voice Assistant                  β”‚
β”‚                                                              β”‚
β”‚        ↓                                                     β”‚
β”‚   Repository Created & Code Pushed                           β”‚
β”‚                                                              β”‚
β”‚        ↓                                                     β”‚
β”‚   GitHub Repository URL Generated                            β”‚
β”‚                                                              β”‚
β”‚        ↓                                                     β”‚
β”‚   CURL POST Request Sent to Remote Endpoint                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚                     β”‚
              β–Ό                     β–Ό

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    ☁️ CLOUD VM A    β”‚   β”‚         ☁️ CLOUD VM B            β”‚
β”‚                     β”‚   β”‚                                  β”‚
β”‚  πŸ“Š System 2        β”‚   β”‚  πŸ’¬ System 3                     β”‚
β”‚  Repo Analyzer      β”‚   β”‚  RAG Q&A Chatbot                β”‚
β”‚                     β”‚   β”‚                                  β”‚
β”‚  β€’ Repo Download    β”‚   β”‚  β€’ Embedding Generation          β”‚
β”‚  β€’ File Parsing     β”‚   β”‚  β€’ FAISS Vector DB               β”‚
β”‚  β€’ LLM Analysis     β”‚   β”‚  β€’ Gemini Responses              β”‚
β”‚  β€’ PDF/PPT Output   β”‚   β”‚  β€’ PDF Chat Export               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”„ Complete Workflow

πŸŽ™οΈ Step 1 β€” Voice-Based GitHub Automation

The user launches the Voice Assistant and speaks commands such as:

Create repository AI-Automation-Suite

The system automatically performs:

  • 🎀 Speech-to-text conversion
  • 🧠 Intent recognition using Flan-T5
  • πŸ”— GitHub API execution
  • πŸ“ Local Git operations
  • πŸš€ Automatic repository push

πŸ“‘ Step 2 β€” Repository Distribution

Once the repository is created, the repository URL is distributed using a CURL request:

curl -X POST "http://<endpoint>/receive" \
  -H "Content-Type: application/json" \
  -d '{"link":"https://github.com/<owner>/<repo>"}'

The endpoint forwards the repository link to:

  • ☁️ Cloud VM A β†’ Repository Analyzer
  • ☁️ Cloud VM B β†’ RAG Chatbot

Both systems execute independently and concurrently.


πŸŽ™οΈ System 1 β€” GitHub Voice Assistant

πŸ“Œ Description

A voice-controlled GitHub management assistant powered by:

  • 🧠 Flan-T5
  • 🎀 SpeechRecognition
  • πŸ”— PyGithub
  • πŸ”Š pyttsx3

Supports both:

  • πŸŽ™οΈ Voice Mode
  • ⌨️ Text Mode

✨ Features

πŸ“ Repository Management

  • Create repositories
  • Delete repositories
  • Push local folders
  • Pull latest changes

πŸ‘₯ Collaboration

  • Add collaborators
  • Remove collaborators
  • Assign permissions

πŸ› Issue Management

  • Create issues
  • Comment on issues
  • Close issues
  • List issues

πŸ”€ Pull Requests

  • Create PRs
  • Merge PRs
  • List pull requests

🌿 Branch Management

  • Create branches
  • Delete branches
  • List branches

βš™οΈ GitHub Actions

  • Create workflow templates
  • Check workflow status

βš™οΈ Technical Flow

Voice Input
    ↓
Speech Recognition
    ↓
Flan-T5 Intent Detection
    ↓
Command Parser
    ↓
GitHub API / Git Commands
    ↓
Text-to-Speech Response

πŸ“Š System 2 β€” Repository Analyzer

πŸ“Œ Description

An automated AI-powered repository analysis engine that generates:

  • πŸ“„ Professional PDF Reports
  • πŸ“Š PowerPoint Presentations
  • 🧠 Architecture Summaries

Powered by:

  • AWS Bedrock
  • Claude 3 Sonnet
  • LangChain

✨ Core Features

πŸ“₯ Repository Processing

  • ZIP download
  • Branch fallback (main β†’ master)
  • File extraction
  • Directory filtering

🧠 AI Analysis

  • Recursive text chunking
  • Per-file analysis
  • Architecture understanding
  • Security & performance review

πŸ“„ Report Generation

  • PDF report generation
  • PowerPoint slide generation
  • Structured project summaries

πŸ“‘ Report Sections

# Section
1 Project Summary
2 Tech Stack
3 File Structure
4 Core Modules
5 Data Flow
6 Code Quality
7 Security Risks
8 Performance Risks
9 Refactor Suggestions
10 Architecture Summary

πŸ’¬ System 3 β€” RAG-Based Q&A Chatbot

πŸ“Œ Description

A Retrieval-Augmented Generation chatbot that enables users to ask natural language questions about any GitHub repository.

Built using:

  • 🧠 Gemini
  • πŸ“š FAISS
  • πŸ” SentenceTransformers
  • 🎨 Streamlit

✨ Features

πŸ“š Semantic Retrieval

  • Repository parsing
  • Embedding generation
  • FAISS vector indexing
  • Context retrieval

πŸ’¬ Interactive Chat

  • Repository Q&A
  • Context-aware responses
  • Detailed explanations
  • Session memory

πŸ“„ PDF Export

  • Export complete conversations
  • Structured knowledge reports
  • Downloadable documentation

πŸ› οΈ Tech Stack

πŸŽ™οΈ System 1 β€” Voice Assistant

Category Technology
Language Python
AI Model Flan-T5
Speech Recognition SpeechRecognition
GitHub Integration PyGithub
Text-to-Speech pyttsx3
NLP HuggingFace Transformers

πŸ“Š System 2 β€” Repository Analyzer

Category Technology
LLM Claude 3 Sonnet
Cloud Platform AWS Bedrock
Framework LangChain
PDF Generation ReportLab
PPT Generation python-pptx

πŸ’¬ System 3 β€” RAG Chatbot

Category Technology
UI Framework Streamlit
LLM Gemini 2.5 Flash
Embedding Model all-MiniLM-L6-v2
Vector Database FAISS
PDF Export FPDF

πŸ“ Project Structure

intelligent-github-suite/
β”‚
β”œβ”€β”€ πŸ“‚ system1_voice_assistant/
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”œβ”€β”€ .env.example
β”‚   └── .github/workflows/
β”‚
β”œβ”€β”€ πŸ“‚ system2_repo_analyzer/
β”‚   β”œβ”€β”€ integrated_github_analyzer.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── analysis_output/
β”‚
β”œβ”€β”€ πŸ“‚ system3_rag_chatbot/
β”‚   β”œβ”€β”€ app.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── fonts/
β”‚
β”œβ”€β”€ πŸ“‚ endpoint/
β”‚   └── receiver.py
β”‚
β”œβ”€β”€ README.md
└── architecture_workflow.pdf

βš™οΈ Installation

πŸ“Œ Prerequisites

  • Python 3.9+
  • GitHub Personal Access Token
  • AWS Bedrock Access
  • Gemini API Key
  • Cloud VMs (Optional)

πŸŽ™οΈ System 1 Setup

git clone https://github.com/YOUR_USERNAME/intelligent-github-suite.git

cd intelligent-github-suite/system1_voice_assistant

python -m venv venv

# Windows
venv\Scripts\activate

# Linux / Mac
source venv/bin/activate

pip install -r requirements.txt

Configure .env

GITHUB_TOKEN=your_token
GITHUB_USERNAME=your_username

πŸ“Š System 2 Setup

cd system2_repo_analyzer

pip install -r requirements.txt

πŸ’¬ System 3 Setup

cd system3_rag_chatbot

pip install -r requirements.txt

Configure .env

GENAI_API_KEY=your_api_key

πŸš€ Running the Systems

πŸŽ™οΈ Run Voice Assistant

python main.py

πŸ“Š Run Repository Analyzer

python integrated_github_analyzer.py

πŸ’¬ Run RAG Chatbot

streamlit run app.py

πŸ—£οΈ Voice Commands

πŸ“ Repository Commands

Create repository <name>
Delete repository <name>
Push to <repo-name>
Pull from <repo-name>

πŸ› Issue Commands

Create issue titled "<title>"
Close issue <number>
List issues

πŸ”€ Pull Request Commands

Create pull request
Merge pull request
List pull requests

🌿 Branch Commands

Create branch <name>
Delete branch <name>
List branches

☁️ Deployment Considerations

System Recommended Specs
πŸ“Š System 2 4+ vCPUs, 8GB+ RAM
πŸ’¬ System 3 2+ vCPUs, 4GB+ RAM

πŸ›‘οΈ Security Best Practices

βœ… Store credentials in .env files
βœ… Use IAM roles or secret managers
βœ… Never commit API keys
βœ… Use fine-grained GitHub tokens
βœ… Rotate credentials regularly


πŸ“Š Performance Reference

Operation Approximate Time
🎀 Voice Recognition 1–2 sec
🧠 Flan-T5 Inference 0.5–1 sec
πŸ“Š Repository Analysis 10–25 min
πŸ“š FAISS Indexing 30–120 sec
πŸ’¬ Gemini Response 3–8 sec

🀝 Contributing

git checkout -b feature/your-feature-name

git commit -m "Add your feature"

git push origin feature/your-feature-name

πŸ“„ License

Licensed under the MIT License


πŸ™Œ Acknowledgements

  • PyGithub
  • Flan-T5
  • AWS Bedrock
  • Claude 3 Sonnet
  • LangChain
  • Streamlit
  • Gemini
  • FAISS
  • ReportLab
  • python-pptx

⭐ Built with Voice + Cloud + AI

If you found this project useful, consider giving it a star ⭐

About

AI-powered workflow automation platform with voice assistant, RAG chatbot, and PPT/PDF generation modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages