https://github.com/jwalsh/repolens
Repository analysis tool that provides standardized metrics, visualizations, and insights for understanding code structure and project health.
https://github.com/jwalsh/repolens
analytics api code-metrics developer-tools flask git github-api python repository-analysis visualization
Last synced: 10 days ago
JSON representation
Repository analysis tool that provides standardized metrics, visualizations, and insights for understanding code structure and project health.
- Host: GitHub
- URL: https://github.com/jwalsh/repolens
- Owner: jwalsh
- Created: 2024-09-13T22:38:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-07T02:06:11.000Z (11 months ago)
- Last Synced: 2025-12-31T21:14:34.304Z (4 months ago)
- Topics: analytics, api, code-metrics, developer-tools, flask, git, github-api, python, repository-analysis, visualization
- Language: Python
- Homepage: https://replit.com/@JasonWalsh1/RepoLens
- Size: 271 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# RepoLens
[](https://opensource.org/licenses/MIT)
A standardized system to package, present, and analyze project repositories.
## Overview
RepoLens helps you gain insights into your software projects by analyzing repository structure, commit patterns, and codebase metrics. Whether you're evaluating project health, understanding contribution patterns, or extracting key metrics, RepoLens provides a standardized approach to repository analysis.
## Features
- **Repository Analysis**: Track file counts, commit history, branch structures
- **File Type Analysis**: Understand your codebase composition by file types
- **Web Interface**: Intuitive dashboard for viewing repository metrics
- **API Access**: Programmatic access to repository data and analysis
## Getting Started
### Prerequisites
- Python 3.11 or higher
- PostgreSQL database
- Git
### Installation
1. Clone the repository:
```bash
git clone https://github.com/jwalsh/repolens.git
cd repolens
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
Or using Poetry:
```bash
poetry install
```
3. Set up environment variables:
```bash
export DATABASE_URL="postgresql://username:password@localhost/repolens"
```
4. Run the application:
```bash
python main.py
```
5. Access the web interface at http://localhost:5000
## Usage
1. Add repositories for analysis via the web interface
2. View detailed metrics for each repository
3. Export analysis data or access via API endpoints
## Contributing
We welcome contributions! Please see our [DEVELOPER.md](DEVELOPER.md) for guidelines on how to contribute to this project.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Contact
- Project Homepage: https://replit.com/@JasonWalsh1/RepoLens
- GitHub Repository: https://github.com/jwalsh/repolens