;^^^^;
™ÆÆÆµ=+++++++++++™ÆÆÆà
+ÆÆà++++++++++++++++++++++++µÆÆJ
^ƶ++++++++++++++++++++++++++++++++™Æ=
ÖÆ+ JÆæ; ÆÆ++++++++++++++++++++++++++++++++++++++ÐÆ; ¶Æ™; ^Ææ
Æ^ ƶ+++++++++++++++++ÌÌÌÌÌÌÌÌ=++++++++++++++++™Æ ;Æ
Æ; à++++++++++++++++++++====++++=++=====++++++++J Æ
^æ =+++++++++++++++JÌJ=+++++++++JÌÌ+++++==++++++++µ µÌ
ÖJ à++++=ÐÆÆÆÆææææææÆÆ++++++++++ÐÆææææææÆÆÆÆæJ++++à ^Æ
Æ=^ +ÐÆÆææææææÆÆÆ™++++JÆÆæÆ™àààà™ÆææÆÌ++++ÌÐÆÆÆæææææÆÆÆ= ;Æ
Æ=++++ÆææææææææÆÖ+++++++++++++ÆææææææææÆ+++++++++++++àÆææææææææÆJ++++Æ
¶™+++=ææÆææÆææÖ++++++++Æà+ÖÆ+++ÆæÆÆÆÆæÆ+++ÆJ+Ææ++++++++ÌææÆææÆææÌ+++=Æ
ÌÆ=++Ð=ÆÆÆÆæææ^+++++++Æ++++=¶++¶Æ++++ÆÆ++Æ+++++µ+++++++^ÆææÆÆÆÆÌÖ+++ÆÐ
™æ++=ÌÖ+++++Æææà+++++++µ+++++J+µææà™™àÐÆÖ+µ+++++µ+++++++JææÆÌ++++ÌÌ+++µæ
Æ+++ÌÌÌ+++++àææÆ++++++++++++JÐÌÌÌÌÌÌÌÌÌÌÌÌÖ™++++++++++++ÆææÆ+++++=™Ì+++Æ
Öà++ÌÌJ++++++æææà++++++++++ÐÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÆ++++++++++JÆæÆ+++++++µÌ++ÌÆ
ÖÆ+++µ+++++++ææÆ++++++++++ÆÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÆ++++++++++ÆæÆ+++++++J=++¶Æ
;ÌÖÆ++++++++Ðææ¶++++=ÐÆÆÆàÌÌÌÌÌÌÌÌÌÌÌÌÌÌ™ÆÆÆÆJ++++àÆæÆ++++++++Ö¶™;
Æ+++++++++àÆææææÆÆÆ^ ƵÌÌÌÌÌÌÌÌÌÌ™Æ ÆÆÆææææÆÐ+++++++++Æ
=Æ+++++++++++J=+µ; =à¶ÆÆæàJ à+=J+++++++++++æà
Ðà++++++++++++à Æ++++++++++++™Æ
Æ™+++++++++++Æ Ð+++++++++++=Æ
ÐÐ++++++++++++ÐÌ JÆ++++++++++++àÆ
^Æ+++++++++++++++=¶æ+ ^¶æJ+++++++++++++++ÆJ
¶Æ++++++++++++++++++++++++++++++++++++++++++++ÐÆ
æÆ++++++++++++++++++++++++++++++++++++++++ÆÆ
ÌÆà++++++++++++++++++++++++++++++++++™Æà
àÆæ++++++++++++++++++++++++++++ÖÐÖÖÆ^
ÆÖÖÖÖÖ¶ÐæJ++++++++++++++++=ÐæÐÖÖÖÖÖÖÖæÆ
ÐÆÖÖÖÖÖÖÖÖÖÖæ ^+ÖÆÌ^ ÐÖÖÖÖÖÖÖÐÖÖÖÖÆ
;ÆÖÖÖÖÖÖÖÖÖÖÖÖÖæ ;ƶÖÖÖÖÖÐæ +¶ÖÖÖÖÖÖÖÖ¶ÆÖÖÖ¶Æ
^ÐÆÆÆÆÖÖÖÖÖ¶ÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆÐÖÖÖÆ+
ÆÆJ++++++ÆÖ¶ÆÌÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆÖÖÖÖÆ=
=ÆÐÐÐæÆÐµ++ÆÆ+ µÐÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖæÖÖÖÆæ
ÆÐÐÆÆÆÆÐÐÆÖ æÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖæÐÆÆ;
ÆÐÐÆ ^ÆÐæÆ ÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆ^
µÆÆÌ =ÆÐæÆ ÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆ=
JÆÐæÆ ÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆ=
ÌÆÐæÆ ÆÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆ+
™ÆÐæÆ Æ¶ÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÆ;
àÆÐæÆ ™ÆæææÆÆ¶ÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÐÆæææÆ
ÖæÐæÆ +ÆæææææææææÐæææÆÆÆÆÆÆÆææææææææææÐÆ
ÐæÐæÆ ÆæææææææææææææææææææææææææææææææÐ
ÆæÐæÆ ÆÐææÐææÐææææææææÆÐææÐææÐææÐææÐæÆÌ
ÆæÐæÆ ÆÆæææææææÐææÐƵ ;ÆÆæææææææææææÆ;
ÆæÐæÆ ^ÆæææÐææææææÆ JÆæææÐææÐææÐÆ
ÆÐÐæÆ ÆæææææÐææÐÆ^ ÆæææææææææÆà
ÆÐÐæÆ ¶æææææææææÆ ÆæææÐææÐæÆ
ÆÐÐæÆ µÆÆÐæææÐæÆJ ÆæææææÐæÆÆ;
ÆÐÐæÆ Jƶ¶¶¶¶¶¶ÆÆÆ ÆæÆÐ¶¶¶¶¶¶¶Æ
æÆæÆ= ÆÆÆÆÆÆÆÆÆÆÆÆ ÆÆÆÆÆÆÆÆÆÆÆÆ;
AI-powered code review tool using git diff and various AI providers (OpenAI, Anthropic, Gemini, Ollama).
- 🤖 Multiple AI Providers: Support for OpenAI, Anthropic, Gemini, and Ollama
- 🔍 Git Integration: Automatic diff generation and analysis
- 📊 Rich Output: Multiple output formats (rich, JSON, markdown, HTML)
- ⚙️ Flexible Configuration: Easy setup and customization
- 📝 Review History: Track and manage review history
- 🎯 Focus Areas: Target specific aspects (security, performance, style)
Automatically review pull requests with AI-powered feedback:
- Quick Setup: SETUP-QUICK.md - Get started in 5 minutes
- Complete Guide: docs/github-action-setup.md - Full documentation
# Clone the repository
git clone https://github.com/nikolliervin/code-unc.git
cd code-unc
# Install in development mode
pip install -e .
# Add to PATH (if needed)
# Windows: Add Python Scripts directory to PATH
# macOS/Linux: export PATH="$HOME/.local/bin:$PATH"
# Verify installation
unc version
# Initialize configuration
unc config init
# Run your first review
unc review run-review --source feature-branch --target mainTo use unc from anywhere in your terminal, add it to your system PATH:
Windows:
# Find Python Scripts directory
python -c "import sys; print(sys.executable.replace('python.exe', 'Scripts'))"
# Add the output path to your system PATH environment variablemacOS/Linux:
# Add to shell profile
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcVerify installation:
unc versionFor comprehensive documentation, see the docs folder or run:
unc help- Installation Guide - How to install and set up UNC
- Quick Start - Get up and running in minutes
- Configuration Guide - Configure UNC for your needs
- Commands Reference - Complete command reference
- AI Providers Guide - Supported AI providers and setup
- Examples - Common usage examples
- Troubleshooting - Common issues and solutions
MIT License - see LICENSE file for details.