Code Archaeology

Uncover the hidden history of a codebase.

  • TypeScript
  • Fastify
  • Next.js
  • PostgreSQL
  • Redis
Code Archaeology dashboard
fig. 01Code Archaeology dashboard · 2026

Highlights

01
Deep git history analysis
02
Hotspot detection and ownership tracking
03
Complexity metrics and quality scanning
04
Fastify 5 backend on Bun with PostgreSQL and Redis
05
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.

Site index command palette

  1. WorkThe complete index of products, tools, experiments, and forks.page
  2. Open sourceRepositories, contributions, and public code.page
  3. DiaryNotes to self, in public.page
  4. AboutBackground, experience, education, and tools.page
  5. ContactEmail and elsewhere on the web.page
  6. Résumé PDFDownload the printable résumé.page
  7. Blunt CodeLocal-first code quality and security scanning for Windows.project
  8. mdpeekA quiet, fast native Markdown reader and editor.project
  9. AI Hiring PlatformRole-based hiring and assessment with AI-assisted interview evaluation.project
  10. Voice AI PlatformVoice workflows connected to retrieval, calling, and tenant controls.project
  11. Small ServerA tiny single-binary REST API playground.project
  12. System Design QuestGame-style system design practice for interviews.project
  13. Discord VC ReaderA lightweight Rust bot that reads voice-channel chat aloud.project
  14. MiracodeA personal fork of a self-hosted AI code reviewer.project
  15. AuraFlowSixteen developer tools behind one PIN-locked grid.project
  16. Salon Booking PlatformA multi-role salon booking and management application.project
  17. Code ArchaeologyUncover the hidden history of a codebase.project
  18. Copy email addressCopy sanpatel323@gmail.com to the clipboard.action
  19. Go to topReturn to the beginning of this page.action
↑↓ navigate · enter open · esc close19 entries