The Copilot Alternative
GitHub Copilot is great, but the subscription adds up. Thankfully, the open-source community has built Continue.dev, an extension for VS Code and JetBrains that does exactly what Copilot does, but allows you to bring your own models.
Setting up Continue.dev
Install the extension from the VS Code marketplace. The real trick (the "jugad") is configuring the backend. Instead of paying for Claude or GPT-4, you can connect it to Ollama running locally.
Using Free APIs
If your PC isn't strong enough for local models, you can use Groq or Together AI's free tiers. Continue.dev natively supports these endpoints, giving you lightning-fast autocomplete for zero cost.