Skip to content
paanipooriePublic

About

GitDive lets you dive beneath the surface of any Git repository, exploring commit history through an interactive timeline while Gemini uncovers the story, evolution, and reasoning behind the code.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

gitdive

A GitHub repository analysis tool.

Project Structure

gitdive/
├── backend/          # Node.js/Express API
├── frontend/         # Frontend application (teammate)
├── docs/             # Documentation
├── docker-compose.yml
└── README.md

Backend

  • Framework: Node.js/Express
  • Structure:
    • src/config/ - Configuration files
    • src/controllers/ - Request handlers
    • src/middleware/ - Express middleware
    • src/models/ - Data models
    • src/routes/ - API routes
    • src/services/ - Business logic
    • src/utils/ - Utility functions
    • src/jobs/ - Background jobs
    • src/lib/ - Shared libraries
    • src/app.js - Express app setup
    • src/server.js - Entry point

Getting Started

Prerequisites

  • Node.js
  • Docker (optional)

Installation

cd backend
npm install

Development

npm run dev

Docker

docker-compose up

API Endpoints Overview

  • POST /api/repos/validate - Validate GitHub URL
  • POST /api/repos/clone - Shallow clone repository into temp dir
  • GET /api/repos/:repoId/commits - Paginated commit history with diff stats
  • GET /api/repos/:repoId/timeline - Minimal commit timeline payload for dive line bubble rendering (hash, shortHash, order, author, branch)
  • GET /api/repos/:repoId/stats - Aggregate repository statistics (authors, top files, activity, additions/deletions)

Documentation

License

LICENSE

About

GitDive lets you dive beneath the surface of any Git repository, exploring commit history through an interactive timeline while Gemini uncovers the story, evolution, and reasoning behind the code.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages