smartcommit smartcommit is an intelligent, AI-powered CLI tool that helps you write semantic, Conventional Commits messages effortlessly. It analyzes your staged changes, asks clarifying questions to understand the "why" behind your code, and generates a structured commit message for you. Future you will thank you for deciding to use smartcommit ! Features AI-Powered Analysis : Automatically analyzes your staged git diff to understand what changed. : Automatically analyzes your staged to understand what changed. Interactive Q&A : Asks you specific, relevant questions to gather context that isn't obvious from the code alone (the "why" and "intent"). : Asks you specific, relevant questions to gather context that isn't obvious from the code alone (the "why" and "intent"). Multi-Provider Support : OpenAI (GPT-4o) : For top-tier accuracy and performance. Ollama (Llama 3.1) : Run locally and privately for free. : Conventional Commits : strictly enforces the Conventional Commits specification ( feat , fix , chore , etc.). : strictly enforces the Conventional Commits specification ( , , , etc.). Beautiful TUI: A responsive, easy-to-use Terminal User Interface built with Bubble Tea. Installation Prerequisites Go (1.21 or later) (1.21 or later) Git installed and available in your PATH. installed and available in your PATH. (Optional) Ollama installed locally if you plan to use the local model. go install https://github.com/arpxspace/smartcommit@latest Build from Source Clone the repository: git clone https://github.com/arpxspace/smartcommit.git cd smartcommit Build the binary: go build -o smartcommit Move to your PATH (optional): mv smartcommit /usr/local/bin/ Use instead of git commit To use smartcommit as your default git commit command, run: git config --global alias.ci ' !smartcommit ' Or for this repository only: git config alias.ci ' !smartcommit ' Usage: To commit with smartcommit: git ci 馃殌 Usage Stage your changes: git add . Run smartcommit: smartcommit Follow the TUI...
First seen: 2025-11-22 22:16
Last seen: 2025-11-23 14:18