{"repo":"KartikLabhshetwar/lazycommit","free":true,"listed":false,"github":"https://github.com/KartikLabhshetwar/lazycommit","clone":"git clone https://github.com/KartikLabhshetwar/lazycommit.git","description":"A CLI that writes your git commit messages for you with AI using Groq. Never write a commit message again.","language":"TypeScript","stars":231,"topics":["ai","cli","git","github","groq","groq-api","npm","npm-package","openai"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"lazycommit A CLI that writes your git commit messages for you with AI using Groq. Never write a commit message again. --- Setup The minimum supported version of Node.js is v18. Check your Node.js version with node --version . 1. Install lazycommit : Install via Homebrew (macOS) Install via Homebrew tap: Upgrade: 2. Retrieve your API key from Groq Console Note: If you haven't already, you'll have to create an account and get your API key. 3. Set the key so lazycommit can use it: This will create a .lazycommit file in your home directory. Upgrading Check the installed version with: If it's not the latest version, run: Usage CLI mode You can call lazycommit directly to generate a commit message for your staged changes: lazycommit passes down unknown flags to git commit , so you can pass in commit flags. For example, you can stage all changes in tracked files as you commit: 👉 Tip: Use the lzc alias if lazycommit is too long for you. Generate multiple recommendations Sometimes the recommended commit message isn't the best so you want it to generate a few to pick from. You can generate multiple commit messages at once by passing in the --generate flag, where 'i' is the number of generated messages: Warning: this uses more tokens, meaning it costs more. Generating Conventional Commits If you'd like to generate Conventional Commits, you can use the --type flag followed by conventional . This will prompt lazycommit to format the commit message according to the Conventional Commits sp","default_branch":null,"files":null,"tree":[],"storefront":"/r/KartikLabhshetwar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KartikLabhshetwar/lazycommit/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."}