{"id":37230643,"url":"https://github.com/codertesla/wtf-commit","last_synced_at":"2026-04-02T13:22:48.898Z","repository":{"id":332088468,"uuid":"1132677781","full_name":"codertesla/wtf-commit","owner":"codertesla","description":"WTF Commit is a minimalist VS Code extension that uses AI to generate concise and meaningful Git commit messages from your staged changes","archived":false,"fork":false,"pushed_at":"2026-01-12T15:31:48.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T19:07:16.868Z","etag":null,"topics":["ai-commit","auto-commit-message","vscode-extension"],"latest_commit_sha":null,"homepage":"https://open-vsx.org/extension/codertesla/wtf-commit","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/codertesla.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2026-01-12T09:50:42.000Z","updated_at":"2026-01-12T15:29:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/codertesla/wtf-commit","commit_stats":null,"previous_names":["codertesla/wtf-commit"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/codertesla/wtf-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codertesla%2Fwtf-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codertesla%2Fwtf-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codertesla%2Fwtf-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codertesla%2Fwtf-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codertesla","download_url":"https://codeload.github.com/codertesla/wtf-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codertesla%2Fwtf-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":["ai-commit","auto-commit-message","vscode-extension"],"created_at":"2026-01-15T03:39:32.723Z","updated_at":"2026-04-02T13:22:48.891Z","avatar_url":"https://github.com/codertesla.png","language":"TypeScript","readme":"English | [简体中文](README_zh.md)\n\n# WTF Commit ✨\n\n[![Open VSX Version](https://img.shields.io/open-vsx/v/codertesla/wtf-commit)](https://open-vsx.org/extension/codertesla/wtf-commit)\n[![Open VSX Downloads](https://img.shields.io/open-vsx/dt/codertesla/wtf-commit)](https://open-vsx.org/extension/codertesla/wtf-commit)\n[![License](https://img.shields.io/github/license/codertesla/wtf-commit)](https://github.com/codertesla/wtf-commit)\n[![GitHub Stars](https://img.shields.io/github/stars/codertesla/wtf-commit?style=social)](https://github.com/codertesla/wtf-commit)\n\nLinks: [GitHub](https://github.com/codertesla/wtf-commit) | [Open VSX](https://open-vsx.org/extension/codertesla/wtf-commit) | [Website](https://codertesla.github.io/wtf-commit/)\n\nWTF Commit is a minimalist VS Code extension that uses AI to generate concise and meaningful Git commit messages from your staged changes (or working tree changes).\n\n## 🆕 Latest (v1.0.3)\n\n- **Zero-Config Intent Hint**: If you type a few words in the Source Control input box before generation, WTF Commit will use them as a lightweight hint to steer the commit message.\n- **AI Repair**: If the generated title does not look like a Conventional Commit, the extension now offers a one-click `AI Repair` action to rewrite it without breaking your flow.\n- **Cleaner Diff Context**: The model now ignores more lockfiles, assets, build outputs, and oversized noisy patches up front, improving quality while keeping the extension minimalist.\n\n## 🚀 Features\n\n- **Multi-lingual Support**: Preset support for English, Chinese, Japanese, Classical Chinese, and **Custom** strings.\n- **Conventional Commits**: Automatically follows conventional commit standards (feat, fix, docs, etc.).\n- **Smart Diffing**: Prioritizes staged changes, falls back to working tree changes, and strips more low-value diff noise before generation.\n- **Intent-Aware Generation**: Reuses any text already typed into the SCM input box as a zero-config generation hint.\n- **Auto Commit \u0026 Push**: Full automation pipeline — generate, commit, and push in one keystroke.\n- **Interactive Tuning**: Auto-commit flows support real-time message editing without blocking Git staging.\n- **Lightweight Recovery**: Offers an inline `AI Repair` action when the generated title format needs a quick fix.\n- **Reliable Request Flow**: Built-in timeout + categorized API error handling, with extended reasoning for DeepSeek and MiniMax variants.\n- **Keyboard Shortcut**: Default binding `Cmd+Alt+G` (Mac) / `Ctrl+Alt+G` (Windows/Linux).\n- **Customizable**: Fully adjustable system prompt and Base URL for custom LLM endpoints.\n\n---\n\n## ⏱️ Quick Start Tutorial\n\nGet started with AI commits in 3 simple steps:\n\n1. **Install**: Search for `WTF Commit` in the Open VSX Extensions marketplace and install.\n2. **Set API Key**: Press `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows), type **`WTF Commit: Set API Key`**, select your provider, and paste your key.\n3. **Generate**: Press **`Cmd+Alt+G`** (Mac) or **`Ctrl+Alt+G`** (Windows). The extension will automatically generate a message based on your code diff.\n\n---\n\n## 🛠️ Advanced Tutorial\n\n### 1. Plugin Settings\nOpen VS Code **Settings** (`Cmd+,`) and search for `WTF Commit` to customize the behavior:\n\n| Setting | Description |\n|---------|-------------|\n| **Auto Commit** | Automatically commit after generating the message. |\n| **Auto Push** | Automatically push after commit (requires Auto Commit). |\n| **Confirm Before Commit** | Show a confirmation dialog before auto-committing. |\n| **Smart Stage** | Automatically stage all changes if nothing is staged (Default: `true`). |\n| **Prompt** | Customize the AI's persona and generation rules. |\n\n### 2. Custom Model \u0026 Endpoints\nYou can use any OpenAI-compatible model (like local models via Ollama) by changing the **Provider** or **Model/Base URL**:\n\n1. In Settings, set **Provider** to `Custom`.\n2. Enter the **Base URL** (e.g., `http://localhost:11434/v1`).\n3. Enter the **Model** name (e.g., `llama3`).\n\n### 3. Custom Commit Language\nIf you want the AI to use a specific language (e.g., French, Cantonese, or Emoji-only):\n\n1. Set **Language** to `Custom`.\n2. Enter your target language in **Custom Language** (e.g., `Emoji only`).\n\n---\n\n## ℹ️ Supported Providers \u0026 Models\n\nIf **Base URL** and **Model** are left empty, the extension uses these defaults:\n\n| Provider | Default Model | Default Base URL |\n|----------|---------------|-----------------|\n| **OpenAI** | `gpt-5-nano` | `https://api.openai.com/v1` |\n| **DeepSeek** | `deepseek-chat` | `https://api.deepseek.com` |\n| **MiniMax** | `MiniMax-M2.5` | `https://api.minimaxi.com/v1` |\n| **Moonshot** | `kimi-k2-turbo-preview` | `https://api.moonshot.cn/v1` |\n| **GLM** | `glm-5` | `https://open.bigmodel.cn/api/paas/v4` |\n| **Gemini** | `gemini-3.1-flash-lite-preview` | `https://generativelanguage.googleapis.com/v1beta/openai` |\n| **OpenRouter** | `openrouter/free` | `https://openrouter.ai/api/v1` |\n| **Custom** | - | - |\n\n\u003e OpenRouter default now targets the free route model: `openrouter/free`.\n\n\u003e [!IMPORTANT]\n\u003e **Claude Support**: Native Claude format is not supported yet. Please use a proxy service that provides an OpenAI-compatible endpoint.\n\n## 🕹️ Other Ways to Trigger\n\n- **Source Control Icon**: Click the ✨ icon at the top of the Git panel.\n- **Command Palette**: Run `WTF Commit: Generate`.\n- **Command Palette**: Run `WTF Commit: Set API Key` to configure or rotate your API key.\n- **Chorded Keybinding**: You can bind a double-press like `Cmd+G` `Cmd+G`. See `💡 Pro Tips`.\n\n## 💡 Pro Tips\n\n**How to set a chorded keybinding?**\n1. Open Keyboard Shortcuts (`Cmd+K Cmd+S`).\n2. Search for `WTF Commit: Generate`.\n3. Double-click and press `Cmd+G` twice.\n\n## 📄 License\nMIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodertesla%2Fwtf-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodertesla%2Fwtf-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodertesla%2Fwtf-commit/lists"}