{"id":31841549,"url":"https://github.com/kevin-kidd/aicommit","last_synced_at":"2026-04-06T04:32:27.899Z","repository":{"id":257807330,"uuid":"866626041","full_name":"kevin-kidd/aicommit","owner":"kevin-kidd","description":"AI Commit generates Git commit messages using AI, supporting various models and providers. Integrate with LazyGit and VS Code, making it easy to incorporate AI Commit into your workflow.","archived":false,"fork":false,"pushed_at":"2024-11-04T22:42:50.000Z","size":609,"stargazers_count":7,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T21:38:39.474Z","etag":null,"topics":["ai","anthropic","commit-message","lazygit","openai","vscode-extension"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@kkidd/aicommit","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevin-kidd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-02T15:36:49.000Z","updated_at":"2025-07-20T21:29:45.000Z","dependencies_parsed_at":"2025-10-12T05:20:44.427Z","dependency_job_id":"8c2466d1-9553-4580-b227-8d1c405da383","html_url":"https://github.com/kevin-kidd/aicommit","commit_stats":null,"previous_names":["kevin-kidd/aicommit"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/kevin-kidd/aicommit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-kidd%2Faicommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-kidd%2Faicommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-kidd%2Faicommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-kidd%2Faicommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevin-kidd","download_url":"https://codeload.github.com/kevin-kidd/aicommit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-kidd%2Faicommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31460098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","commit-message","lazygit","openai","vscode-extension"],"created_at":"2025-10-12T05:20:27.854Z","updated_at":"2026-04-06T04:32:27.883Z","avatar_url":"https://github.com/kevin-kidd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Commit\n\n[![Bun](https://img.shields.io/badge/Bun-000000?style=flat-square\u0026logo=bun\u0026logoColor=white)](https://bun.sh)\n[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=flat-square\u0026logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nAI Commit is a powerful tool that generates Git commit messages using AI, supporting various models and providers. Integrate with LazyGit and VS Code, making it easy to incorporate AI-generated commit messages into your workflow.\n\n## Features\n\n- 🤖 Generate commit messages using AI\n- 🔄 Support for multiple AI providers (OpenAI, Anthropic, OpenRouter, Groq, and OpenAI-compatible)\n- 🖥️ CLI tool for easy integration into your workflow\n- 📝 VS Code extension for seamless integration within the editor\n- 🔗 LazyGit integration for streamlined Git operations\n\n## Requirements\n\n- [Bun](https://bun.sh/)\n- [Git](https://git-scm.com/)\n\n## Installation\n\n### CLI Tool\n\n```bash\nbun add -g @kkidd/aicommit\n```\n\n### VS Code Extension\n\nThe VS Code extension is available in the marketplace: [AI Commit - Generate Commit Messages](https://marketplace.visualstudio.com/items?itemName=kevin-kidd.aicommit-vscode)\n\n## Usage\n\n### CLI Commands\n\n```bash\n# Generate commit messages\naic generate [--amount \u003cnumber\u003e]\n\n# Configure AI provider and model\naic config [options]\n\n# View current configuration\naic view-config\n\n# Set up integrations\naic integrate\n```\n\n### Configuration Options\n\n- For initial setup or to update all settings, run `aic config` without options\n- `--provider`: AI provider (openai, openai-compatible, anthropic, openrouter, groq)\n- `--model`: AI model to use\n- `--api-key`: API key for the selected provider\n- `--endpoint`: Endpoint for OpenAI compatible providers\n- `--tokens`: Maximum number of tokens to generate\n- `--integration`: Integration to use (lazygit / vscode / none)\n\n## Integrations\n\n### LazyGit\n\nTo set up the LazyGit integration:\n\n1. Run `aic integrate`\n2. Choose \"LazyGit\" from the options\n3. Follow the prompts to configure your LazyGit config file\n\n### VS Code\n\nTo set up the VS Code integration:\n\n1. Install the AI Commit extension from the VS Code marketplace\n2. Configure the extension settings in VS Code:\n   - AI provider\n   - API key\n   - Model\n   - Max tokens\n   - Number of commit messages to generate\n   - Endpoint (for other OpenAI compatible provider)\n\n## Configuration\n\nAI Commit uses a configuration file to store your preferences. You can edit this file directly or use the `aic config` command to update your settings.\n\nExample configuration:\n\n```json\n{\n  \"provider\": \"openai\",\n  \"model\": \"gpt-4\",\n  \"apiKey\": \"your-api-key-here\",\n  \"maxTokens\": 256,\n  \"integration\": \"lazygit\",\n  \"endpoint\": \"https://example.com/v1/\"\n}\n```\n\n## TODO\n\n- [x] CLI tool for generating commit messages\n- [x] Support for multiple AI providers\n- [x] LazyGit integration\n- [x] VS Code Extension\n- [ ] Custom prompt template\n- [ ] Support for custom non-OpenAI compatible providers\n- [ ] Localization support for multiple languages\n- [ ] Integration with other Git GUI clients\n\n## Development\n\nTo set up the development environment:\n\n1. Clone the repository\n2. Install dependencies: ```bun install```\n3. Build the project: ```bun run build```\n4. Run tests: ```bun test```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/CoolFeature`)\n3. Commit your changes (`git commit -m 'Add some CoolFeature'`)\n4. Push to the branch (`git push origin feature/CoolFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you encounter any problems or have any questions, please open an issue on the [GitHub repository](https://github.com/kevin-kidd/aicommit).\n\n## Acknowledgements\n\n- [OpenAI](https://openai.com/) for providing the OpenAI SDK\n- [Anthropic](https://www.anthropic.com/) for their client SDK\n- [OpenRouter](https://openrouter.ai/) for additional AI model access\n- [Groq](https://groq.com/) for their client SDK\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-kidd%2Faicommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevin-kidd%2Faicommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-kidd%2Faicommit/lists"}