This monorepo contains three packages:
| Package | Description | Version |
|---|---|---|
| commitor | π₯οΈ CLI tool for terminal usage | |
| @commitor/core | π§ Core library for developers | |
| commitor-vscode | π» VSCode extension |
- π― AI-Powered: Generate meaningful commit messages using OpenAI (GPT-4o-mini) or Anthropic (Claude Sonnet 4.5)
- π Hybrid Connection: Use API keys OR browser automation (no API key required!)
- π Multi-Language Support: Auto-detects language from README + git history, or specify any language
- β Instant Validation: Setup wizard validates API keys in real-time
- π Conventional Commits: Follows industry-standard commit message format
- β¨ Interactive Preview: Review and edit messages before committing
- π Secure Storage: Encrypted API key and session management
- π Multiple Interfaces: CLI, VSCode extension, or integrate the core library
npm install -g commitor# Run setup wizard
commitor init
# Choose your AI provider (OpenAI or Anthropic)
# Select connection type (API or Browser)
# Enter API key (if using API mode)
# Select language preference# Stage your changes
git add .
# Generate and commit with AI
commitorThat's it! Commitor will:
- Analyze your staged changes
- Generate a meaningful commit message
- Let you preview and edit
- Commit with the final message
CLI (Terminal)
npm install -g commitorVSCode Extension
Search "Commitor" in VSCode Extensions or install from marketplace
Core Library
npm install @commitor/coreimport { CommitGenerator } from '@commitor/core';
const generator = new CommitGenerator({
provider: 'openai',
connectionType: 'api',
apiKey: 'your-api-key'
});
const message = await generator.generate({
diff: gitDiffOutput,
language: 'en'
});Commitor is also available as a VSCode extension for seamless editor integration!
- β¨ One-click AI commit message generation from Source Control panel
- π Secure API key storage using VSCode Secrets API
- π Real-time status bar integration
- βοΈ Easy configuration via Command Palette or Settings UI
- π¨ Beautiful configuration panel with visual feedback
- π Supports both OpenAI and Anthropic
From VSCode Marketplace:
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Commitor"
- Click Install
Or install directly:
code --install-extension frkngnc.commitor-vscodeπ¦ View on VSCode Marketplace
- CLI Usage Guide - Detailed CLI commands and options
- Development Guide - Setup development environment
- Core API Documentation - Use @commitor/core in your projects
- Contributing Guidelines - How to contribute
commitor init # Initial setup wizard
commitor # Generate and commit message
commitor config # View/edit configuration
commitor logout # Clear session and API keys
commitor --help # Show help
commitor --version # Show versionCommitor: Generate AI Commit Message- Generate commit messageCommitor: Configure AI Provider- Quick configurationCommitor: Open Configuration Panel- Full settings UICommitor: Change Language- Switch message languageCommitor: Logout- Clear API keysCommitor: Check Provider Health- Test AI provider connection
We welcome contributions! Here's how you can help:
- π Report bugs - Open an issue
- π‘ Suggest features - Start a discussion
- π Improve docs - Submit a PR with documentation improvements
- π§ Submit PRs - Check CONTRIBUTING.md for guidelines
MIT Β© Furkan GenΓ§
If you find Commitor useful, please consider:
- β Starring the repository
- π¦ Sharing on social media
- π Writing a blog post or review
- π§ Contributing to the project
Made with by frkngnc