{"id":50585432,"url":"https://github.com/uliboooo/ghost_git_writer","last_synced_at":"2026-06-05T06:00:26.272Z","repository":{"id":302261260,"uuid":"1011788921","full_name":"Uliboooo/ghost_git_writer","owner":"Uliboooo","description":"write a git commit message, README or Diff Summary by LLM services.","archived":false,"fork":false,"pushed_at":"2026-06-04T14:47:42.000Z","size":51921,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-04T16:21:43.980Z","etag":null,"topics":["git","llm","message","writer"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uliboooo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-01T10:43:26.000Z","updated_at":"2026-03-31T11:22:17.000Z","dependencies_parsed_at":"2025-07-19T07:15:50.840Z","dependency_job_id":"7a5ae655-8046-4db1-a6b4-6fae325a9a53","html_url":"https://github.com/Uliboooo/ghost_git_writer","commit_stats":null,"previous_names":["uliboooo/ghost_git_writer"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/Uliboooo/ghost_git_writer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uliboooo%2Fghost_git_writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uliboooo%2Fghost_git_writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uliboooo%2Fghost_git_writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uliboooo%2Fghost_git_writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uliboooo","download_url":"https://codeload.github.com/Uliboooo/ghost_git_writer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uliboooo%2Fghost_git_writer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33932040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["git","llm","message","writer"],"created_at":"2026-06-05T06:00:20.446Z","updated_at":"2026-06-05T06:00:26.236Z","avatar_url":"https://github.com/Uliboooo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghost writer - `ggw`\n\n\u003ch1 align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/Uliboooo/ghost_git_writer/blob/develop/README_resource/icon.svg\" width=\"100\" alt=\"Icon\"/\u003e\u003cbr/\u003e\n  Ghost git writer\n\u003c/h1\u003e\n\n[![made-with-Rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg)](https://www.rust-lang.org/)\n\nhttps://uliboooo.github.io/ghost_git_writer/\n\n**⚠️ beta ⚠️** and this doc is unstable to updating now...\n\n## installing\n\n```zsh\ncargo install ghost_git_writer\n```\n\n### set api key in enviroment variables\n\n- Gemini\n  - `GGW_GEMINI_API`\n  - `GEMINI_API_KEY`\n- Anthropic\n  - `GGW_ANTHROPIC_API`\n- OpenAI\n  - `GGW_OPENAI_API`\n- Deepseek\n  - `GGW_DEEPSEEK_API`\n\n## usage\n\n```zsh\nggw \u003cCOMMAND\u003e [Options]\n```\n\n### use other source as diff\n\n```zsh\n❯ gda --staged | ggw commit --stdin -m gemini/gemini-2.5-flash\n⠏ LLM call...finished.                                                                                               Generated msg:\n╭────────────────────────────────────────────────────────────╮\n│ feat: Set up Emacs with configuration migrated from Neovim │\n╰────────────────────────────────────────────────────────────╯\ncontinue?(y/n)\u003ey\n```\n\n- Sub Commands\n  - `commit`: generate a git commit message from git diff by llm\n  - `readme`: generate a README from codebase.\n  - `sumdiff`: generate a summry of changes from git diff\n  - `which-sem`: in Sem Ver, Output which field should be incremented.\n- Global Options(mainly)\n  - `-m --model`: model sepcific tag. there are tow pattern to specific model.\n  - `-p --path`: specific woek path. if it's empty, set current dir path.\n  - `-l --lang`: change output language.(default=english). e.g. `-l japanese`\n  - `-e --extra`: extra prompt. if you need to append order to llm.\n  - `--config`: config file path. if you need to locate other than `~/.config/ggw/config.toml` or `~/.ggw.toml`.\n  - `--oneline`: output only llm's return for cli pipes\n- Options for `commit`\n  - `--auto-commit`: allow auto git commit by generated message\n  - `-D --diff \u003cDIFF_COMMIT\u003e`: specify commit hash or tag or git symbolic ref(e.g. 'HEAD')\n- Options for `readme`\n  - `-s --source \u003csource file list\u003e`: source files path. A list of file paths separated by ','.\n  - `-d --directory \u003csource dir\u003e`: souce file folder\n  - `--merge-readme`: allow merge to existing README.md\n- Options for `sumdiff`\n  - `-D --diff \u003cDIFF_COMMIT\u003e`: specify commit hash or tag or git symbolic ref(e.g. 'HEAD')\n- Options for `which-sem`\n  - `-D --diff \u003cDIFF_COMMIT\u003e`: specify commit hash or tag or git symbolic ref(e.g. 'HEAD')\n\n## Examples\n\n```shell\n# give `git diff` to command\nggw commit -m gemini/gemini-2.0-flash\nggw commit -m gemini/gemini-3-flash-preview\n\n# gice `git diff 76fd1d0` to command\nggw sumdiff -D 76fd1d0 -m gemini/gemini-2.5-pro\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuliboooo%2Fghost_git_writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuliboooo%2Fghost_git_writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuliboooo%2Fghost_git_writer/lists"}