Powerful GitHub repository analysis and visualization Chrome extension
Navigate any GitHub repository with interactive visualizations, dependency analysis, and smart insights - all without leaving your browser.
- Force-directed graph showing repository structure
- Drag nodes, zoom, and explore file relationships
- Color-coded files by type
- Instant Search - Find any file in milliseconds
- Dependency Detection - Supports npm, Python, Flutter, Rust, Go, Java
- Security Scanning - Identify potential vulnerabilities
- Code Metrics - Complexity scores and health ratings
- Health score calculation (0-100)
- Contributor statistics
- Commit activity visualization
- Technology stack auto-detection
- Estimated lines of code
- Average file sizes
- Complexity scoring
- Commit activity charts
- Securely analyze your private repos
- GitHub tokens stored locally (never sent to external servers)
- No data collection or tracking
- Export analysis as JSON or Markdown
- One-click clone commands
- Direct file links
- Visit GitNav on Chrome Web Store
- Click "Add to Chrome"
- Navigate to any GitHub repository
- Click "Analyze Codebase"
# Clone repository
git clone https://github.com/SELESTER11/GitNav.git
cd GitNav
# Install dependencies
npm install
# Build extension
npm run build
# Load in Chrome
# 1. Open chrome://extensions/
# 2. Enable "Developer mode"
# 3. Click "Load unpacked"
# 4. Select the dist/ folder- Navigate to any GitHub repository
- Click the "Analyze Codebase" button (bottom right)
- Explore tabs:
- Overview - Repository stats and quick insights
- Visualize - Interactive force-directed graph
- Tree - File structure explorer
- Search - Find files instantly
- Insights - Health scores and metrics
- Metrics - Code complexity and activity
- Dependencies - Project dependencies
- Security - Vulnerability scanning
- About - Extension information
- Click "Analyze Codebase" on a private repo
- See the blue banner prompting for a token
- Click "Create token" - generates GitHub token with
reposcope - Paste token and click "Save"
- Extension automatically reloads with access
- Scroll to zoom on the force graph
- Drag nodes to rearrange visualization
- Click files to open on GitHub
- Click folders to zoom into that section
- Use Search tab for large repos (1000+ files)
- Export analysis to save reports
![]() Overview |
![]() Visualization |
![]() Insights |
![]() Metrics |
![]() Tree Explorer |
![]() Security |
- React - UI components for popup
- Vanilla JavaScript - Core extension logic
- GitHub REST API - Real-time repository data
- Canvas API - High-performance force graph rendering
- Vite - Build tooling
- Chrome Extension Manifest V3 - Latest Chrome extension platform
GitNav/
├── src/
│ ├── content.js # Main extension logic
│ ├── background.js # Service worker
│ ├── popup.js # Popup UI (React)
│ └── popup.css # Popup styles
├── public/
│ └── index.html # Popup HTML
├── icons/ # Extension icons
├── screenshots/ # Documentation screenshots
├── manifest.json # Extension manifest
└── vite.config.js # Build configuration
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/AmazingFeature- Commit your changes
git commit -m 'Add some AmazingFeature'- Push to the branch
git push origin feature/AmazingFeature- Open a Pull Request
- Add support for more languages (C++, C#, Ruby, PHP)
- Improve force graph performance for very large repos
- Add dark/light theme toggle
- Create video tutorials
- Translate to other languages
- Add more visualization types
This project is licensed under the MIT License - see the LICENSE file for details.
GitNav respects your privacy:
- All data processed locally in your browser
- GitHub tokens stored in Chrome local storage only
- No analytics or tracking
- No external servers - direct API calls to GitHub only
- Open source - audit the code yourself
See PRIVACY.md for full details.
Varun Karamchandani
- Computer Science Student at Binghamton University
- GitHub: github.com/SELESTER11
- LinkedIn: linkedin.com/in/varunkkc
- Email: vkaramchanda@binghamton.edu
- Inspired by D3.js force-directed graphs
- Built with the GitHub REST API
- Thanks to the open source community
Made with care by Varun Karamchandani
Star this repo if you find it helpful!





