commitsense 1.1.0

dotnet tool install --global commitsense --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local commitsense --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=commitsense&version=1.1.0
                    
nuke :add-package commitsense --version 1.1.0
                    

CommitSense

Generate meaningful commit messages using OpenAI

CommitSense is a command-line tool that analyzes your staged git changes and generates clear, conventional commit messages using OpenAI.

Quick Start

  1. Install:

    dotnet tool install --global commitsense
    
  2. Set your OpenAI API key:

    # Option 1: Command line
    commitsense --api-key your_api_key_here
    
    # Option 2: Environment variable
    export OPENAI_API_KEY=your_api_key_here
    commitsense
    
  3. Use in your git repository:

    git add .
    commitsense
    

Configuration

Unix-like systems (macOS/Linux)

Add to ~/.zshrc or ~/.bashrc:

export OPENAI_API_KEY="your_api_key_here"

Windows (PowerShell)

Add to your PowerShell profile:

$env:OPENAI_API_KEY = "your_api_key_here"

To find your PowerShell profile location:

$PROFILE

Requirements

  • Git
  • .NET 8.0 Runtime
  • OpenAI API key

Development

git clone https://github.com/rcamine/commitsense.git
cd commitsense
dotnet build
dotnet run -- --help

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.1.0 265 4/13/2025