A Python application that analyzes public GitHub repositories and answers questions about their code using a large language model.
- Fetch public GitHub repository files
- Analyze Python source code
- Ask natural-language questions
- Receive code explanations and possible bug suggestions
- View retrieved source files
- Python
- Streamlit
- OpenAI API
- GitHub REST API
- Requests
-
Clone or download this repository.
-
Create a virtual environment.
-
Install dependencies:
pip install -r requirements.txt
-
Add your API key to the local .env file.
-
Run the application:
streamlit run app.py
Never commit API keys or execute untrusted repository code.