Powered by Gemini + Groq + RAG — 100% Free, no credit card ever needed
CodeMorph AI is a VS Code extension that helps you write cleaner, more
understandable code and instantly see how it translates across frameworks.
Two superpowers in one extension
1. Cognitive Load Reducer
Select any code → get a complexity score (0–100) → see a simplified version
that is easier to read, understand, and maintain — with an explanation of
every single change.
2. Cross-Framework Translator
Select any code → see it translated to React, Vue 3, Angular, Svelte, and
Vanilla JS — side by side — with an explanation of how each framework thinks
differently about the same problem.
How to use it
Select any code in your editor
Right-click → "Analyze Cognitive Complexity" or "Translate to Other Frameworks"
OR press Cmd+Shift+M (Mac) / Ctrl+Shift+M (Windows/Linux)
The CodeMorph panel opens beside your editor with the full analysis
Setup (2 minutes, both APIs are free)
Get a free Gemini API key at aistudio.google.com
(no credit card — just sign in with Google)
Get a free Groq API key at console.groq.com
(no credit card — just sign up with email)
Press Ctrl+Shift+P → "CodeMorph AI: Set API Keys" → paste your keys
Done. Select code and use it!
What makes this different
RAG-powered: Uses Retrieval-Augmented Generation to reference a
database of 200+ real code patterns, making the analysis much more
accurate than plain AI calls
Dual AI fallback: Gemini 1.5 Flash as primary, Groq Llama-3.1-70B
as automatic fallback — if one is slow, the other takes over
Works on everything: JavaScript, TypeScript, Python, Java, Go, Rust,
and any language your code is in
100% Free: Both APIs have generous free tiers that cover normal use
Features
Complexity score (0–100) with letter grade (A through F)
Simplified code with diff view (see exactly what changed)
Explanation of every simplification in plain English