Hasty Briefsbeta

Show HN: Build the habit of writing meaningful commit messages

3 hours ago
  • #AI
  • #git
  • #CLI
  • smartcommit is an AI-powered CLI tool for writing semantic, Conventional Commits messages.
  • Features include AI-powered analysis of staged changes, interactive Q&A for context, and multi-provider support (OpenAI, Ollama).
  • Enforces Conventional Commits specification (feat, fix, chore, etc.) and offers a beautiful TUI built with Bubble Tea.
  • Requires Go (1.21 or later), Git, and optionally Ollama for local model usage.
  • Installation involves cloning the repository, building the binary, and optionally moving it to PATH.
  • Usage includes staging changes, running smartcommit, and following the TUI for commit message generation.
  • Configuration is stored locally, with support for detecting OPENAI_API_KEY during setup.
  • Contributions are welcome via forking, creating feature branches, and submitting Pull Requests.
  • Licensed under MIT License.