A Chrome extension that analyzes GitHub repositories for development patterns and metrics!
- Commit frequency analysis
- Contributor activity tracking
- Commit patterns by weekday
- Average commit size metrics
- Python 3.8 or higher
- Google Chrome browser
- Git
git clone <your-repo-url>
cd code-analysis# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install dependencies
pip install -e .
# Install development dependencies (optional)
pip install -e ".[dev]"# Start the FastAPI server
./start_server.shThe server will run at http://localhost:8000
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select the
extensiondirectory from this project
- Navigate to any GitHub repository
- Click the extension icon in Chrome's toolbar
- Click "Analyze Repository" to see metrics
mypy cli appblack cli appWhen the server is running, visit:
- http://localhost:8000/docs for interactive API documentation
- http://localhost:8000/redoc for alternative documentation view
-
If the extension shows "No repository detected":
- Refresh the GitHub page
- Make sure you're on a repository page
-
If analysis fails:
- Check that the backend server is running
- Look for errors in the server logs
-
If the extension doesn't load:
- Check Chrome's extension page for errors
- Try reloading the extension
The FastAPI server logs all operations. Check the terminal where you ran start_server.sh for detailed error messages.
cli/: Command-line interface for git analysisapp/: FastAPI web serviceextension/: Chrome extension files

