{"id":20204263,"url":"https://github.com/kevinmbeaulieu/git-ai-summarize","last_synced_at":"2025-09-21T23:31:34.378Z","repository":{"id":262746480,"uuid":"888165030","full_name":"kevinmbeaulieu/git-ai-summarize","owner":"kevinmbeaulieu","description":"A command-line tool for summarizing changes in Git repositories using AI.","archived":false,"fork":false,"pushed_at":"2024-11-15T04:11:49.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-04T16:37:50.298Z","etag":null,"topics":["ai","anthropic","anthropic-claude","claude","claude-ai","command-line-tool","git","gpt","langchain","langchain-python","llm","llms","openai","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/git-ai-summarize/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinmbeaulieu.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-11-13T23:33:17.000Z","updated_at":"2024-12-02T19:33:01.000Z","dependencies_parsed_at":"2024-11-14T03:47:14.334Z","dependency_job_id":"0677e9d8-736a-4a43-9614-5c7151b1cc96","html_url":"https://github.com/kevinmbeaulieu/git-ai-summarize","commit_stats":null,"previous_names":["kevinmbeaulieu/git-ai-summarize"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmbeaulieu%2Fgit-ai-summarize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmbeaulieu%2Fgit-ai-summarize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmbeaulieu%2Fgit-ai-summarize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmbeaulieu%2Fgit-ai-summarize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinmbeaulieu","download_url":"https://codeload.github.com/kevinmbeaulieu/git-ai-summarize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233806534,"owners_count":18733213,"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":["ai","anthropic","anthropic-claude","claude","claude-ai","command-line-tool","git","gpt","langchain","langchain-python","llm","llms","openai","python"],"created_at":"2024-11-14T05:11:59.965Z","updated_at":"2025-09-21T23:31:29.080Z","avatar_url":"https://github.com/kevinmbeaulieu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git AI Summarize\n\nA command-line tool for summarizing changes in Git repositories using AI.\n\n## Installation\n\n```bash\npip install git-ai-summarize\n```\n\n## Requirements\n\n- Python 3.8 or higher\n- An API key for Anthropic (or your preferred LLM)\n\n## Setup\n\nSet an environment variable with your LLM API key. To use the default Anthropic model, use:\n\n```bash\nexport ANTHROPIC_API_KEY='your-api-key-here'\n```\n\nAdd this to your shell profile to make it permanent.\n\n## Commands\n\n### Summarize changes between commits\n\nProvide a commit hash or a range of commits to get a summary of the changes.\n\n```bash\n# Compare with HEAD\ngit summarize \u003ccommit-hash\u003e\n\n# Compare any two commits\ngit summarize \u003ccommit1\u003e..\u003ccommit2\u003e\n```\n\n### Pull and summarize changes\n\nPass the `--pull` flag to pull changes from the remote and summarize the changes since the last pull.\n\n```bash\ngit summarize --pull\n```\n\n## Using alternative LLM providers/models\n\nYou can pass the `--provider` and `--model` argument to use a different LLM provider/model. The default provider is `anthropic`, and the default model is `claude-3-5-sonnet-latest`. To get a list of all supported providers, run:\n\n```bash\ngit summarize --list-providers\n```\n\nTo get a list of all supported models for a provider, see the LLM providers' documentation.\n\nDepending on the provider, you may need to set additional environment variables with that provider's API key (e.g., `ANTHROPIC_API_KEY` for Anthropic/Claude, `OPENAI_API_KEY` for OpenAI/GPT, etc.).\n\nTo change your default provider/model, you can set the `GIT_SUMMARIZE_PROVIDER` and `GIT_SUMMARIZE_MODEL` environment variables.\n\nIf you would like to use a model by a provider that is not currently supported by this package, feel free to submit an Issue with the name of the model/provider and we can look into it. If it is supported by LangChain, we can most likely add it.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nGNU GPLv3 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmbeaulieu%2Fgit-ai-summarize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinmbeaulieu%2Fgit-ai-summarize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmbeaulieu%2Fgit-ai-summarize/lists"}