{"id":37082923,"url":"https://github.com/abdul/genaicommit","last_synced_at":"2026-01-14T10:01:44.564Z","repository":{"id":243240969,"uuid":"811876254","full_name":"abdul/genaicommit","owner":"abdul","description":"Generate AI-Powered Git Commit Messages","archived":false,"fork":false,"pushed_at":"2024-06-07T14:32:47.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T22:26:14.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/abdul.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-06-07T13:38:08.000Z","updated_at":"2024-08-03T20:22:37.000Z","dependencies_parsed_at":"2024-06-07T15:10:42.192Z","dependency_job_id":"d7e66566-3951-46d8-92f1-38a37fe5af7b","html_url":"https://github.com/abdul/genaicommit","commit_stats":null,"previous_names":["abdul/genaicommit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdul/genaicommit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdul%2Fgenaicommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdul%2Fgenaicommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdul%2Fgenaicommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdul%2Fgenaicommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdul","download_url":"https://codeload.github.com/abdul/genaicommit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdul%2Fgenaicommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-14T10:01:43.821Z","updated_at":"2026-01-14T10:01:44.560Z","avatar_url":"https://github.com/abdul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Genaicommit: Generate AI-Powered Git Commit Messages\n\nGenaicommit is a command-line tool that automates the generation of git commit messages using OpenAI's language models. It ensures your commit messages are concise, informative, and follow conventional commit standards.\n\n## Features\n- Generates concise git commit messages based on diff.\n- Supports different commit message formats such as conventional commits.\n- Integrates with git to ensure the tool is usable directly within a repository.\n- Adds emojis to commit messages with devmoji (optional).\n\n## Requirements\n- Python 3.6+\n- Git\n- OpenAI API Key\n\n## Installation\n\nYou can install `genaicommit` using `pip`. First, ensure you have `pip` installed, then run:\n\n```bash\npip install genaicommit\n```\n\n## Setup\n\n1. Generate an OpenAI API key from the [OpenAI website](https://openai.com/).\n2. Configure `genaicommit` with your OpenAI API key (not required if you have OPENAI_API_KEY environment variable set)\n\n```bash\ngenaicommit config set OPENAI_API_KEY=\u003cyour_api_key\u003e\n```\n## Configuration\n\nYou can configure `genaicommit` using the `config set` command. Here are the available configuration keys:\n\n- `model`: The OpenAI model to use (default: `gpt-4`).\n- `devmoji`: Whether to use devmoji for commit messages (default: `false`).\n- `type`: The type of commit message format (default: `conventional`).\n- `max-length`: The maximum length of the commit message (default: `50`).\n- `locale`: The language of the commit message (default: `en`).\n- `OPENAI_API_KEY`: Your OpenAI API key for authenticating API requests.\n- `OPENAI_BASE_URL`: The base URL for the OpenAI API (default: `https://api.openai.com/v1`).\n\nExample:\n\n```bash\ngenaicommit config set model=gpt-3.5-turbo (default: model)\ngenaicommit config set max-length=72 (default: 50)\ngenaicommit config set OPENAI_BASE_URL=http://localhost:11434/v1 (default https://api.openai.com/v1)\n```\n\n## Usage\n\n1. Navigate to any git repository.\n2. Stage your changes:\n\n```bash\ngit add \u003cfiles\u003e\n```\n\n3. Run `genaicommit` to generate and approve a commit message:\n\n```bash\ngenaicommit\n```\n4. Run `genaicommit` with the `-g` option to generate multiple commit messages:\n\n```bash\ngenaicommit -g 5\n```\n\n## Example\n\n```bash\ncd your-git-repo\ngit add .\ngenaicommit\n```\nFollow the prompts to approve the commit message and commit the changes.\n\n### Options\n\n- `-g, --generate N`: Generate N commit messages (default is 1).\n- `config set KEY=VALUE`: Set a configuration key to a value.\n- `-h, --help`: Show the help message and exit.\n\n## License\n\nThis project is licensed under the MIT License.\n\n#Credits\nThis project was inspired by [aicommits](https://www.npmjs.com/package/aicommits), [devmoji](https://www.npmjs.com/package/devmoji), and [commitizen](https://www.npmjs.com/package/commitizen).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdul%2Fgenaicommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdul%2Fgenaicommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdul%2Fgenaicommit/lists"}