https://github.com/gitset-dev/gitset-cli
gitset-cli is AI-powered CLI tool that generates semantic commit messages by analyzing your staged changes. Save time and maintain consistency in your Git workflow with intelligent, context-aware commit suggestions.
https://github.com/gitset-dev/gitset-cli
ai-driven-solutions command-line-interface commit-message commit-message-generator gitset gitset-cli gitset-dev gitset-dev-cli
Last synced: 2 months ago
JSON representation
gitset-cli is AI-powered CLI tool that generates semantic commit messages by analyzing your staged changes. Save time and maintain consistency in your Git workflow with intelligent, context-aware commit suggestions.
- Host: GitHub
- URL: https://github.com/gitset-dev/gitset-cli
- Owner: gitset-dev
- License: mpl-2.0
- Created: 2024-12-30T22:58:15.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T04:33:31.000Z (3 months ago)
- Last Synced: 2025-02-22T05:24:17.814Z (3 months ago)
- Topics: ai-driven-solutions, command-line-interface, commit-message, commit-message-generator, gitset, gitset-cli, gitset-dev, gitset-dev-cli
- Language: JavaScript
- Homepage: https://gitset.dev/commit-messages
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Overview
GitSet CLI is an integral component of the GitSet.dev ecosystem, designed to enhance Git workflow automation through AI-driven commit message generation. By leveraging Google's Gemini Pro AI technology, it provides intelligent analysis of staged changes to generate contextually appropriate commit messages, supporting both semantic and personalized formatting styles.
## Key Capabilities
The GitSet CLI enhances repository management through:
- **AI-Powered Analysis**: Utilizes advanced AI processing to analyze staged changes and generate contextually appropriate commit messages
- **Semantic Versioning Support**: Implements conventional commit standards for maintaining structured version control
- **Style Adaptation**: Analyzes existing commit patterns to match personal or team commit message conventions
- **Efficient Processing**: Provides rapid analysis and suggestion generation while maintaining minimal resource utilization
- **Cross-Platform Architecture**: Ensures consistent operation across various operating systems and environments
- **License Management**: Flexible licensing system with both free and pro tiers for different usage needs
- **Usage Tracking**: Built-in monitoring of API usage and license status## System Requirements
- Node.js Runtime Environment (Version 18.0.0 or higher)
- Git (Installed and configured)
- Active internet connection for AI processing## Installation Process
Install the GitSet CLI globally via npm:
```bash
npm install -g @gitset-dev/cli
```## Implementation Guide
### Basic Usage
1. Stage your modifications:
```bash
git add .
```2. Generate commit message suggestions:
```bash
# Semantic versioning format (default)
gitset suggest# Custom formatting style
gitset suggest --mode custom
```3. Implement the generated message:
```bash
git commit -m "generated_message"
```### License Management
Activate your GitSet license:
```bash
# Activate with license key
gitset activate# Check license status and usage
gitset status# Remove current license
gitset deactivate
```### Operational Modes
#### Semantic Mode (Default Implementation)
Implements conventional commit standards to generate structured, semantic commit messages. This mode is optimized for maintaining consistent and professional Git history in enterprise environments.Example output:
```bash
$ gitset suggest
✨ Generated Suggestion:
------------------------
feat: Implement JWT authentication system- Add token generation and validation mechanisms
- Integrate login and registration endpoints
- Configure route protection middleware
```#### Custom Mode
Analyzes existing commit patterns to generate messages that align with established conventions:- Evaluates recent commit history (default: 20 commits) for pattern recognition
- Adapts to existing formatting conventions and structural patterns
- Maintains sequential naming conventions if detected
- Preserves emoji usage patterns and placement
- Replicates capitalization and punctuation styles
- Balances descriptive content with stylistic consistencyExample of style adaptation:
```bash
# Given existing commit pattern:
FEATURE_123: Enhanced login interface 🚀
FEATURE_124: Updated navigation system ✨
FEATURE_125: Resolved routing conflicts 🔧# Generated suggestion maintains consistency:
FEATURE_126: Implemented user preferences 🎯
```## Configuration Reference
### Command Structure
Available commands:
- `gitset suggest` - Initiates commit message generation based on staged changes
- `gitset activate` - Activates GitSet with a license key
- `gitset status` - Checks current license status and usage
- `gitset deactivate` - Removes current license configuration
- `gitset help` - Displays detailed usage information### Available Parameters
For suggest command:
- `--mode ` - Specifies generation mode ('semantic' or 'custom')
- `--commit-count ` - Defines number of commits to analyze (default: 20)
- `--version` - Displays CLI version information
- `--help` - Provides command usage information## Plans and Pricing
- **Basic (Free)**
- 10 requests per month
- Basic commit message generation
- Semantic and custom modes support- **Pro**
- Unlimited requests
- Advanced features and priority support
- Visit https://gitset.dev/pricing for details## Development Contribution
We welcome contributions to enhance the GitSet CLI. Please follow these steps:
1. Fork the repository
2. Create a feature branch:
```bash
git checkout -b feature/enhancement-description
```
3. Implement modifications:
```bash
git commit -m 'feat: Add enhancement description'
```
4. Push changes:
```bash
git push origin feature/enhancement-description
```
5. Submit a Pull Request## License Information
This project operates under the Mozilla Public License 2.0 - refer to [LICENSE.md](LICENSE.md) for detailed terms.
## Support Channels
- Technical Support: [email protected]
- Contact Form: https://gitset.dev/contact
- Issue Tracking: https://github.com/gitset-dev/gitset-cli/issues
- Account Management: https://gitset.dev/account## Acknowledgments
- Contributors who have helped improve this tool
- Commander.js for CLI framework support
- Google's Gemini Pro for AI capabilities---
Part of the [GitSet.dev](https://gitset.dev) ecosystem - Smart AI Documentation & Version Control for GitHub Repositories.