Skip to content
Griffen Fargo edited this page May 2, 2026 · 12 revisions

πŸš€ Quick Start

New to coco? Start here for a complete walkthrough from installation to your first AI-generated commit.

πŸ“– Getting Started Guide

  • Installation methods (npm, npx, global vs local)
  • First-time setup with AI provider selection
  • Your first commit walkthrough
  • Essential commands and workflows
  • Quick troubleshooting for beginners

βš™οΈ Configuration & Setup

Core Configuration

πŸ”§ Configuration Overview

  • Complete configuration reference with all options
  • Multiple configuration methods (CLI, env vars, config files)
  • AI provider setup (OpenAI, Anthropic, Ollama)
  • Priority system and best practices

πŸ“ Ignoring Files & Extensions

  • Advanced pattern matching with minimatch
  • Project-specific ignore configurations
  • Performance optimization through file filtering
  • Real-world examples for different project types

AI Providers

🏠 Using Ollama

  • Complete local AI setup guide
  • Model recommendations by hardware
  • Performance optimization and GPU acceleration
  • Privacy-focused development workflows

πŸ‘₯ Team & Enterprise

🀝 Team Collaboration

  • Shared configuration strategies
  • Git hooks and CI/CD integration
  • Security best practices for API keys
  • Team onboarding and training materials
  • Enterprise-scale deployment

πŸ”§ Advanced Features

⚑ Advanced Usage

  • Custom prompts and templates
  • Multi-project configurations
  • Automation and scripting
  • Performance optimization techniques
  • Integration with development tools

πŸ–₯️ Coco UI

  • Use coco ui as a GitKraken-style terminal Git workstation
  • Seven top-level views (history, status, diff, compose, branches, tags, stash) with chord-driven navigation
  • Stage files/hunks, compose commits, request explicit AI drafts after confirmation
  • Keep coco log -i as a supported alias into history mode

🧭 TUI Navigation

  • Source of truth for the chord set (g h/s/d/c/b/t/z), the navigation stack, and back (< / Esc)
  • Interactive command palette (:) with fuzzy filter and recently-used at the top
  • / global search across history, branches, tags, and stash; help overlay grouped by scope
  • Theming presets, NO_COLOR support, accessibility expectations

πŸ“œ Interactive Log TUI

  • History-focused guide for coco log -i and coco ui --view history
  • Search with fuzzy-ranked filtering and common lazygit/fzf keybindings
  • Inspect selected commit metadata, changed files, stats, and hunk previews

🧩 Commit Split

  • Plan smaller related commits from broad staged changes
  • Apply file-level and hunk-level split commit groups
  • Understand safety checks and fail-closed behavior

🧠 Dynamic Model Routing

  • Use service.model: "dynamic" with provider-specific model profiles
  • Route summarize, commit, changelog, review, recap, repair, and large-diff tasks
  • Customize model choices per task

πŸ“ Documentation Workflow

  • Maintain the wiki locally from .wiki/
  • Keep the wiki as the canonical documentation source
  • Use repository docs only as temporary planning or migration material

πŸ“š Reference

πŸ“‹ Command Reference

  • Complete reference for all commands and flags
  • Includes commit, commit split, changelog, recap, review, log, ui, and init
  • Common workflows and output mode examples

🌐 Using OpenRouter

  • Access multiple AI providers through a single API
  • Configuration examples for project, git, and environment setups
  • Model switching and cost tracking

πŸ†˜ Help & Support

πŸ” Troubleshooting Guide

  • Common issues and solutions
  • Diagnostic commands and debugging
  • Platform-specific problems (Windows, macOS, Linux)
  • API and connectivity issues
  • Performance troubleshooting

🎯 Use Cases

Individual Developers

  • Consistent Commits: Never write generic commit messages again
  • Learning Tool: Understand conventional commits through examples
  • Time Saving: Generate contextual messages in seconds
  • Offline Capable: Use Ollama for complete privacy and offline work

Development Teams

  • Standardization: Enforce consistent commit message formats
  • Onboarding: Help new team members learn project conventions
  • Code Review: Better commit messages improve review efficiency
  • Release Management: Conventional commits enable automated changelogs

Enterprise Organizations

  • Compliance: Audit trails and consistent documentation
  • Security: Local AI models keep code completely private
  • Cost Control: Shared Ollama servers eliminate per-request costs
  • Integration: Seamless integration with existing development workflows

πŸ”— Quick Links

Essential Commands

# Interactive commit (recommended)
coco -i

# Conventional commits format
coco --conventional

# Add context for complex changes
coco -a "Resolves login timeout issue"

# Include ticket from branch name
coco --append-ticket

# Generate changelog
coco changelog

# Open the Git workstation
coco ui

# Browse history interactively through the legacy entrypoint
coco log -i

# Summarize recent work
coco recap --yesterday

Configuration Examples

# Quick setup
coco init

# Project-specific setup
coco init --scope project

# Global user setup
coco init --scope global

Common Workflows

# Daily development
git add .
coco -i

# Team workflow with validation
git add .
coco --conventional -i

# Release workflow
coco changelog --since-last-tag

πŸ“– Additional Resources

Community & Support

Development

πŸŽ‰ Get Started Today

Ready to transform your git workflow? Choose your path:


This documentation is continuously updated. For the latest information, visit the GitHub repository or join our Discord community.

Clone this wiki locally