Level up when you code with AI. Devibe is an "Anti-Vibe-Coding" enforcer designed to ensure developers actually comprehend the code they generate with AI assistants. It works within VS Code, intercepting blind copy-pasting or fast auto-generations, completely obscuring the code, and forcing you to understand it through dynamic LLM-generated challenges before you can commit or read it again.
- Event-Driven Interception: Actively listens to your VS Code text buffers. If you paste or auto-generate
3+lines of code in milliseconds, Devibe instantly categorizes it as "Unverified AI Code." - Code Obscurity: The intercepted code is instantly wrapped in a dashed border and its opacity drops to
0%. You literally cannot read your own AI code in the editor until you prove you understand it. - Dynamic Comprehension Challenges: Google's Gemini LLM generates 2-5 context-aware, highly specific code challenges based directly on the complexity of your snippet. Question types include explain, modify, and predict (multiple choice).
- LLM Jury Validation: When you submit your answers, Gemini evaluates your deep understanding. Score 60%+ to pass and unlock your code. Skip questions to bypass them, but risk failing the sequence!
- RPG Gamification System: Earn XP for every validation sequence passed. Climb the Global Leaderboard, level up your dynamic UI Shield, and maintain your Consecutive Passing Streak. All XP is stored server-side — no local manipulation possible.
- 🏆 Global Leaderboard: Compete with developers worldwide. Rankings are synced in real-time to a cloud backend, showing GitHub avatars, levels, XP, and streaks. Top 3 earn medal badges (🥇🥈🥉).
- GitHub Authentication (Required): Sign in with your GitHub account to access Devibe. Authentication is mandatory — a sleek login screen greets first-time users. Your identity is tied to VS Code's native GitHub OAuth — one-click, zero friction.
- Auto-Enforcing Git Hook: Devibe automatically installs a
pre-commithook when it catches you pasting AI code. Try togit commitwith unverified code? Your shell will reject the commit and force you back to validate. - Persistent State: Devibe records unverified lines to
.devibe/locked.jsonwithin your active workspace. Restarting your IDE won't save you. - The Pause Toggle: Toggle Devibe on/off from the VS Code Status Bar or the in-app Settings panel — both stay in sync. Devibe prevents you from pausing if you currently have unverified locked files.
- ⚙️ Settings Panel: Access via the gear icon in the header. Manage your Gemini API key (masked, encrypted) and toggle code protection on/off — all without leaving the Devibe panel.
- Secure API Storage: Uses native VS Code
SecretStorageto encrypt and store your Gemini API key locally. Configurable from the Settings panel.
Devibe's listener and challenge generation works with any language Gemini can analyze, including:
Python🐍JavaScript💛TypeScript💙TSX / JSX⚛️Go,Rust,Java,C#, and more — Gemini handles them all.
Devibe is a self-contained VS Code extension with zero external dependencies:
- Webview Dashboard: Built in React/Tailwind/Vite with a modern light-mode UI, popover HUDs, smooth animations, and tab navigation (Validation + Leaderboard).
- Extension Core (
extension.ts): Injects VS Code EditorDecorations, listens toonDidChangeTextDocumentfor AI code interception, manages workspace state, handles GitHub OAuth, and communicates with Gemini via the@google/generative-aiNode.js SDK. All gamification data (XP, level, streak) is stored exclusively in the cloud. - Gemini Service (
gemini.ts): Direct TypeScript integration with Google's Gemini 2.5 Flash for challenge generation and answer validation. No Python subprocess — all native Node.js. - Leaderboard Service (
leaderboard.ts): Syncs scores to a Supabase (PostgreSQL) cloud backend via REST API for global rankings. Serves as the sole source of truth for all user XP data.
- Leaderboard Table: Stores GitHub identity, XP, level, streak, and timestamps for all Devibe users worldwide.
- Row Level Security: Public read access for leaderboard display, authenticated write access for score updates.
- VS Code (v1.85+)
- A GitHub account (for authentication)
- A Google Gemini API Key
- Download the latest
.vsixfile from Releases - Open VS Code → Extensions →
...menu → Install from VSIX - Open any project and start coding with an AI assistant
- When Devibe detects AI code, sign in with GitHub (required on first launch)
- Set your Gemini API key via the ⚙️ gear icon in the Devibe panel
- Prove your understanding, earn XP, and climb the leaderboard!
- Clone the Repo:
git clone https://github.com/Zemulax/devibe.git cd devibe - Install Extension Dependencies:
cd vscode-devibe npm install - Build the React Webview:
cd webview-ui npm install npm run build - Compile the Extension:
cd ../ npm run compile - Launch Dev Host: Press
F5in VS Code to test.
cd vscode-devibe
vsce package --no-dependenciesThis generates a .vsix file that can be installed on any machine. No Python, no pip, no virtual environments — just install and go.
While Devibe v1.0 perfectly acts as an aggressive "bouncer" for pasted AI code, the next major release will focus on comprehensive code auditing:
- Pre-Deploy Devibe Exam: A new "Deployment Audit" mode that scans your
git diffagainst yourmainbranch. Before allowing you to push or merge, Devibe will randomly sample modified files across your entire PR and generate a multi-file comprehension test. You must prove you understand the complete architecture of the features you just built before they ship. - Team Leaderboards: Private group leaderboards to challenge your colleagues and see who relies least on blind copying.
- Custom LLM Selection: Modular support for Anthropics's Claude 3.5 Sonnet, OpenAI's GPT-4o, and local models via Ollama.
- GitHub OAuth: We only request
read:userscope — your public profile. No repository access. - Gemini API Key: Stored locally using VS Code's encrypted
SecretStorage. Never transmitted anywhere except to Google's API. - Leaderboard Data: Only your GitHub username, avatar URL, XP, level, and streak are stored in the cloud.
You win. But you also lose. The point of Devibe is intrinsic motivation. It is the ultimate personal trainer for software engineers surviving the AI age. Don't skip leg day.