https://github.com/twinnydotdev/twinny
The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free.
https://github.com/twinnydotdev/twinny
artificial-intelligence code-chat code-completion code-generation codellama copilot free llama2 llamacpp ollama ollama-api ollama-chat private symmetry vscode-extension
Last synced: 10 days ago
JSON representation
The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free.
- Host: GitHub
- URL: https://github.com/twinnydotdev/twinny
- Owner: twinnydotdev
- License: mit
- Created: 2023-08-21T14:10:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-24T19:56:02.000Z (15 days ago)
- Last Synced: 2025-04-24T20:41:47.140Z (15 days ago)
- Topics: artificial-intelligence, code-chat, code-completion, code-generation, codellama, copilot, free, llama2, llamacpp, ollama, ollama-api, ollama-chat, private, symmetry, vscode-extension
- Language: TypeScript
- Homepage: https://twinny.dev
- Size: 61 MB
- Stars: 3,473
- Watchers: 21
- Forks: 192
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- StarryDivineSky - twinnydotdev/twinny
- awesome - twinnydotdev/twinny - The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free. (TypeScript)
- awesome-AI-driven-development - twinny - The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but completely free and 100% private. (Uncategorized / Uncategorized)
README
# Twinny
Twinny is a free AI extension for Visual Studio Code, offering powerful AI-assisted coding features.
## Supported Providers
- localhost OpenAI/Ollama Compatible API (default)
- [OpenAI](https://openai.com)
- [Anthropic](https://www.anthropic.com)
- [OpenRouter](https://openrouter.ai)
- [Deepseek](https://www.deepseek.com)
- [Cohere](https://www.cohere.ai)
- [Mistral AI](https://mistral.ai)
- [Perplexity](https://www.perplexity.ai)
- [Groq](https://groq.com)## 🚀 Getting Started
For a quick start guide, visit our [documentation](https://twinnydotdev.github.io/twinny-docs/).
## Main Features
### Fill in the Middle Code Completion
Twinny provides AI-powered real-time code suggestions to enhance your coding experience.### Chat with AI About Your Code
Use the sidebar to discuss your code with AI, getting explanations, tests, refactoring suggestions, and more.### Additional Features
- Online and offline operation
- Customizable API endpoints
- Preserved chat conversations
- OpenAI API standard compliance
- Single and multiline fill-in-the-middle completions
- Customizable prompt templates
- Git commit message generation
- Easy installation via VS Code marketplace
- Configurable settings (API provider, model, port, path)
- Direct code solution acceptance
- New document creation from code blocks
- Side-by-side diff view
- Full-screen chat mode
- Code solution block copying
- Workspace embeddings for context-aware assistance
- Symmetry network integration for P2P AI inference### Workspace Embeddings
Twinny uses workspace embeddings to provide context-aware AI assistance, improving the relevance of suggestions.### Symmetry Network
A decentralized P2P network for sharing AI inference resources, enhancing the capabilities of Twinny.## Known Issues
For troubleshooting and known issues, please check our GitHub [issues page](https://github.com/rjmacarthy/twinny/issues).
## Contributing
We welcome contributions! Please contact us via [Twitter](https://x.com/twinnydotdev), describe your proposed changes in an issue, and submit a pull request. Twinny is MIT licensed.
## Support Twinny
Twinny is free and open-source. If you'd like to support the project, donations are appreciated:
Bitcoin: `1PVavNkMmBmUz8nRYdnVXiTgXrAyaxfehj`For updates, follow us on Twitter: https://x.com/twinnydotdev
## Disclaimer
Twinny is actively developed and provided "as is". Functionality may vary between updates.