{"id":26069995,"url":"https://github.com/gnana997/ollama-copilot","last_synced_at":"2026-04-16T10:31:28.866Z","repository":{"id":281350047,"uuid":"940757528","full_name":"gnana997/ollama-copilot","owner":"gnana997","description":"AI Inline Suggestion and Chat feature powered by Ollama Local LLMs","archived":false,"fork":false,"pushed_at":"2025-09-15T20:13:57.000Z","size":46565,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T22:21:47.189Z","etag":null,"topics":["javascript","ollama","typescript","vscode","vscode-extension","webpack"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=Gnana997.ollama-dev-companion","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnana997.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-28T18:28:38.000Z","updated_at":"2025-09-15T20:14:00.000Z","dependencies_parsed_at":"2025-03-08T14:17:57.071Z","dependency_job_id":"0c77a824-9872-4262-8ed2-e9adcd629cd9","html_url":"https://github.com/gnana997/ollama-copilot","commit_stats":null,"previous_names":["gnana997/ollama-copilot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gnana997/ollama-copilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnana997%2Follama-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnana997%2Follama-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnana997%2Follama-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnana997%2Follama-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnana997","download_url":"https://codeload.github.com/gnana997/ollama-copilot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnana997%2Follama-copilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31881992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","ollama","typescript","vscode","vscode-extension","webpack"],"created_at":"2025-03-08T23:06:54.562Z","updated_at":"2026-04-16T10:31:28.858Z","avatar_url":"https://github.com/gnana997.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ollama Copilot\n\nOllama Copilot integrates local LLMs from [Ollama](https://ollama.ai/) directly into VS Code, providing AI-powered code completion and an interactive chat experience with your own locally-running models.\n\n![Inline Suggestions and Model Selection](media/demo/inlinesuggestions.gif)\n\n## What's New in v0.2.2\n\n- Unified configuration handling so every `ollama.*` setting updates live in services, exports, and the UI.\n\n## What's New in v0.2.1\n\n- Ollama API host now updates live when changed via command or VS Code settings UI—no reload needed.\n\n## What's New in v0.2.0 🎉\n\n### Major Architecture Overhaul\n\n- **Enterprise-grade Dependency Injection**: Complete rewrite with DI container for better modularity\n- **Enhanced Security**: Comprehensive input validation, path security, and XSS prevention\n- **Performance Monitoring**: Built-in metrics and resource management\n- **Improved Reliability**: Automatic error recovery and retry mechanisms\n\n### Chat Experience Improvements\n\n- **Thinking Indicator**: Collapsible dropdown showing AI processing (like Cursor IDE)\n- **Stop Generation**: Ability to stop responses mid-stream\n\n### 🚀 Coming Soon\n\n- **MCP Server Support**: Native Model Context Protocol integration\n- **Smart Repository Indexing**: Automatic codebase analysis for better suggestions\n- **Enhanced Context Awareness**: Improved understanding of your project structure\n\n[See full changelog](CHANGELOG.md)\n\n## Features\n\n### AI-Powered Code Completions\n\nGet contextual code suggestions as you type, powered by your local Ollama models:\n\n- Smart context awareness (up to 1000 lines of surrounding code)\n- Multi-line code suggestions\n- Language-specific completions\n- Variable and function name awareness\n- Tab completion support\n\n![Chat Interface](media/demo/chatDemo.gif)\n\n### Interactive Chat Interface\n\nEngage with your code through:\n\n- Dedicated sidebar chat panel\n- Real-time streaming responses\n- Context-aware code discussions\n- File and workspace context integration\n\n### Privacy-Focused\n\n- All processing happens locally through Ollama\n- No data sent to external servers\n- Complete control over your models and data\n\n### Customizable Configuration\n\n- Choose from any installed Ollama model\n- Configure API host settings\n- Adjust workspace context settings\n\n## Prerequisites\n\n1. Install [Ollama](https://ollama.ai/) on your system\n2. Pull at least one model in Ollama (see [model recommendations](#model-recommendations))\n3. Make sure Ollama is running (`ollama serve`)\n\n## Quick Start\n\n1. Install the extension from VS Code marketplace\n2. Run Ollama in the background (`ollama serve`)\n3. Select a default model when prompted\n4. Start coding to see inline suggestions\n5. Use the sidebar chat for more complex queries\n\n## Model Selection\n\nChoose your model through:\n\n1. Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`)\n2. Type \"Ollama Copilot: Select Default Model\"\n3. Pick from your installed models\n\n## Recommended Models\n\nFor the best experience, we recommend:\n\n### Code Completion\n\n- `qwen:14b` - Excellent for general code completion\n- `codellama:13b` - Strong at understanding context\n- `deepseek-coder:6.7b` - Fast and efficient\n- `phind-codellama:34b` - Great for complex completions\n\n### Chat Interface\n\n- `mixtral:8x7b` - Strong reasoning and explanation\n- `llama2:13b` - Good balance of speed and capability\n- `neural-chat:7b` - Fast responses for simple queries\n\n## Installing Models\n\n```bash\n# Qwen - Powerful 14B model with strong coding capabilities\nollama pull qwen:14b\n\n# CodeLlama - Meta's specialized coding model\nollama pull codellama:13b\n\n# Mixtral - High-performance 8x7B model\nollama pull mixtral:8x7b\n\n# List all installed models\nollama list\n```\n\n## Usage Tips\n\n### Code Completion\n\n- Type normally and wait for suggestions\n- Press Tab to accept full suggestions\n- Use → (right arrow) to accept word by word\n- Clear completion cache if suggestions seem stale\n\n### Chat Interface\n\n- Click the Ollama icon in the sidebar\n- Use @ to reference files\n- Select code before asking questions\n- Toggle workspace context for broader awareness\n\n## Commands\n\nAccess via Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`):\n\n- `Ollama Copilot: Select Default Model` - Change your model\n- `Ollama Copilot: Clear Completion Cache` - Reset suggestions\n- `Ollama Copilot: Open Chat Panel` - Open chat interface\n- `Ollama Copilot: Search Available Models` - View installed models\n\n## Configuration\n\nSettings available in VS Code:\n\n- `ollama.defaultModel`: Your preferred model\n- `ollama.apiHost`: Ollama API endpoint (default: http://localhost:11434)\n\n## Troubleshooting\n\n### No Suggestions\n\n1. Verify Ollama is running (`ollama serve`)\n2. Check model is selected (Command Palette \u003e Select Default Model)\n3. Clear completion cache\n4. Ensure cursor is at a valid completion point\n\n### Performance Issues\n\n1. Try a smaller model\n2. Clear completion cache\n3. Check system resources\n4. Reduce context size if needed\n\n### Connection Issues\n\n1. Confirm Ollama is running\n2. Check `ollama.apiHost` setting\n3. Verify port 11434 is accessible\n4. Restart VS Code if needed\n\n## Support the Project ⭐\n\nIf you find Ollama Copilot helpful, please consider supporting the project:\n\n### VS Code Marketplace\n\n- **Leave a review** on the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ollama-copilot) - your feedback helps other developers discover the extension\n- **Rate the extension** to help improve its visibility\n\n### GitHub\n\n- **Star the repository** on [GitHub](https://github.com/gnana997/ollama-copilot) - it helps us understand the project's impact\n- **Share with colleagues** who might benefit from local AI-powered coding assistance\n\nYour feedback and support help us prioritize features and improvements. Every review and star makes a difference! 🙏\n\n## Contributing\n\nWe welcome contributions! Please check our [GitHub repository](https://github.com/gnana997/ollama-copilot) for:\n\n- Bug reports\n- Feature requests\n- Pull requests\n- Documentation improvements\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnana997%2Follama-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnana997%2Follama-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnana997%2Follama-copilot/lists"}