{"id":23452464,"url":"https://github.com/draftswithea/lint-commit","last_synced_at":"2026-04-08T20:03:02.929Z","repository":{"id":240503325,"uuid":"802445363","full_name":"draftswithea/lint-commit","owner":"draftswithea","description":"⚙️ A CLI that writes your git commit messages for you with AI (Powered by Google's Gemini Pro))","archived":false,"fork":false,"pushed_at":"2024-06-01T08:11:03.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-25T13:22:50.637Z","etag":null,"topics":["ai","bash","chalk","cli","command-line-tool","contributions-welcome","gemini","gemini-pro","git","github","google","gpt","javascript","nanospinner","node-js","nodejs","npx","open-source","terminal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lint-commit","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/draftswithea.png","metadata":{"files":{"readme":"readme.md","changelog":"changed-files.js","contributing":null,"funding":null,"license":null,"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-05-18T10:09:44.000Z","updated_at":"2024-06-04T14:48:53.000Z","dependencies_parsed_at":"2024-06-01T08:08:03.888Z","dependency_job_id":"d579b626-6d32-492f-9089-d2ea5945190a","html_url":"https://github.com/draftswithea/lint-commit","commit_stats":null,"previous_names":["techwithmanuel/lint-commit","draftswithea/lint-commit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/draftswithea/lint-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftswithea%2Flint-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftswithea%2Flint-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftswithea%2Flint-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftswithea%2Flint-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/draftswithea","download_url":"https://codeload.github.com/draftswithea/lint-commit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftswithea%2Flint-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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","bash","chalk","cli","command-line-tool","contributions-welcome","gemini","gemini-pro","git","github","google","gpt","javascript","nanospinner","node-js","nodejs","npx","open-source","terminal"],"created_at":"2024-12-24T01:16:51.151Z","updated_at":"2026-04-08T20:03:02.717Z","avatar_url":"https://github.com/draftswithea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lint Commit\n\n### Description\n\nThis CLI tool helps automate the process of generating commit messages and managing a Git repository. It guides the user through initializing a Git repository (if not already initialized), selecting files to commit, generating AI-assisted commit messages, and optionally pushing changes to a remote repository.\n\n### Features\n\n- Initialize a new Git repository if not already initialized\n- Select files to commit from the list of changed files\n- Generate AI-assisted commit messages using the Google Generative AI API\n- Optionally push changes to the remote repository\n\n### Prerequisites\n\n- Node.js (v14.x or later)\n- Git installed on your system\n- GitHub CLI (`gh`) installed\n- Google Generative AI API key : [Google AI Studio](https://ai.google.dev/aistudio)\n\n## Installation\n\n#### 1. Install lint-commit globally:\n\n```bash\nnpm install -g lint-commit\n```\n\n#### 2. Register your GEMINI_API_KEY:\n\n```bash\nlint-commit register\n```\n\n#### 3. Alternatively, you can clone this repository and run the script locally:\n\n```bash\ngit clone https://github.com/techwithmanuel/lint-commit.git\ncd lint-commit\nnpm install\nnode register.js\nnode index.js\n```\n\n## How to get your Gemini API Key\n\n#### 1. Sign in to [Google AI Studio](https://aistudio.google.com/app/prompts/new_chat?pli=1)\n\n#### 2. Select `Get API key` on the side menu\n\n#### 3. Select `Create API key` then follow the prompt to create the key\n\n#### 4. Once done, copy the key, run this command after installing lint-commit\n\n```\nlint-commit register\n```\n\n#### Then enter the key\n\n## Usage\n\nOnce you've installed and resgitered your `GEMINI_API_KEY`, To get started with lint-commit, simply run:\n\n```bash\nlint-commit\n```\n\nFollow the prompts to initialize a git repository, add files, and create a commit with a commitlint-conformant message.\n\n## Contributing\n\nContributions are welcome! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (git checkout -b feature-branch).\n3. Make your changes and commit them (git commit -am 'Add new feature').\n4. Push to the branch (git push origin feature-branch).\n5. Create a new Pull Request.\n\n## Contact\n\nFor any questions or suggestions, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdraftswithea%2Flint-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdraftswithea%2Flint-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdraftswithea%2Flint-commit/lists"}