A powerful No-Code / Low-Code platform that allows users to generate, edit, and publish websites using Artificial Intelligence. Built with React, Google Gemini, and Netlify.
- Natural Language Generation: Describe your website (e.g., "Make a portfolio for a photographer"), and the AI writes the HTML, CSS, and JS instantly.
- Iterative Refinement: Chat with the AI to change colors, add sections, or fix bugs.
- Visual Editor: A Drag-and-Drop interface to rearrange elements without touching code.
- Code Editor: A split-screen Monaco-style editor for developers who want full control.
- Live Preview: See changes update instantly as you type or drag.
- Multi-Project Support: Create, save, and switch between multiple different websites.
- Auto-Save: Your work is automatically saved to your browser's local storage—never lose progress.
- Instant Publishing: Deploy your website to a live URL (e.g.,
https://my-site.netlify.app) in seconds. - Smart Updates: If you deploy to the same name again, it updates the existing site instead of creating a new one.
- Frontend: React.js, Vite
- UI Library: Material UI (MUI)
- AI Model: Google Gemini API
- Deployment: Netlify API
- Utilities: JSZip (for bundling), Html-React-Parser (for visual editing)
Follow these steps to run the project locally.
- Node.js installed (v16 or higher)
- A Google Gemini API Key
-
Clone the repository
git clone [https://github.com/YOUR_USERNAME/ai-website-builder.git](https://github.com/YOUR_USERNAME/ai-website-builder.git) cd Intellibuild -
Install dependencies
npm install
-
Setup Environment Variables Create a
.envfile in the root directory and add your API key:VITE_GEMINI_API_KEY=your_google_gemini_api_key_here
-
Run the App
npm run dev
Open
http://localhost:5173in your browser.
- Create a Project: Click "New Project" in the sidebar.
- Generate Code: Type a prompt like "Create a landing page for a coffee shop" in the chat box.
- Edit: * Click "Visual" to drag and drop sections.
- Click "Code" to manually tweak HTML/CSS.
- Deploy: Click "Deploy Live", enter a site name (e.g.,
coffee-shop-demo) and your Netlify Access Token.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the Visual Editor or add support for more AI models.