Code Archaeology
Uncover the hidden history of a codebase.

Highlights
- Deep git history analysis
- Hotspot detection and ownership tracking
- Complexity metrics and quality scanning
- Fastify 5 backend on Bun with PostgreSQL and Redis
- Next.js 15 and React 19 dashboard
What it explores
Code Archaeology treats a repository’s git history as a dataset. Instead of looking only at the current tree, it examines how files and ownership change over time and uses that history to expose patterns in the codebase.
The experiment is about making longitudinal evidence visible. A file that changes often, a concentration of ownership, or rising complexity can all be useful prompts for investigation without being treated as automatic proof of a problem.
Analysis surface
The system includes hotspot detection, ownership tracking, complexity metrics, and quality scanning. Those signals are presented together so a viewer can move between repository history and current code characteristics.
Architecture
The backend uses Fastify 5, TypeScript, PostgreSQL, and Redis, running on the Bun runtime. The dashboard frontend uses Next.js 15 and React 19. The public backend repository is linked in the metadata; the frontend is maintained separately at code-archaeology-frontend.
Why I built it
I wanted a hands-on way to explore repository analytics beyond a single static report. Separating the backend from the dashboard keeps the data-processing concern and the visualization surface distinct.