Skip to content

EMN90909/AI-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ AI-Powered Website Builder

Build Stunning Websites with AI Assistance

Transform your ideas into fully functional websites using cutting-edge AI technology.

License MIT Last Commit Top Language Languages Repo Size

About The Project

Preview 1
Real-time Code Generation
Preview 2
In-built Live Preview

๐ŸŒŸ 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!

โš ๏ธ Note: The deployed live preview may not work as expected because code generation takes longer than Vercelโ€™s API timeout limits.

Features


AI-Powered Magic

Modern Development

Developer Experience
๐Ÿง  Smart Content Generation
๐ŸŽฏ Natural Language to Code
๐Ÿ’ก Intelligent Suggestions
๐Ÿ”ฎ Component Synthesis
โšก Lightning Fast
๐ŸŽจ Beautiful by Default
๐Ÿ”„ Real-time Updates
๐Ÿ“ฑ Fully Responsive
๐Ÿ› ๏ธ Export Ready
๐ŸŒ— Theme Switcher
๐Ÿ”ง Customizable
๐Ÿ“Š SEO Optimized

Tech Stack

๐ŸŽฏ Core Technologies

Core Tech

๐Ÿค– AI & Backend

Gemini Convex

๐Ÿ› ๏ธ Tools & Libraries

Tools

Quick Start

๐Ÿ“‹ Prerequisites

Node.js
Node Version

Package Manager
npm

Gemini API
API Key

๐Ÿš€ Installation

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 install
2๏ธโƒฃ 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:3000

Project Architecture

graph 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
Loading
๐Ÿ“ 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

Usage Examples

๐Ÿ’ฌ Natural Language to Website

Your Prompt:

"Create a modern landing page for a 
SaaS product with a hero section, 
features grid, and pricing cards"

AI Generates:

  • โœ… Complete React Components
  • โœ… Responsive Tailwind Styling
  • โœ… SEO-Optimized Content
  • โœ… Interactive Elements

Deployment

๐Ÿš€ Deploy to Vercel

Deploy with Vercel

๐Ÿ”ง Environment Variables Required

Variable Description Required
GEMINI_API_KEY Your Gemini API key โœ… Yes
NEXT_PUBLIC_CONVEX_URL Convex deployment URL โœ… Yes

Contributing

We love contributions! Please see our Contributing Guide for details.

๐ŸŒŸ How to Contribute

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! ๐ŸŽ‰"
Loading

๐Ÿ‘ฅ Contributors

Support & Community

๐Ÿ’ฌ Get Help

Discussions Issues

โญ Show Your Support

Give a โญ if this project helped you!

GitHub stars

Acknowledgments

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

footer
โฌ† Back to Top

Made with โค๏ธ by Ratna Babu and contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

โšก