A powerful CLI tool to summarize git commits with rich visual feedback.
Project description
๐ Git Commit Summary Tool
A powerful, high-performance CLI tool to summarize git commits with rich visual feedback.
Author: Sai Annam (mr_ask_chay)
Handle: @otaku0304
๐ฆ Installation
You can install this tool directly from the source to use it globally on your system.
# Clone the repository
git clone https://github.com/otaku0304/git-commit-summary.git
cd git-commit-summary
# Install globally
pip install .
Once installed, you can use it as a native git command!
# This now works anywhere in your terminal
git commit-summary
๐ Previous Projects by Author
- PDF Password Remover: A secure Angular + Flask application.
- StartMyDev Dashboard: Advanced automation for full-stack environments.
- Angular i18n SPA: Best-in-class Internationalization demo.
๐ Usage
If you installed it globally:
git show HEAD | git-commit-summary
Or run via python directly:
git show HEAD | python summary.py
โจ Features
- Rich UI: Beautiful terminal output with colors and clear formatting.
- Smart Analysis:
- Tracks files changed and file types (e.g., .py, .js).
- Calculates net changes (Added vs Removed).
- Detects new functions across multiple languages (Python, JS, C++).
- Author Branding: Displays author credentials and portfolio links.
- Security Focused: Sanitized input handling and robust error management.
- No Heavy Dependencies: Runs with standard library (uses
coloramaif available, falls back gracefully).
๐ Security
This tool uses sterile input processing from stdin. It does not execute external code or shell commands, ensuring your local environment remains secure against injection attacks from malicious diffs.
๐งช Example Output
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Git Commit Summary Tool โ
โ Author: Sai Annam (mr_ask_chay / otaku0304) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Statistics:
Files Changed : 2
Lines Added : 140
Lines Removed : 32
Net Change : +108
๐ File Types:
.py : 1
.md : 1
โจ New Functions (2):
+ detect_function
+ print_banner
Maintained with โค๏ธ by Sai Annam
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git_commit_summary-1.0.0.tar.gz.
File metadata
- Download URL: git_commit_summary-1.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41812fd3d64e9f24ffcb2aafa92d49b72216472f04858e8763097571f7539441
|
|
| MD5 |
a9722cf461a8dc00172724fd38d9098b
|
|
| BLAKE2b-256 |
78896d05716d86fd02b651563748bfa814359bce43bbe999fe697ee68b1f21db
|
Provenance
The following attestation bundles were made for git_commit_summary-1.0.0.tar.gz:
Publisher:
publish.yml on otaku0304/git-commit-summary
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
git_commit_summary-1.0.0.tar.gz -
Subject digest:
41812fd3d64e9f24ffcb2aafa92d49b72216472f04858e8763097571f7539441 - Sigstore transparency entry: 833319648
- Sigstore integration time:
-
Permalink:
otaku0304/git-commit-summary@645b050fb9c8b87e1f4051a89b1e54ec3029f77c -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/otaku0304
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@645b050fb9c8b87e1f4051a89b1e54ec3029f77c -
Trigger Event:
release
-
Statement type:
File details
Details for the file git_commit_summary-1.0.0-py3-none-any.whl.
File metadata
- Download URL: git_commit_summary-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30b75b89208b2f5726da307f9c7c7c024afe8cd8eee4dfa25b45d0ee95ebfb84
|
|
| MD5 |
c538e248764d1db4e519fe8bb138d158
|
|
| BLAKE2b-256 |
675dc0ad7dc4dc1666e1ef8f2946c0a8ed94b2194108060c08aa7594b610ba19
|
Provenance
The following attestation bundles were made for git_commit_summary-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on otaku0304/git-commit-summary
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
git_commit_summary-1.0.0-py3-none-any.whl -
Subject digest:
30b75b89208b2f5726da307f9c7c7c024afe8cd8eee4dfa25b45d0ee95ebfb84 - Sigstore transparency entry: 833319650
- Sigstore integration time:
-
Permalink:
otaku0304/git-commit-summary@645b050fb9c8b87e1f4051a89b1e54ec3029f77c -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/otaku0304
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@645b050fb9c8b87e1f4051a89b1e54ec3029f77c -
Trigger Event:
release
-
Statement type: