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



