Sign inSign up

imann122/devmetrics

By imann122

Updated 4 months ago

A developer productivity dashboard that tracks local Git activity in real time, built with .NET 8.

Image
Developer tools
Monitoring & observability
0

258

imann122/devmetrics repository overview

DevMetrics is a self-hosted developer productivity dashboard that tracks local Git activity in real time. It scans your local Git repositories, aggregates commit history, lines added/deleted, and files changed, then displays the data on a live dashboard that updates automatically via WebSockets.

Quick Start For a quick start, simply add the Windows or Mac/Linux Path to these commands. Make sure you have Docker Desktop installed and running in the background while executing these commands

Windows

docker run -p 5000:80 -v "${RepoPath}:/repos/my-repo" imann122/devmetrics Write-Host "Open http://localhost:5000 and add /repos/my-repo" powershell.\run.ps1 -RepoPath "C:\Users\Name\Projects\my-repo"

Mac/Linux (run.sh): #!/bin/bash

docker run -p 5000:80 -v "$1:/repos/my-repo" imann122/devmetrics echo "Open http://localhost:5000 and add /repos/my-repo" Clone the Repository (If you want to dive into the code)

1. Clone the repository

git clone https://github.com/your-org/devmetrics.git cd devmetrics

The image is published on Docker Hub at imann122/devmetrics.

Windows

docker run -p 5000:80 -v C:\Users\YourName\Projects\your-repo:/repos/my-repo imann122/devmetrics

Mac/Linux

docker run -p 5000:80 -v /home/username/projects/your-repo:/repos/my-repo imann122/devmetrics Make sure you have Docker Desktop installed and running in the background while executing these commands

Replace the path before : with any Git repository on your machine in the docker-compose.yml file under volume Open http://localhost:5000 Click Add Repository and enter /repos/my-repo Click Scan now to populate the dashboard

Features

Real-time dashboard updates via SignalR Commit activity charts with configurable date windows Hourly background scanning with cron scheduling SQLite database — no external database required REST API with Swagger documentation at /swagger Separate liveness and readiness health check endpoints at /health/live and /health/ready

Source Code github.com/imann128/DevMetrics

Tag summary

Content type

Image

Digest

sha256:e35423a28

Size

96.3 MB

Last updated

4 months ago

docker pull imann122/devmetrics