{"id":15165799,"url":"https://github.com/arunsathiya/gitai","last_synced_at":"2026-01-21T21:35:12.128Z","repository":{"id":255152293,"uuid":"848676895","full_name":"arunsathiya/gitai","owner":"arunsathiya","description":"Go-based command-line tool that uses AI to automatically generate meaningful commit messages for your Git repositories","archived":false,"fork":false,"pushed_at":"2024-08-28T16:17:30.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-12T14:08:10.931Z","etag":null,"topics":["ai","commit-message","git","groq","llama3"],"latest_commit_sha":null,"homepage":"https://github.com/arunsathiya/gitai","language":"Go","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/arunsathiya.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}},"created_at":"2024-08-28T07:44:26.000Z","updated_at":"2024-08-28T16:17:33.000Z","dependencies_parsed_at":"2024-09-13T22:41:44.767Z","dependency_job_id":"3e231893-db6c-4559-ad0e-0f69a3ee360f","html_url":"https://github.com/arunsathiya/gitai","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"d27b6b5e5ad9b896c6a0b3feb7bac3781f9cffeb"},"previous_names":["arunsathiya/gitai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arunsathiya/gitai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunsathiya%2Fgitai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunsathiya%2Fgitai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunsathiya%2Fgitai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunsathiya%2Fgitai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arunsathiya","download_url":"https://codeload.github.com/arunsathiya/gitai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunsathiya%2Fgitai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28644149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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","commit-message","git","groq","llama3"],"created_at":"2024-09-27T04:02:53.173Z","updated_at":"2026-01-21T21:35:12.110Z","avatar_url":"https://github.com/arunsathiya.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitAI\n\nGitAI is a Go-based command-line tool that uses AI to automatically generate meaningful commit messages for your Git repositories.\n\n## Features\n\n- Automatically detects changes in your Git repository\n- Generates commit messages using the Groq API with LLaMA 3.1 70B model on [Groq](https://groq.com/)\n- Follows [Conventional Commits format](https://www.conventionalcommits.org/en/v1.0.0/) for generated messages\n- Handles both staged and unstaged changes, including new files\n- Allows user confirmation before committing changes\n- Allows amending last commit if needed\n\n## Prerequisites\n\n- Go 1.23.0 or higher\n- Git installed and configured on your system\n- A Groq API key\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/arunsathiya/gitai.git\n   ```\n\n2. Change to the project directory:\n   ```\n   cd gitai\n   ```\n\n3. Install dependencies:\n   ```\n   go mod download\n   ```\n\n4. Build the project:\n   ```\n   go build\n   ```\n\n## Configuration\n\n1. Create a `.gitai.env` file in your home directory:\n   ```\n   touch ~/.gitai.env\n   ```\n\n2. Add your Groq API key to the `.gitai.env` file:\n   ```\n   GROQ_API_KEY=your_api_key_here\n   ```\n\n## Usage\n\nRun the GitAI tool from your Git repository:\n\n```\n/path/to/gitai\n```\n\nThe tool will:\n1. Detect changes in your repository\n2. Generate a commit message using AI\n3. Show you the generated message and ask for confirmation\n4. If confirmed, stage all changes and create a commit with the generated message\n\n## How It Works\n\n1. GitAI uses the go-git library to interact with your Git repository.\n2. It generates a diff of the changes in your working directory.\n3. The diff is sent to the Groq API, which uses a large language model to generate a commit message.\n4. The generated message is presented to you for confirmation.\n5. If you approve, GitAI stages all changes and creates a commit with the generated message.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\n[MIT License](./LICENSE)\n\n## Disclaimer\n\nThis tool uses AI to generate commit messages. While it aims to produce meaningful and accurate messages, always review the generated messages before confirming the commit to ensure they accurately represent your changes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunsathiya%2Fgitai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunsathiya%2Fgitai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunsathiya%2Fgitai/lists"}