twinnydotdev/twinny
The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free.
About twinnydotdev/twinny
twinnydotdev/twinny is an open-source project on GitHub, mainly written in TypeScript. The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free. It currently holds 3,650 stars and 229 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).
Project Overview
AI Homed tracks it on the Local & On-Device AI board.
GitHub Repository Details
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
- Anthropic
- OpenRouter
- Deepseek
- Cohere
- Mistral AI
- Perplexity
- Groq
🚀 Getting Started
For a quick start guide, visit our documentation.
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
Workspace Embeddings
Twinny uses workspace embeddings to provide context-aware AI assistance, improving the relevance of suggestions.Teams: one gateway for everyone
Run your models on one machine and use them from VS Code on every other:npx twinny-server quickstart finds your model server, makes an admin key and serves. From its admin page you set the team's default models, invite each developer with a link that opens VS Code and connects them, and see usage per person and per model. Free for teams of five; a licence adds seats, team policy and recording. See the teams guide and docs/gateway.md.
Known Issues
For troubleshooting and known issues, please check our GitHub issues page.
Contributing
We welcome contributions! Please contact us via Twitter, 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.