{"repo":"nikmd1306/cwai","free":true,"listed":false,"github":"https://github.com/nikmd1306/cwai","clone":"git clone https://github.com/nikmd1306/cwai.git","description":"AI-powered conventional commit message generator from staged git changes","language":"Go","stars":16,"topics":["ai","cli","commit","conventional-commits","developer-tools","git","go","golang","openai","productivity"],"license":"MIT","category":"cli-tools","readme_excerpt":"AI-powered conventional commit message generator from staged git changes. --- What is cwai? cwai is a command-line tool that writes git commit messages for you. It looks at your staged changes ( git add ), sends them to an AI model, and generates a clear, well-formatted Conventional Commits message. You can accept it, edit it, or ask for a new one. All you need is an API key from any OpenAI-compatible provider. Features - Generates Conventional Commits messages from git diff - Works with any OpenAI-compatible API (OpenAI, Anthropic, local models) - Two modes: interactive standalone or silent prepare-commit-msg hook - Structured output support for consistent formatting - Smart diff truncation to fit model token limits Prerequisites - Git installed and available in your terminal - API key from one of these providers (or any OpenAI-compatible API): Provider Get your key ---------- ------------- OpenAI https://platform.openai.com/api-keys OpenRouter https://openrouter.ai/keys DeepSeek https://platform.deepseek.com/api keys You can also use local models via Ollama or LM Studio — no API key needed, just point CWAI API URL to your local server. Installation Quick install (Linux / macOS) To install to a custom directory: Note: The default install path /usr/local/bin requires sudo . If you prefer to install without sudo , use /.local/bin and make sure it's in your PATH : For zsh, replace /.bashrc with /.zshrc . go install Requires Go 1.23+. Note: Ensure $(go env GOPATH)/bin is in your","default_branch":null,"files":null,"tree":[],"storefront":"/r/nikmd1306","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nikmd1306/cwai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}