Skip to content

git-truck/git-truck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,254 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Truck 🚛

Git Truck on NPMX

Git Truck is a local, interactive visualization workspace for Git repositories, built for inspecting a codebase through structure, commit activity, authorship, and history.

  • Browse and zoom into the repository structure
  • See who worked where, when and what they worked on
  • Spot active areas of the codebase
  • Explore how the codebase changed over time

Git Truck can assist you in quickly answering questions like:

How is the repository structured? Where has the project been active recently?
Example of file type visualization Example of most changed files recently
Who has changed the most lines per file? Where and when have specific contributors worked?
Inspecting specific contributor activity Example of the contributors metric

Why Git Truck?

  • Runs locally: no tracking, cloud storage, remote servers, ads, or subscription
  • Works offline
  • Works with any Git repository

Install

Requires Node.js and Git.

npm install -g git-truck@latest

Usage

Open a repository:

cd path/to/repository
git truck

Or pass a path directly:

git truck path/to/repository
git truck path/to/folder-with-repositories

When the path contains multiple repositories, Git Truck opens a repository browser. Otherwise, it opens the visualization in your default browser.

Run git truck --help for advanced options.

Troubleshooting

  • If the browser does not open automatically, copy or click the URL from the terminal.
  • Large repositories can take a little while to analyze the first time and may feel slow to navigate and interact with.

Learn more

About

Git repository visualizations, cumulative contribution statistics and more. Run `npx -y git-truck` to try Git Truck today!

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors