noidea

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 1 Imported by: 0

README ΒΆ

🧠 noidea

Git assistant with AI commit messages and sassy feedback

Go Version

πŸ—Ώ What is noidea?

noidea is a Git companion that makes your commits better and funnier:

  • Get smart commit messages based on your changes
  • Receive sassy feedback from a judgmental Moai after each commit
  • Analyze your Git history for insights and patterns
noidea in action

⚑ Quick Start

# Install noidea
git clone https://github.com/AccursedGalaxy/noidea
cd noidea

./install.sh # (might require sudo)

# Set up in your Git repo
cd /path/to/your/repo
noidea init

# Enable auto commit suggestions (optional)
git config noidea.suggest true

# Add your API key for AI features
echo "XAI_API_KEY=your_api_key_here" > ~/.noidea/.env

your new commit workflow with noidea:

# Commit Workflow With noidea
git add .
git commit

This will open your default editor with the suggested commit message. saving and closing will approve and commit.

🧠 Features in Action

1. Commit Message Suggestions

When you're ready to commit, run:

noidea suggest

And get professional commit messages:

───────────────────────────────────────────────────
🧠 Analyzing staged changes...
───────────────────────────────────────────────────
✨ Suggested commit message:
feat(user-auth): implement password reset functionality with email verification
───────────────────────────────────────────────────
2. Post-Commit Feedback

After each commit, the Moai will judge your work:

───────────────────────────────────────────────────
πŸ—Ώ  (ΰ² _ΰ² ) Your commit message was 'fix final final pls real'
"You've entered the 2AM hotfix arc. A legendary time."
───────────────────────────────────────────────────
3. Weekly Summaries

Get insights about your work:

noidea summary

πŸš€ Setup Options

Installation

Choose one of these methods:

# One-line quick install
curl -sSL https://raw.githubusercontent.com/AccursedGalaxy/noidea/main/quickinstall.sh | bash

# OR Clone and install
git clone https://github.com/AccursedGalaxy/noidea.git
cd noidea
./install.sh
AI Configuration

For AI-powered features, add your API key:

  1. Add to environment:

    export XAI_API_KEY=your_api_key_here
    
  2. Or create ~/.noidea/.env:

    XAI_API_KEY=your_api_key_here
    
  3. Configure interactively:

    noidea config --init
    

πŸ”§ Commands

# Set up noidea in your repo
noidea init

# Get commit message suggestions
noidea suggest

# View weekly summary
noidea summary [--days 30]

# Get feedback on recent commits
noidea feedback [--count 5]

# Configure noidea
noidea config --init

πŸ€– AI Personalities

noidea has several AI personalities for feedback:

  • Snarky Code Reviewer - Witty, sarcastic feedback
  • Supportive Mentor - Encouraging, positive feedback
  • Git Expert - Technical, professional feedback
  • Motivational Speaker - Energetic enthusiasm
# List all personalities
noidea moai --list-personalities

# Use a specific personality
noidea moai --personality supportive_mentor

πŸ“˜ More Information

Advanced Configuration

Create a ~/.noidea/config.toml file:

[llm]
enabled = true
provider = "xai"
api_key = "your_api_key_here"
model = "grok-2-1212"
temperature = 0.7

[moai]
use_lint = false
faces_mode = "random"
personality = "snarky_reviewer"
include_history = true
Available Commands
  • noidea init - Set up Git hooks in your repository
  • noidea suggest - Get commit message suggestions
  • noidea moai - Display Moai feedback for the last commit
  • noidea summary - Generate summary of recent Git activity
  • noidea feedback - Analyze specific commits
  • noidea config - Configure noidea

Run noidea --help for more information.

Feature Status
Feature Status
Moai face after commit βœ… Done
AI-based commit feedback βœ… Done
Config file support βœ… Done
Weekly summaries βœ… Done
On-demand commit analysis βœ… Done
Commit message suggestions βœ… Done
Enhanced terminal output βœ… Done
POSIX-compatible hooks βœ… Done
Lint feedback πŸ› οΈ In progress
Commit streak insights πŸ”œ Coming Soon

🀯 Why tho?

Because Git is too serious. Coding is chaos. Let's embrace it.

This tool won't improve your Git hygiene, but it will make it more entertaining.


Made with noidea and late-night energy.

GitHub stars GitHub issues

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
internal
config
Package config provides configuration management for the noidea tool.
Package config provides configuration management for the noidea tool.
git
moai
Package moai provides functions for generating Moai feedback with different personalities and moods.
Package moai provides functions for generating Moai feedback with different personalities and moods.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL