Build Stunning Websites with AI Assistance
Transform your ideas into fully functional websites using cutting-edge AI technology.
🌟 AI Website Builder is a cutting-edge platform that revolutionizes web development by combining the power of Gemini Flash 2.0 AI with modern web technologies. Transform your ideas into fully functional, beautiful websites using natural language - no coding experience required!
1️⃣ Clone & Install
# Clone the repository
git clone https://github.com/Ratna-Babu/ai-website-builder.git
# Navigate to project directory
cd ai-website-builder
# Install dependencies
npm install
# or
yarn install
# or
pnpm install2️⃣ Environment Setup
Create a .env.local file in the root directory:
# AI Configuration
GEMINI_API_KEY=your_gemini_api_key_here
# Convex Configuration
NEXT_PUBLIC_CONVEX_URL=your_convex_deployment_url
3️⃣ Start Development
# Start the development server
npm run dev
# In a new terminal, start Convex
npx convex dev
# Open http://localhost:3000graph TB
A[User Interface] -->|Requests| B[Next.js App Router]
B --> C[API Routes]
C --> D[Gemini AI API]
C --> E[Convex Backend]
E --> F[(Real-time Database)]
D -->|AI Response| C
E -->|Live Updates| B
B -->|Server Components| G[React Components]
G --> H[Tailwind Styling]
style A fill:#f9f,stroke:#333,stroke-width:4px
style D fill:#4285F4,stroke:#333,stroke-width:2px
style E fill:#FF6F61,stroke:#333,stroke-width:2px
📁 Folder Structure
ai-website-builder/
│
├── 📂 app/ # Next.js 14 App Router
│ ├── 📂 api/ # API endpoints
│ ├── 📂 (routes)/ # Page routes
│ └── 📄 layout.tsx # Root layout
│
├── 📂 components/ # React Components
│ ├── 📂 ai/ # AI-related components
│ ├── 📂 ui/ # UI components
│ └── 📂 layouts/ # Layout components
│
├── 📂 lib/ # Utilities
│ ├── 📄 ai-client.ts # AI integration
│ └── 📄 utils.ts # Helper functions
│
├── 📂 convex/ # Backend
│ ├── 📄 schema.ts # Database schema
│ └── 📄 functions.ts # Server functions
│
├── 📂 styles/ # Styling
│ └── 📄 globals.css # Global styles
│
└── 📂 public/ # Static assets|
Your Prompt: |
AI Generates:
|
| Variable | Description | Required |
|---|---|---|
GEMINI_API_KEY |
Your Gemini API key | ✅ Yes |
NEXT_PUBLIC_CONVEX_URL |
Convex deployment URL | ✅ Yes |
We love contributions! Please see our Contributing Guide for details.
gitGraph
commit id: "Fork Repository"
branch feature
checkout feature
commit id: "Create Feature"
commit id: "Write Tests"
commit id: "Update Docs"
checkout main
merge feature id: "Open PR"
commit id: "Merged! 🎉"
Special thanks to these amazing projects and teams:
| Project | Description |
|---|---|
| Google Gemini | For powerful AI capabilities |
| Vercel | For seamless deployment platform |
| Convex | For real-time backend infrastructure |
| Next.js | For the amazing React framework |
| Tailwind CSS | For beautiful utility-first CSS |
Made with ❤️ by Ratna Babu and contributors



