{"id":46407261,"url":"https://github.com/huangsam/hotspot","last_synced_at":"2026-04-21T06:08:28.179Z","repository":{"id":319772736,"uuid":"1079547914","full_name":"huangsam/hotspot","owner":"huangsam","description":"Diagnose debt before it ships! 🔬","archived":false,"fork":false,"pushed_at":"2026-02-27T17:50:27.000Z","size":7089,"stargazers_count":32,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T21:52:33.847Z","etag":null,"topics":["cli","devex","devops","git","golang","hacktoberfest","insights","maintenance","statistics"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huangsam.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-20T02:13:55.000Z","updated_at":"2026-02-27T17:50:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/huangsam/hotspot","commit_stats":null,"previous_names":["huangsam/hotspot"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/huangsam/hotspot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fhotspot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fhotspot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fhotspot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fhotspot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huangsam","download_url":"https://codeload.github.com/huangsam/hotspot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fhotspot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30124474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","devex","devops","git","golang","hacktoberfest","insights","maintenance","statistics"],"created_at":"2026-03-05T12:32:38.144Z","updated_at":"2026-04-21T06:08:28.171Z","avatar_url":"https://github.com/huangsam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotspot\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/huangsam/hotspot/ci.yml)](https://github.com/huangsam/hotspot/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/huangsam/hotspot)](https://goreportcard.com/report/github.com/huangsam/hotspot)\n[![License](https://img.shields.io/github/license/huangsam/hotspot)](https://github.com/huangsam/hotspot/blob/main/LICENSE)\n[![GitHub Release](https://img.shields.io/github/v/release/huangsam/hotspot)](https://github.com/huangsam/hotspot/releases/latest)\n\nHotspot is an agentic intelligence layer and CLI that analyzes Git history to diagnose technical debt and bus factor risk based on developer activity, ownership, and churn patterns.\n\n\u003cimg src=\"./images/demo.gif\" alt=\"Hotspot Demo\" width=\"800px\" /\u003e\n\nUnlike traditional linters or team-velocity metrics, Hotspot analyzes **development behavior**. It turns Git metadata into high-fidelity signals for technical debt, knowledge silos, and refactoring ROI—empowering both humans and AI agents to make data-driven architecture decisions.\n\n## Features\n\n- 🤖 **Agentic Hub** - Native MCP server with shape-aware \"Reasoning\" labels for autonomous auditing.\n- 🔍 **Tactical CLI** - Rapid file/folder ranking by activity, complexity, and ownership.\n- 🧮 **Deep Metrics** - High-fidelity signals for churn, Ginni coefficients, and bus factor risk.\n- 🕓 **Trend Tracking** - Time-anchored analysis and delta tracking across Git references.\n- 📊 **Polyglot Exports** - Professional CSV/JSON/Parquet/Markdown reporting.\n\n## Installation\n\n### Requirements\n\n- **Go 1.26+** for building from source\n- **Git 2.2+** for repository analysis\n\n### Install from source\n\n```bash\ngo install github.com/huangsam/hotspot@latest\n```\n\n### Download pre-built binary\n\nVisit the [latest release](https://github.com/huangsam/hotspot/releases/latest) and download the `tar` archive for your system (supports **Windows**, **macOS**, and **Linux**), then extract the binary to your `$PATH`.\n\n## Quick start: Choose your path\n\nHotspot is designed for both human-driven tactical analysis and AI-driven strategic auditing.\n\n### 🤖 Path A: AI Agent\n\nHotspot includes a **Self-Documenting Agentic Hub** via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/). This allows AI agents to autonomously explore your repository.\n\n```bash\n# Start the MCP server (stdio)\nhotspot mcp\n```\n\n### 🔍 Path B: Tactical CLI\n\nFor immediate terminal-based checks and CI/CD integration.\n\n```bash\n# Initialize hotspot with sensible defaults\nhotspot init\n\n# Analyze files for tactical risk\nhotspot files\n\n# Analyze folders for strategic subsystems\nhotspot folders\n```\n\n### Documentation\n\n- **[USERGUIDE.md](./USERGUIDE.md)**: Essential guide for analysis features, scoring modes, and core workflows.\n- **[PLAYBOOK.md](./PLAYBOOK.md)**: Actionable guidance on using this data to foster a healthy engineering culture.\n\n## Performance\n\nHotspot is optimized for speed, even on massive repositories, by caching Git analysis results and using concurrent workers.\n\n[csv-parser]: https://github.com/vincentlaucsb/csv-parser\n[fd]: https://github.com/sharkdp/fd\n[git]: https://github.com/git/git\n[kubernetes]: https://github.com/kubernetes/kubernetes\n\n### Benchmark results\n\nComprehensive performance benchmarks using [this script](./benchmark/main.go). This shows cold vs warm timings:\n\n| Repository | Files (Cold/Warm) | Compare Files (Cold/Warm) | Timeseries (Cold/Warm) |\n|------------|-------------------|---------------------------|------------------------|\n| [csv-parser] | 0.075s / 0.026s | 0.144s / 0.051s | 0.168s / 0.074s |\n| [fd] | 0.045s / 0.024s | 0.083s / 0.048s | 0.132s / 0.069s |\n| [git] | 0.546s / 0.041s | 1.389s / 0.175s | 2.039s / 0.243s |\n| [kubernetes] | 3.018s / 0.146s | 7.330s / 1.456s | 11.508s / 0.925s |\n\nThe data shows that Hotspot caches Git analysis results to speed up repeated runs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangsam%2Fhotspot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuangsam%2Fhotspot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangsam%2Fhotspot/lists"}