(noun) : birb
see also : birbb
A sassy CLI tool that mocks your failed commands with intelligent insults.
# Build parrot
go build -o parrot main.go
# Auto-guided setup
./parrot setup
# Interactive wizard walks you through:
# 1. Choose backend (API/Local/Fallback)
# 2. Configure API keys or install models
# 3. Install shell hooks
# 4. Test your parrot!# Basic functionality (works immediately)
./parrot install # Install shell hooks
source ~/.bashrc # For bash (or ~/.zshrc for zsh, ~/.config/fish/config.fish for fish)
# Add intelligence later
./parrot configure # Interactive config wizardgit push origin nonexistent # Try failing a command
# 🦜 Git rejected your code harder than everyone rejects you.Parrot fully supports fish shell! The installation process automatically detects fish and configures it appropriately:
# Build parrot
go build -o parrot main.go
# Install (automatically detects fish)
./parrot install
# Configuration is installed to ~/.config/fish/conf.d/parrot.fish
# Restart fish or source the config
source ~/.config/fish/config.fishFish users get the same sassy experience with native fish syntax and hooks!
Test parrot responses without shell hooks:
./parrot mock "git commit" "1"
./parrot mock "npm install" "1"
./parrot mock "docker run" "125"parrot mock "command" "exit_code"- Test responsesparrot status- Show backend status and configurationparrot config init- Create sample config fileparrot install- Install shell hooks
# Use custom config file
PARROT_CONFIG=./my-config.toml parrot mock "git push" "1"
# Override personality
PARROT_PERSONALITY=savage parrot mock "docker run" "125"
# Disable colors
NO_COLOR=1 parrot mock "npm install" "1"
# Enable debug mode
PARROT_DEBUG=true parrot mock "curl api.com" "7"