Generate websites from videos using Google Gemini AI.
- Get your Google Gemini API key from Google AI Studio
- Open
config.jsin the Codify directory - Replace
your_api_key_herewith your actual API key:const GEMINI_API_KEY_CONFIG = "your_actual_api_key_here";
- Save the file
The extension uses a local server to display generated websites. Start the server:
node server.jsKeep this server running while using the extension. The server runs on http://localhost:8765.
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the Codify directory
Note: config.js contains a placeholder API key. You must update it with your own key before using the extension.
Codify is a Chrome extension that analyzes videos of websites and generates functional, styled websites that match what you showed in the video. It uses Google's Gemini Pro API to understand the layout, styling, and interactions from video frames, then iteratively refines the generated website until it closely matches your video.
- 📹 Video Analysis: Extracts key frames from uploaded videos, focusing on interactions and navigation
- 🤖 AI-Powered Generation: Uses Google Gemini Pro to analyze frames and generate website code
- 🔄 Iterative Refinement: Automatically refines the website up to 3 times or until it reaches 95% similarity
- 🎨 Complete Code Generation: Generates HTML, CSS, and JavaScript files
- 🔍 Error Detection: Monitors console errors and automatically fixes issues
- 📸 Visual Comparison: Compares generated websites with video frames using screenshot analysis
- 🚀 Live Preview: Opens generated websites in a new tab for immediate viewing