An open API service indexing awesome lists of open source software.

https://github.com/bernietv/lovable-clone

AI-powered dev toolkit that fuses Next.js 15, React 19, and an AI-first stack to auto-generate components, preview in real time, and ship ideas at lightspeed πŸš€πŸ€–πŸŽ¨βš‘
https://github.com/bernietv/lovable-clone

clerkauth docker e2b gemini inngest inngest-agent-kit neondb nextjs prisma-orm react shadcn-ui tailwindcss trpc

Last synced: about 2 months ago
JSON representation

AI-powered dev toolkit that fuses Next.js 15, React 19, and an AI-first stack to auto-generate components, preview in real time, and ship ideas at lightspeed πŸš€πŸ€–πŸŽ¨βš‘

Awesome Lists containing this project

README

          

Project Banner

# πŸ’– Lovable Clone

Lovable Clone is your AI-powered sidekick πŸ€–βœ¨ β€” built for speed πŸš€, style 🎨, and total creativity πŸ’‘. Whether you’re shipping your next big project, experimenting with wild ideas, or just vibing with some clean code, this stack’s got you. Powered by **Next.js 15** + **React 19** with a fresh **AI-first toolchain**, it’s here to make dev life way smoother and more fun 😎. From auto-generating components to real-time previews and cloud sandboxes, Lovable Clone keeps you in the flow, no matter how chaotic your brain dump is.

---

## πŸš€ Tech Stack

- **Framework:** Next.js 15 + React 19
- **Styling:** Tailwind v4 🎨 + [Shadcn/ui](https://ui.shadcn.com)
- **Type-Safe API:** [tRPC](https://trpc.io) πŸ“‘
- **Background Jobs:** [Inngest](https://www.inngest.com) πŸ”
- **AI Agent Toolkit:** Inngest agent utilities πŸ€–
- **Auth & Billing:** [Clerk](https://clerk.dev) πŸ”πŸ’³
- **Database:** Prisma ORM + [Neon](https://neon.tech) πŸ—„οΈ
- **AI Models:** OpenAI, Anthropic, Grok, Gemini 🧠
- **Execution:** [E2B Cloud Sandboxes](https://e2b.dev) πŸ–₯️ + Docker 🐳

---

## ✨ Key Features

- 🧱 **AI-Powered Component & App Generation** – Build from prompts
- πŸ—‚οΈ **Live Project Preview** – Share URLs instantly
- πŸ§ͺ **Preview + Code Explorer** – Toggle effortlessly
- πŸ” **Automated Background Jobs** – Async magic
- 🧠 **Agent Toolkit** – Workflow automation
- πŸ” **Secure Authentication** – Clerk-powered
- πŸ’³ **Billing System** – Subscription-ready
- πŸ“¦ **Database Integration** – Prisma + Neon
- 🧾 **Credit System** – Track & manage usage

---

## πŸ“‚ Folder Structure

```
.
β”œβ”€β”€ prisma/ # Database schema & migrations
β”œβ”€β”€ public/ # Static assets
β”œβ”€β”€ sandbox-templates/ # E2B/Docker sandbox configs
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ app/ # App routes & layouts
β”‚ β”œβ”€β”€ components/ # UI & shared components
β”‚ β”œβ”€β”€ config/ # App configuration
β”‚ β”œβ”€β”€ hooks/ # Custom React hooks
β”‚ β”œβ”€β”€ inngest/ # Inngest jobs & utilities
β”‚ β”œβ”€β”€ lib/ # Utilities & services
β”‚ β”œβ”€β”€ modules/ # Feature modules
β”‚ β”œβ”€β”€ trpc/ # API routers & clients
β”‚ └── types.ts # Shared types
β”œβ”€β”€ .env # Environment variables
β”œβ”€β”€ next.config.ts # Next.js config
β”œβ”€β”€ package.json # Dependencies & scripts
└── tsconfig.json # TypeScript config
```

---

## πŸ”‘ Environment Variables (`.env`)

```env
DATABASE_URL="*"

NEXT_PUBLIC_APP_URL="*"

GEMINI_API_KEY="*"

E2B_API_KEY="*"

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="*"
CLERK_SECRET_KEY="*"
NEXT_PUBLIC_CLERK_SIGN_IN_URL="*"
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL="*"
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL="*"
```

---

## πŸ› οΈ Getting Started

### 1️⃣ Clone the Repository

```bash
git clone https://github.com/BernieTv/Lovable-Clone.git
cd Lovable-Clone
```

### 2️⃣ Install Dependencies

```bash
npm install
```

### 3️⃣ Add Environment Variables

Fill in `.env` with your credentials (see above).

### 4️⃣ Run the Development Server

```bash
npm run dev
```

Then visit `http://localhost:3000` πŸš€

---

## πŸ’‘ Ideal Use Cases

- **🧱 AI-Powered App & Component Generation** β€” spin up entire features from a single prompt and look like a coding wizard.
- **πŸ—‚οΈ Live Project Preview** β€” share your build-in-progress via instant URLs, because waiting is so last season.
- **πŸ§ͺ Preview + Code Explorer Combo** β€” flip between visuals and code without breaking your flow.
- **πŸ” Automated Background Jobs** β€” let async magic handle the grind while you focus on the glow-up.

---

## πŸ“œ License

MIT License – free to use, remix, and ship πŸ’Œ

---

> πŸ’‘ **Pro Tip:** Pair with your fave AI code assistant for _chef’s kiss_ productivity.