Repository navigation
forked from google-gemini/gemini-cli
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
| Name | Name | Last commit date | ||
|---|---|---|---|---|
\n\nπ΅βοΈ Find your groove, forge your future with AI\n\nGrooveForge is an independent, privacy-focused AI development companion that helps you find your coding rhythm and forge ideas into reality. Built for developers who value privacy, local control, and the freedom to choose their AI provider.\n\n## β¨ Why GrooveForge?\n\nπ Privacy First - No data collection, no telemetry, your code stays yours \nπ Local Control - Run AI models locally with Ollama or choose your cloud provider \nπ― Independent - Not tied to any single AI company or platform \nβ‘ Developer Focused - Built by developers, for developers \nπ οΈ Extensible - MCP server support for unlimited customization \nπ΅ Find Your Groove - Intuitive workflow that adapts to your coding style \n\n## π Quick Start\n\n### Installation\n\nbash\n# Install globally via npm\nnpm install -g @relix42/grooveforge\n\n# Run from anywhere\ngrooveforge\n# or use the short alias\ngf\n\n\n### Choose Your AI Provider\n\nGrooveForge supports multiple AI providers - choose what works best for you:\n\n#### π¦ Ollama (Recommended - Local & Private)\n\nbash\n# 1. Install Ollama\ncurl -fsSL https://ollama.ai/install.sh | sh\n\n# 2. Pull a model\nollama pull llama3.2\n\n# 3. Configure GrooveForge\nexport CHAT_CLI_PROVIDER=\"ollama\"\nexport OLLAMA_MODEL=\"llama3.2\"\n\n# 4. Start coding!\ngrooveforge\n\n\n#### π€ Claude (Cloud)\n\nbash\n# 1. Get your Claude API key from Anthropic\n# 2. Configure GrooveForge\nexport CHAT_CLI_PROVIDER=\"claude\"\nexport CLAUDE_API_KEY=\"your_api_key_here\"\n\n# 3. Start coding!\ngrooveforge\n\n\n#### π Gemini (Legacy Support)\n\nbash\n# 1. Get your Gemini API key from Google AI Studio\n# 2. Configure GrooveForge\nexport GEMINI_API_KEY=\"your_api_key_here\"\n\n# 3. Start coding!\ngrooveforge\n\n\n## π― Core Features\n\n### π¬ Intelligent Code Assistance\n- Natural Language Coding - Describe what you want, get working code\n- Codebase Understanding - AI that understands your entire project context\n- Smart Refactoring - Modernize and improve existing code\n- Bug Detection - Find and fix issues before they become problems\n\n### π§ Powerful Slash Commands\n- /providers - Manage AI providers (Ollama, Claude, Gemini)\n- /memory - Persistent context across sessions\n- /tools - Extend capabilities with custom tools\n- /mcp - Model Context Protocol server integration\n- /initial-prompts - Automate common workflows\n- /stats - Track your productivity and usage\n\n### π οΈ Developer Workflow Integration\n- Git Integration - Understand commit history and changes\n- File Operations - Read, write, and modify files intelligently\n- Shell Commands - Execute system commands with AI guidance\n- Project Memory - Remembers your project structure and preferences\n\n## π Usage Examples\n\n### Start a New Project\nbash\ncd my-new-project/\ngrooveforge\n> Help me create a REST API for a todo app using Node.js and Express\n\n\n### Understand Existing Code\nbash\ncd existing-project/\ngrooveforge\n> Analyze this codebase and explain the main architecture patterns\n\n\n### Debug and Fix Issues\nbash\ngrooveforge\n> I'm getting a \"Cannot read property 'map' of undefined\" error. Help me find and fix it.\n\n\n### Refactor and Modernize\nbash\ngrooveforge\n> Convert this JavaScript code to TypeScript with proper type definitions\n\n\n## π΅ Finding Your Groove\n\nGrooveForge adapts to your coding style and workflow:\n\n### Initial Prompts\nAutomate your startup routine:\nbash\ngrooveforge --initial-prompt \"Review recent git commits\" --initial-prompt \"Check for TODO comments\"\n\n\n### Memory System\nGrooveForge remembers your project context:\nbash\n> /memory show # See what GrooveForge remembers about your project\n> /memory refresh # Update project understanding\n\n\n### Provider Switching\nSwitch between AI providers seamlessly:\nbash\n> /providers list # See available providers\n> /providers current # Check current provider\n> /providers switch ollama # Switch to Ollama\n\n\n## π§ Advanced Configuration\n\n### Environment Variables\n\nbash\n# AI Provider Configuration\nCHAT_CLI_PROVIDER=ollama|claude|gemini\nOLLAMA_MODEL=llama3.2\nOLLAMA_URL=http://localhost:11434\nCLAUDE_API_KEY=your_claude_key\nCLAUDE_MODEL=claude-3-5-sonnet-20241022\nGEMINI_API_KEY=your_gemini_key\n\n# GrooveForge Settings\nGROOVEFORGE_THEME=dark|light\nGROOVEFORGE_MEMORY_ENABLED=true\nGROOVEFORGE_AUTO_SAVE=true\n\n\n### Configuration File\nCreate .grooveforge/settings.json in your project or home directory:\n\njson\n{\n \"theme\": \"dark\",\n \"selectedAuthType\": \"OLLAMA\",\n \"memoryEnabled\": true,\n \"autoSave\": true,\n \"preferredEditor\": \"vscode\",\n \"initialPrompts\": [\n \"Review recent changes\",\n \"Check for security issues\"\n ]\n}\n\n\n## ποΈ Development Setup\n\n### Prerequisites\n- Node.js 20+ \n- npm or yarn\n- Git\n\n### Local Development\n\nbash\n# Clone the repository\ngit clone https://github.com/relix42/grooveforge.git\ncd grooveforge\n\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Run locally\nnpm start\n# or use the enhanced startup script\n./gf.sh\n\n# Run tests\nnpm test\n\n# Lint and format\nnpm run lint\nnpm run format\n\n\n### Project Structure\n\n\ngrooveforge/\nβββ packages/\nβ βββ cli/ # Main CLI application\nβ βββ core/ # Core AI and tool functionality\nβ βββ vscode-ide-companion/ # VSCode integration\nβββ docs/ # Documentation\nβββ scripts/ # Build and utility scripts\nβββ integration-tests/ # End-to-end tests\n\n\n## π€ Contributing\n\nWe welcome contributions! Please see our Contributing Guide for details.\n\n### Quick Contribution Steps\n\n1. Fork the repository\n2. Create a feature branch: git checkout -b feature/amazing-feature\n3. Make your changes\n4. Run tests: npm test\n5. Commit your changes: git commit -m 'Add amazing feature'\n6. Push to the branch: git push origin feature/amazing-feature\n7. Open a Pull Request\n\n## π Documentation\n\n- CLI Commands - Complete command reference\n- Configuration Guide - Detailed setup instructions\n- MCP Integration - Extend with Model Context Protocol\n- Troubleshooting - Common issues and solutions\n- API Reference - Core library documentation\n\n## πΊοΈ Roadmap\n\nSee our Official Roadmap for upcoming features and improvements.\n\n### Coming Soon\n- π Concurrent Processing - Queue multiple prompts while AI works\n- π Enhanced Analytics - Better insights into your coding patterns\n- π¨ Custom Themes - Personalize your GrooveForge experience\n- π Plugin System - Community-driven extensions\n- π± Mobile Companion - Sync your groove across devices\n\n## π Support\n\n### Getting Help\n- π Check the Documentation\n- π Report bugs via GitHub Issues\n- π¬ Join discussions in GitHub Discussions\n- π§ Email: support@grooveforge.dev\n\n### Troubleshooting\n\nCommon issues and solutions:\n\nOllama not connecting?\nbash\n# Check if Ollama is running\nollama serve\n\n# Verify model is available\nollama list\n\n# Test connection\ncurl http://localhost:11434/api/version\n\n\nClaude API errors?\nbash\n# Verify API key is set\necho $CLAUDE_API_KEY\n\n# Check API key validity\ncurl -H \"x-api-key: $CLAUDE_API_KEY\" https://api.anthropic.com/v1/messages\n\n\n## π License\n\nGrooveForge is licensed under the Apache License 2.0.\n\n## π Acknowledgments\n\n- Originally forked from Google Gemini CLI\n- Built with Ink for beautiful terminal UIs\n- Powered by Ollama for local AI inference\n- Supports Claude for cloud AI assistance\n- Uses Model Context Protocol for extensibility\n\n## π Star History\n\n