{"id":23200428,"url":"https://github.com/ahmetkca/commitai","last_synced_at":"2025-06-14T14:34:19.810Z","repository":{"id":65478930,"uuid":"593049417","full_name":"ahmetkca/CommitAI","owner":"ahmetkca","description":"CommitAI is a command line interface application that automatically generates commit messages based on the output of git diff. It utilizes the power of OpenAI's GPT-4o API to create meaningful and descriptive commit messages, making it easier to keep track of code changes. With CommitAI, you can save time and focus on writing code, rather than craf","archived":false,"fork":false,"pushed_at":"2023-01-30T01:33:42.000Z","size":783,"stargazers_count":30,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"with-body","last_synced_at":"2025-06-09T08:44:55.322Z","etag":null,"topics":["chatgpt","cli","command-line-interface","commit","commit-message","gpt-4","gpt-4o","openai","openai-api"],"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/ahmetkca.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-25T05:14:28.000Z","updated_at":"2025-04-23T18:31:38.000Z","dependencies_parsed_at":"2023-02-14T14:46:33.829Z","dependency_job_id":null,"html_url":"https://github.com/ahmetkca/CommitAI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmetkca/CommitAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetkca%2FCommitAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetkca%2FCommitAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetkca%2FCommitAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetkca%2FCommitAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetkca","download_url":"https://codeload.github.com/ahmetkca/CommitAI/tar.gz/refs/heads/with-body","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetkca%2FCommitAI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259831521,"owners_count":22918532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chatgpt","cli","command-line-interface","commit","commit-message","gpt-4","gpt-4o","openai","openai-api"],"created_at":"2024-12-18T15:10:42.449Z","updated_at":"2025-06-14T14:34:19.782Z","avatar_url":"https://github.com/ahmetkca.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CommitAI\n\nCommitAI is a command line interface application that automatically generates commit messages based on the output of git diff. It utilizes the power of OpenAI's GPT-3 API to create meaningful and descriptive commit messages, making it easier to keep track of code changes. With CommitAI, you can save time and focus on writing code, rather than crafting commit messages.\n\n\u003c!-- \u003cp align=\"center\"\u003e\n  \u003cimg width=\"1024\" src=\"./demo.svg\"\u003e\n\u003c/p\u003e --\u003e\n\n\u003c!-- \u003cscript id=\"asciicast-y685nS8Qeh26ISn8gY5HF8lQK\" src=\"https://asciinema.org/a/y685nS8Qeh26ISn8gY5HF8lQK.js\" async\u003e\u003c/script\u003e --\u003e\n\n\u003c!-- \u003cvideo src=\"https://asciinema.org/a/y685nS8Qeh26ISn8gY5HF8lQK\" width=\"320\" height=\"240\" controls\u003e\u003c/video\u003e --\u003e\n\n[![asciicast](https://asciinema.org/a/y685nS8Qeh26ISn8gY5HF8lQK.svg)](https://asciinema.org/a/y685nS8Qeh26ISn8gY5HF8lQK)\n\n\n## Install\n\n```bash\n$ npm install --global commitai\n```\nor\n```bash\n$ yarn global add commitai\n```\n\n\n\n## Usage\n\n```bash\n$ npx commitai [OPTIONS]\n```\nor\n```bash\n$ commitai [OPTIONS]\n```\n\nNote: You must have a valid OpenAI API key in order to use CommitAI. You can get one [OpenAI API keys](https://beta.openai.com/account/api-keys). After you have your API key, you have to set it as an environment variable or you have to run the following command before using CommitAI:\n```bash\nOPENAI_API_KEY=sk-\u003cyour-api-key\u003e commitai\n```\nor export it as an environment variable in your `.bashrc` or `.zshrc` file:\n```bash\nexport OPENAI_API_KEY=sk-\u003cyour-api-key\u003e\n```\n\n## Options\n\n- `-h, --help`: Show help\n- `-v, --version`: Show version number\n- `-n [number], --numberOfCommitMessages [number]`: Number of commit messages to generate\n- `-e, --edit`: Edit the commit message before committing\n  - `--no-e, --no-edit`: Do not prompt to edit the commit message before committing\n- `-c, --confirmation`: Confirm the commit message before committing\n  - `--no-c, --no-confirmation`: Do not prompt for confirmation before committing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetkca%2Fcommitai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetkca%2Fcommitai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetkca%2Fcommitai/lists"}