{"id":17487502,"url":"https://github.com/slimani-dev/commita","last_synced_at":"2026-02-11T22:53:03.188Z","repository":{"id":258242081,"uuid":"874537091","full_name":"slimani-dev/commita","owner":"slimani-dev","description":"AI-Powered Git Commit Assistant: CLI app for Git status, changes, and commit suggestions","archived":false,"fork":false,"pushed_at":"2025-03-08T22:51:48.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T13:52:56.274Z","etag":null,"topics":["ai","aisdk","assistant","cli","commit","git","gpt","ollama","push"],"latest_commit_sha":null,"homepage":"","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/slimani-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-10-18T02:28:54.000Z","updated_at":"2025-03-08T22:51:51.000Z","dependencies_parsed_at":"2025-04-10T16:41:31.424Z","dependency_job_id":"a67b916f-e81c-4410-83db-0aaecd7a929c","html_url":"https://github.com/slimani-dev/commita","commit_stats":null,"previous_names":["slimani-dev/commita"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/slimani-dev/commita","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimani-dev%2Fcommita","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimani-dev%2Fcommita/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimani-dev%2Fcommita/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimani-dev%2Fcommita/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slimani-dev","download_url":"https://codeload.github.com/slimani-dev/commita/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimani-dev%2Fcommita/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29349259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","aisdk","assistant","cli","commit","git","gpt","ollama","push"],"created_at":"2024-10-19T03:04:50.794Z","updated_at":"2026-02-11T22:53:03.172Z","avatar_url":"https://github.com/slimani-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commita: AI-Powered Git Commit Assistant\n\nCommita is a powerful command-line tool that streamlines your Git workflow by providing intelligent commit message suggestions, enhanced status checks, and simple branch management. It utilizes advanced AI models like Ollama, OpenRouter, and Google's Gemini to offer insightful and context-aware commit message recommendations based on your changes.\n\n## Features\n\n- **🤖 AI-Powered Commit Suggestions:**  Get intelligent commit message suggestions tailored to your code changes, saving you time and effort.\n- **📊 Enhanced Git Status:**  Quickly view the status of your Git repository, including modified, deleted, and newly added files.\n- **🔍 Detailed Change View:**  Examine all changes made in your Git repository with a comprehensive diff view.\n- **🌿 Branch Management:**  Effortlessly create new branches and switch between them.\n- **🚀 Push Operations:**  Simplify push operations to your remote repository with a single command.\n- **🔄 Customizable AI Models:**  Select from a range of AI models (Ollama, OpenRouter, Google's Gemini) to find the best fit for your needs.\n- **🔐 API Key Management:**  Securely manage your API keys for the AI providers to enable model access.\n- **⌨️ Customizable Prompts:**  Fine-tune the prompts used by the AI models to achieve specific results.\n\n## Installation\n\nTo install Commita globally, run:\n\n```bash\nnpm install -g commita\n```\n\nEnsure you have Node.js version 18 or higher installed on your system.\n\n## Usage\n\n### Suggest Commit Message (Default Command)\n\nTo obtain an AI-suggested commit message based on your current changes:\n\n```bash\ncommita\n```\n\nor\n\n```bash\ncommita suggest-commit\n```\n\n### Check Git Status\n\nTo view the status of your Git repository:\n\n```bash\ncommita status\n```\n\n### View Changes\n\nTo see all changes in your Git repository:\n\n```bash\ncommita changes\n```\n\n### Create a New Branch\n\nTo create and switch to a new branch:\n\n```bash\ncommita branch \u003cbranch-name\u003e\n```\n\n### Push Changes\n\nTo push changes to the remote repository:\n\n```bash\ncommita push\n```\n\nTo push to a specific branch:\n\n```bash\ncommita push -b \u003cbranch-name\u003e\n```\n\n### Manage AI Models\n\nTo change or remove the default AI model:\n\n```bash\ncommita model\n```\n\n### Customize Prompt\n\nTo view or change the default prompt used by the AI model:\n\n```bash\ncommita prompt\n```\n\n## Configuration\n\nCommita uses a configuration file (`~/.config/commita/config.json`) to store settings such as the default AI provider, model, and prompt. This file is automatically created and managed by the CLI.\n\n## Requirements\n\n- Node.js \u003e= 18.0.0\n- Git\n- Internet connection for accessing AI models\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- This project uses [Ollama](https://github.com/jmorganca/ollama), [OpenRouter](https://github.com/openrouter/ai-sdk-provider), and [Google Generative AI](https://cloud.google.com/generative-ai) for AI-powered commit message suggestions.\n- Built with [Commander.js](https://github.com/tj/commander.js/) for CLI structure.\n- Uses [simple-git](https://github.com/steveukx/git-js) for Git operations.\n\n## Author\n\n[Mohamed Slimani](https://github.com/slimani-dev)\n\n---\n\nHappy committing with Commita! 🚀 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimani-dev%2Fcommita","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslimani-dev%2Fcommita","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimani-dev%2Fcommita/lists"}