MCPcopy Index your code
hub / github.com/3eif/gitmotion

github.com/3eif/gitmotion @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
62 symbols 136 edges 26 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README


Gitmotion

https://github.com/user-attachments/assets/08e623ca-8806-45a0-b35b-30564713160f

Gitmotion lets you generate visualizations of your Git repositories right from your browser.

Tech Stack

Getting Started

Prerequisites

  • Docker
  • Docker Compose (optional, for easier management)
  • Node.js
  • Rust
  • Bun

Running the API

  1. Clone the repository:
git clone https://github.com/3eif/gitmotion.git
cd gitmotion
  1. Replace the example environment file and fill in the credentials
cp .env.example .env
  1. Build the Docker image:
docker compose build
  1. Run the Docker container:
docker compose up

Running the Website

  1. Change directory
cd website
  1. Replace the example environment file and fill in the credentials
cp .env.local.example .env.local
  1. Install packages
bun install
  1. Run the website
bun dev

Extension points exported contracts — how you extend this code

GourceProgressProps (Interface)
(no doc)
website/src/components/gource-progress.tsx
GourceVideoProps (Interface)
(no doc)
website/src/components/gource-video.tsx
GourceInputProps (Interface)
(no doc)
website/src/components/gource-input.tsx
GourceSettings (Interface)
(no doc)
website/src/components/gource-input.tsx
InputProps (Interface)
(no doc)
website/src/components/ui/input.tsx

Core symbols most depended-on inside this repo

log_message
called by 38
api/src/main.rs
cn
called by 7
website/src/lib/utils.ts
update_job_status
called by 4
api/src/main.rs
derive_key
called by 1
api/src/main.rs
decrypt_token
called by 1
api/src/main.rs
process_gource
called by 1
api/src/main.rs
set_video_url
called by 1
api/src/main.rs
clone_repository
called by 1
api/src/main.rs

Shape

Function 49
Interface 6
Class 4
Enum 3

Languages

TypeScript60%
Rust40%

Modules by API surface

api/src/main.rs25 symbols
website/src/app/[id]/page.tsx8 symbols
website/src/components/gource-input.tsx5 symbols
website/src/app/api/gource/start/route.ts4 symbols
website/src/components/gource-video.tsx3 symbols
website/src/components/gource-progress.tsx3 symbols
website/src/components/example-generations.tsx2 symbols
website/src/app/page.tsx2 symbols
website/src/lib/utils.ts1 symbols
website/src/components/visualizations-count.tsx1 symbols
website/src/components/ui/input.tsx1 symbols
website/src/components/spotlight.tsx1 symbols

For agents

$ claude mcp add gitmotion \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact