Skip to main content

A CLI made with Python to visualize your Git commits

Project description

GitVis

GitVis is a tool that allows you to visualize your local commits for the last 6 months from a given date. The visualization is done in a manner similar to GitHub and GitLab, providing a familiar and intuitive interface.

The code is fully written in Python and is inspired by gitcs.

Demo

gitvis

Note that colors are highly dependent on the ANSI escape sequences of your terminal.

Installation

The CLI is distributed via PyPi. To install the package:

pip install gitvis

Make sure to use virtual environments for better dependency management.

Usage

The basic usage is straightforward. Simply run:

gitvis

GitVis will scan for .git folders in your current directory and use the global email for the contributions graph.

To run the tool with custom options, use the flags as shown below:

gitvis -d /home/user/directory --email example@email.com --since 01-14-2024

If you don't remember the flags, just run:

gitvis --help

Future Plans

The project is still in its early stages, and it would be great to develop a tool that visualizes the entire Git workflow locally in the terminal. If you are interested in contributing to such tools, feel free to DM me.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitvis-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitvis-0.1.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file gitvis-0.1.1.tar.gz.

File metadata

  • Download URL: gitvis-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for gitvis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a82dd72c90cc104faedf65dcc8eb6b57508620f93f07ba3afae0b324fdff2b41
MD5 8ec7c65220895fe250d5b9346e1356c2
BLAKE2b-256 f27e55776d9c9c193d97592aa87374be19b1bb63f51c3c0cd2b8daf4907542c7

See more details on using hashes here.

File details

Details for the file gitvis-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gitvis-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for gitvis-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 052ff393ff0623e71685d20dda8a62f7364ca5a9dff45ce64960bc1cf1cfe303
MD5 d1a6f59437367a6a991224ba7133b0ce
BLAKE2b-256 dd0126d4f130e958c7fa4afdfd80f743b303a0c7bf61259f4cc9683761927ca3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page