Skip to content

at-mojo/commie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚒️ commie

AI powered UwU commits generator - A CLI tool that generates funny, personalized commit messages using AI based on your git changes and personality preferences.

Features

  • 🤖 AI-Powered: Uses Ollama with the qwen3-coder:30b model to generate contextual commit messages
  • 🎭 Personality-Driven: Reads from .gitPersonality file to match your commit style
  • 📝 Smart Analysis: Analyzes git diffs to infer appropriate commit types and scopes
  • 🔧 Debug Mode: --debug flag for troubleshooting
  • 🧪 Dry Run: --dry flag to preview commits without executing them
  • Auto-Staging: Automatically stages changes if none are staged

Prerequisites

  • Git repository
  • .gitPersonality file

Setup

Create a personality file: Create a .gitPersonality file in your repository root with your preferred commit message style and personality traits.

Example .gitPersonality:

I like to write commit messages that are:
- Funny and lighthearted
- Use emojis occasionally
- Reference pop culture when appropriate
- Keep it concise but memorable

Usage

# Basic usage
commie "fix the bug in user authentication"

# With debug output
commie "add new feature" --debug

# Dry run (preview without committing)
commie "refactor database queries" --dry

# Get help
commie --help

Commit Message Format

The AI generates commit messages in the format:

<type>(<scope>): <message>

Troubleshooting

  • "Error getting git diff details": Make sure you're in a git repository
  • "Error getting git personality details": Create a .gitPersonality file in your repo root
  • Connection errors: Ensure Ollama is running and accessible at the configured address
  • Model not found: Make sure the qwen3-coder:30b model is installed in Ollama

Examples

# Fix a bug
$ commie "fix the login issue"
🔧(auth): Fixed the login bug that was causing infinite loops 🐛

# Add a feature
$ commie "add dark mode support"
✨(ui): Added dark mode because we're not vampires 🦇

# Refactor code
$ commie "clean up the database layer"
🧹(db): Refactored database layer to be less chaotic 📊

made for times when you need a laugh :)

About

commie is an AI commit message generator that personifies your git commits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published