{"id":14366835,"url":"https://github.com/m7medVision/lazycommit","last_synced_at":"2025-08-22T11:31:12.371Z","repository":{"id":249858716,"uuid":"832153200","full_name":"m7medVision/lazycommit","owner":"m7medVision","description":"using AI to generate commit message suggestions ","archived":false,"fork":false,"pushed_at":"2024-08-22T18:17:06.000Z","size":133,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-22T20:34:05.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/m7medVision.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-07-22T13:01:39.000Z","updated_at":"2024-08-22T18:17:10.000Z","dependencies_parsed_at":"2024-08-22T20:07:23.222Z","dependency_job_id":null,"html_url":"https://github.com/m7medVision/lazycommit","commit_stats":null,"previous_names":["m7medvision/lazycommit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7medVision%2Flazycommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7medVision%2Flazycommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7medVision%2Flazycommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7medVision%2Flazycommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m7medVision","download_url":"https://codeload.github.com/m7medVision/lazycommit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217236451,"owners_count":16145915,"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":[],"created_at":"2024-08-27T21:00:29.903Z","updated_at":"2025-08-22T11:31:12.345Z","avatar_url":"https://github.com/m7medVision.png","language":"TypeScript","readme":"# lazycommit\n\nAI-powered Git commit message generator that analyzes your staged changes and generates conventional commit messages.\n\n## Features\n\n- Generates commit messages using AI (supports OpenAI, OpenRouter, and GitHub Copilot)\n- Interactive prompts for accepting, editing, or canceling commit messages\n- Easy to extend with other AI providers\n- Built with Go for performance and portability\n\n## Installation\n\n```bash\ngo install github.com/m7medvision/lazycommit@latest\n```\n\nOr clone the repository and build from source:\n\n```bash\ngit clone https://github.com/m7medvision/lazycommit.git\ncd lazycommit\ngo build -o lazycommit main.go\n```\n\n## Usage\n\nStage your changes first:\n\n```bash\ngit add .\n```\n\nThen generate a commit message:\n\n```bash\nlazycommit commit\n```\n\nYou can also run the interactive configuration to set your preferred provider and model:\n\n```bash\nlazycommit config set\n```\n\nFor automatic commit without prompting:\n\n```bash\nlazycommit commit -a\n```\n\n## Configuration\n\nCreate a `.lazycommit.yaml` file in your home directory or project root:\n\n```yaml\nactive_provider: openai\nproviders:\n  openai:\n    api_key: \"your-openai-api-key\"\n    model: \"gpt-4o\"\n  openrouter:\n    api_key: \"your-openrouter-api-key\"\n    model: \"anthropic/claude-3-opus\"\n  copilot:\n    # No API key needed, it uses the GitHub CLI token\n    model: \"gpt-4o\"\n```\n\n## Development\n\n### Project Structure\n\n```\nlazycommit/\n├── cmd/\n│   └── commit.go\n│   └── root.go\n├── internal/\n│   ├── git/\n│   │   └── git.go\n│   ├── provider/\n│   │   ├── provider.go\n│   │   ├── copilot.go\n│   │   └── models/\n│   │       └── models.go\n│   └── config/\n│       └── config.go\n├── main.go\n└── go.mod\n```\n\n### Building\n\n```bash\ngo build -o lazycommit main.go\n```\n\n### Dependencies\n\n- [Cobra](https://github.com/spf13/cobra) - CLI framework\n- [Viper](https://github.com/spf13/viper) - Configuration management\n- [go-git](https://github.com/go-git/go-git) - Git implementation in Go\n- [Survey](https://github.com/AlecAivazis/survey) - Interactive prompts\n\n## License\n\nMIT","funding_links":[],"categories":["others","Domain-Specific Tools"],"sub_categories":["Git \u0026 Version Control"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7medVision%2Flazycommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm7medVision%2Flazycommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7medVision%2Flazycommit/lists"}