Skip to content

Lazy AI Website Builder is an intelligent coding agent that transforms simple text prompts into fully functional websites.

Notifications You must be signed in to change notification settings

deekshithgowda85/Lazy

Repository files navigation

Lazy AI Website Builder

🚀 Lazy AI Website Builder

Transform text prompts into fully functional, production-ready websites in seconds.



🪄 Overview

Lazy AI Website Builder is an intelligent coding agent that transforms simple text prompts into fully functional websites.
This revolutionary platform streamlines web development workflows by automating code generation, execution, and deployment, enabling developers and non-developers to create production-ready websites in seconds.



🔥 Features

  • 🤖 AI-Powered Generation – Leverages Google Gemini API to generate websites from text prompts.
  • 🔒 Secure Code Execution – Integrated E2B Sandbox ensures safe and reliable execution.
  • Instant Deployment – Build and deploy with one click using Vercel.
  • 🧩 Modern Tech Stack – Built for scalability and performance with Next.js 14 & Prisma.
  • 🔑 User Authentication – Seamless auth and project control with Clerk.
  • 🛠️ Background Processing – Reliable job management using Inngest.

🛠️ Tech Stack

Layer Technology
Frontend Next.js TailwindCSS
Backend Prisma TypeScript
Database PostgreSQL
AI Integration Google Gemini
Code Execution E2B
Authentication Clerk
Background Jobs Inngest
Deployment Vercel


📦 Installation

🔑 Prerequisites

  • Node.js (v18+)
  • PostgreSQL
  • Google Gemini API key
  • E2B API key
  • Clerk account

⚙️ Setup Instructions

# Clone the repository
git clone https://github.com/deekshithgowda85/lazy-ai-website-builder.git
cd lazy-ai-website-builder

# Install dependencies
npm install
# or
yarn install
# or
pnpm install

Create a .env.local file:

# Database
DATABASE_URL=your_postgresql_connection_string

# Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key

# AI Services
GEMINI_API_KEY=your_gemini_api_key
E2B_API_KEY=your_e2b_api_key

# Background Jobs
INNGEST_EVENT_KEY=your_inngest_event_key
INNGEST_SIGNING_KEY=your_inngest_signing_key

Run database setup:

npx prisma migrate dev
npx prisma generate

Start the development server:

npm run dev

Your app will be available at: http://localhost:3000


🔗 Deployment


📡 API Documentation

Endpoint Method Description
/api/generate POST Generate website from text prompt
/api/deploy POST Deploy generated website
/api/projects GET Retrieve user projects
/api/projects/[id] GET/PUT/DELETE Manage a specific project

📂 Detailed documentation is available in the docs/ directory.


🧪 Testing

# Run all tests
npm test

# Watch mode
npm run test:watch

📊 Performance Metrics

Metric Value
Automation of manual coding tasks 80%+
Faster prototyping 95%
Average generation time 15–30 seconds
Uptime 99.9% with Vercel

🤝 Contributing

Contributions are welcome!

# Fork and create a branch
git checkout -b feature/AmazingFeature

# Commit your changes
git commit -m "Add AmazingFeature"

# Push and submit PR
git push origin feature/AmazingFeature

📜 License

This project is licensed under the MIT License.


🙏 Acknowledgments

  • Google Gemini for AI code generation
  • E2B for secure sandbox execution
  • Vercel for seamless deployments
  • Clerk for authentication solutions

Made with ❤️ by Lazy AI

About

Lazy AI Website Builder is an intelligent coding agent that transforms simple text prompts into fully functional websites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published