Skip to content

davidmonterocrespo24/DaveLovable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

189 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DaveLovable

The Most Advanced Open-Source AI Web Development Platform

Build React applications at lightning speed with AI-powered multi-agent orchestration

License: MIT React TypeScript FastAPI AutoGen

Features β€’ Demo β€’ Getting Started β€’ Architecture β€’ Documentation

DaveLovable Platform


πŸ† Gemini 3 Hackathon Submission

This project was created for the Gemini 3 Global Hackathon hosted by Google DeepMind and Devpost. The hackathon challenges developers to build next-generation applications using the Gemini 3 model family's enhanced reasoning capabilities, multimodal experiences, and reduced latency.

DaveLovable showcases Gemini 3's power through:

  • 🧠 Multi-agent orchestration with 40+ tools for intelligent code generation
  • 🎨 Multimodal understanding - upload design mockups and PDFs
  • ⚑ Massive context window - 1M input tokens for complex projects
  • πŸš€ Blazing-fast responses - 64K output tokens for complete applications
  • πŸ’‘ Advanced reasoning - strategic planning and adaptive problem-solving

πŸš€ What is DaveLovable?

DaveLovable is an open-source AI-powered web development platform inspired by Lovable.dev, v0 by Vercel, and Stitch by Google Labs. It combines cutting-edge AI orchestration with browser-based execution to deliver the most advanced open-source alternative for rapid frontend prototyping.

Unlike other tools, DaveLovable leverages:

  • Multi-agent AI orchestration (Microsoft AutoGen 0.7) with 40+ tools
  • Google Gemini-3 Flash Preview (1M input tokens, 64K output) for blazing-fast code generation
  • WebContainers (StackBlitz) for true Node.js runtime in the browser
  • Visual editor mode with click-to-edit and drag-to-adjust controls
  • Full Git version control with LLM-generated commit messages
  • Real-time streaming of agent thought processes

Focus: Frontend-only development (React + TypeScript + Tailwind CSS). No backend code generation.

🎬 Demo Videos

πŸš€ Full Platform Overview (2-3 minutes)

[DaveLovable Overview

  • Quick intro: "Build React apps with AI in minutes"
  • Create new project from landing page
  • AI generates initial landing page (show chat β†’ agent execution β†’ preview)
  • Quick code edit in Monaco editor
  • Switch between different device previews (mobile, tablet, desktop)

🎨 Visual Editor Mode

Visual Code Editor

Visual editing mode in action - click elements directly in the preview, modify styles in real-time with the style panel, and see changes instantly reflected in both the preview and code. Switch to custom prompt mode to use AI for complex style transformations.


πŸ“¦ Git Version Control & Time Travel

Git Integration

Built-in version control with complete commit history, diff viewer, and time-travel functionality. Every AI-generated change creates a commit with descriptive messages. Restore to any previous version instantly.


⚑ Editor & Live Preview

Editor Interface

The main editor interface featuring Monaco code editor with syntax highlighting, multi-file management, and live preview powered by WebContainers. True Node.js running in your browser with instant HMR updates and responsive device modes.


πŸ–ΌοΈ Multimodal Input

Multimodal AI

Upload design mockups, screenshots, or PDFs and ask the AI to recreate them. The AI understands images and documents, extracting layouts, styles, and data to generate accurate React components.


πŸ† Comparison: DaveLovable vs. Competitors

Feature DaveLovable Lovable.dev v0 (Vercel) Stitch (Google)
Open Source βœ… MIT License ❌ Proprietary ❌ Proprietary ❌ Proprietary
Multi-Agent System βœ… 2 agents (Planner + Coder) ❌ Single agent ❌ Single agent ❌ Single agent
Agent Tools βœ… 40+ tools (filesystem, git, terminal, web) ⚠️ Limited ⚠️ Limited ⚠️ Limited
Visual Editor βœ… Click-to-edit + drag controls ❌ Text-based only ❌ Text-based only ⚠️ Limited
WebContainer Execution βœ… Browser-based Node.js ❌ Server-side preview ❌ Server-side preview ⚠️ Unknown
Git Version Control βœ… Full git workflow + history ❌ No git ❌ No git ❌ No git
LLM-Generated Commits βœ… Auto-generated from diffs ❌ N/A ❌ N/A ❌ N/A
Gemini-3 Flash βœ… 1M input tokens ❌ Claude/GPT-4 ❌ GPT-4 βœ… Gemini (likely)
State Persistence βœ… Per-project agent memory ⚠️ Session-based ⚠️ Session-based ⚠️ Unknown
Real-Time Streaming βœ… SSE with agent interactions ⚠️ Polling-based ⚠️ Polling-based ⚠️ Unknown
Multimodal Input βœ… Images + PDFs βœ… Images βœ… Images ⚠️ Unknown
Backend Generation ❌ Frontend-only βœ… Full-stack βœ… Full-stack ⚠️ Unknown
Authentication ⚠️ In progress βœ… Full auth βœ… Full auth βœ… Full auth
Deployment ⚠️ Manual βœ… Vercel/Netlify βœ… Vercel βœ… Google Cloud

Legend: βœ… Full support β€’ ⚠️ Partial/In progress β€’ ❌ Not supported


πŸ“Έ Example Projects Built with DaveLovable

DaveLovable can generate complete, production-ready React applications in minutes. Here are some examples:

Project Management Dashboard

All Projects View

Multi-project workspace where you can manage all your AI-generated applications. Each project includes full Git history, file management, and live preview capabilities.


Social Media Platform (Facebook Clone)

Facebook Clone Example

A fully functional social media platform with modern UI, built entirely by AI in minutes. Features include responsive design, component-based architecture, and Tailwind CSS styling.

Generated features:

  • News feed layout
  • Post components with interactions
  • Navigation sidebar
  • Responsive design for mobile/tablet/desktop
  • Modern UI with gradients and shadows

Real Estate Rental Platform

House Rental Example

Complete rental property marketplace application with search, filters, and property listings. Demonstrates AI's ability to create complex, multi-section layouts.

Generated features:

  • Property search and filters
  • Card-based listing layouts
  • Hero sections with CTAs
  • Responsive grid systems
  • Professional color schemes

πŸš€ Quick Start

Prerequisites

  • Node.js: 18+ (for frontend)
  • Python: 3.8+ (for backend)
  • Git: Latest version
  • Google AI API Key: Get from Google AI Studio

Installation

1. Clone the repository

git clone https://github.com/davidmonterocrespo24/DaveLovable.git
cd DaveLovable

2. Backend Setup

cd backend

# Create virtual environment
python -m venv venv

# Activate virtual environment
# Windows:
venv\Scripts\activate
# Linux/Mac:
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Configure environment
cp .env.example .env
# Edit .env and add your GOOGLE_API_KEY

# Initialize database
python init_db.py

3. Frontend Setup

cd ../front

# Install dependencies
npm install

4. Run the Application

Terminal 1 - Backend:

cd backend
python run.py
# Backend runs on http://localhost:8000
# API docs: http://localhost:8000/docs

Terminal 2 - Frontend:

cd front
npm run dev
# Frontend runs on http://localhost:8080

5. Open in Browser

Navigate to http://localhost:8080 and start building!


πŸ“– Documentation

Environment Variables

Create backend/.env with the following variables:

# Required: Google AI API Key (get from https://aistudio.google.com/apikey)
GOOGLE_API_KEY=your_google_api_key_here

# Optional: JWT Configuration (not fully implemented)
SECRET_KEY=your_secret_key_here_change_in_production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30

# Optional: Database (defaults to SQLite)
DATABASE_URL=sqlite:///./davelovable.db

# Optional: Debug mode
DEBUG=True

# Optional: AutoGen Configuration
AUTOGEN_MAX_ROUND=20

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      FRONTEND                           β”‚
β”‚  React + TypeScript + Vite + Tailwind + shadcn/ui      β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Monaco Editorβ”‚  β”‚ Chat Panel   β”‚  β”‚ Visual Editorβ”‚ β”‚
β”‚  β”‚ (Code Edit)  β”‚  β”‚ (AI Chat)    β”‚  β”‚ (Click-Edit) β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   WebContainer Preview (Node.js in Browser)     β”‚  β”‚
β”‚  β”‚   - Vite Dev Server                             β”‚  β”‚
β”‚  β”‚   - HMR (Hot Module Replacement)                β”‚  β”‚
β”‚  β”‚   - Screenshot Capture (html2canvas)            β”‚  β”‚
β”‚  β”‚   - Visual Editor Helper (element selection)    β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚ REST API (SSE for chat)
                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      BACKEND                            β”‚
β”‚          FastAPI + SQLAlchemy + SQLite                  β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚  Multi-Agent System (Microsoft AutoGen 0.7)    β”‚   β”‚
β”‚  β”‚                                                 β”‚   β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚   β”‚
β”‚  β”‚  β”‚ Planner Agent   β”‚  β”‚    Coder Agent     β”‚  β”‚   β”‚
β”‚  β”‚  β”‚ (Strategy)      │─▢│  (Execution)       β”‚  β”‚   β”‚
β”‚  β”‚  β”‚ No Tools        β”‚  β”‚  40+ Tools         β”‚  β”‚   β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚   β”‚
β”‚  β”‚           β”‚                    β”‚               β”‚   β”‚
β”‚  β”‚           β–Ό                    β–Ό               β”‚   β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚   β”‚
β”‚  β”‚  β”‚ SelectorGroupChat (Smart Routing)     β”‚     β”‚   β”‚
β”‚  β”‚  β”‚ - Visual Edit: Direct to Coder        β”‚     β”‚   β”‚
β”‚  β”‚  β”‚ - Bug Fix: Direct to Coder            β”‚     β”‚   β”‚
β”‚  β”‚  β”‚ - Complex: Planner β†’ Coder            β”‚     β”‚   β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚       Gemini-3 Flash (Google AI)                β”‚   β”‚
β”‚  β”‚  - 1M input tokens, 64K output tokens           β”‚   β”‚
β”‚  β”‚  - Custom thought_signature client              β”‚   β”‚
β”‚  β”‚  - HTTP-level interception for function calls   β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚         Physical File System                    β”‚   β”‚
β”‚  β”‚  backend/projects/project_{id}/                 β”‚   β”‚
β”‚  β”‚  β”œβ”€β”€ .git/           (version control)          β”‚   β”‚
β”‚  β”‚  β”œβ”€β”€ package.json    (dependencies)             β”‚   β”‚
β”‚  β”‚  β”œβ”€β”€ vite.config.ts  (build config)             β”‚   β”‚
β”‚  β”‚  β”œβ”€β”€ src/            (source files)             β”‚   β”‚
β”‚  β”‚  └── .agent_state.json (agent memory)           β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Multi-Agent Workflow

User Request
    β”‚
    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   SelectorGroupChat Router       β”‚
β”‚   (Analyzes request context)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
    β”‚
    β”œβ”€β”€β”€ [VISUAL EDIT] tag? ──────────► Coder Agent (Direct)
    β”‚
    β”œβ”€β”€β”€ [BUG FIX] tag? ──────────────► Coder Agent (Direct)
    β”‚
    └─── Complex task? ───────────────► Planner Agent
                                            β”‚
                                            β–Ό
                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                    β”‚  Planner thinks   β”‚
                                    β”‚  Creates task listβ”‚
                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                            β”‚
                                            β–Ό
                                       Coder Agent
                                            β”‚
                                            β–Ό
                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                    β”‚  Executes tools:  β”‚
                                    β”‚  - write_file     β”‚
                                    β”‚  - edit_file      β”‚
                                    β”‚  - run_terminal   β”‚
                                    β”‚  - git commit     β”‚
                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                            β”‚
                                            β–Ό
                                    Files written to disk
                                            β”‚
                                            β–Ό
                                    Git auto-commit
                                            β”‚
                                            β–Ό
                                    Frontend syncs to WebContainer
                                            β”‚
                                            β–Ό
                                    Preview updates (HMR)

🎯 Use Cases

βœ… Perfect For:

  • Rapid Prototyping: Build React apps in minutes with AI assistance
  • UI/UX Exploration: Iterate on designs with visual editor + AI
  • Learning React: AI explains code and best practices
  • Component Libraries: Generate reusable components quickly
  • Landing Pages: Create marketing pages with Tailwind CSS
  • Dashboards: Build admin panels and data visualizations
  • Portfolio Projects: Showcase your work with AI-generated code

❌ Not Suitable For:

  • Backend Development: No API/database/server code generation
  • Production Applications: Authentication and deployment features in progress
  • Large Teams: No real-time collaboration (single-user only)
  • Enterprise Apps: No multi-tenancy or advanced security features

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


About

DaveLovable The Most Advanced Open-Source AI Web Development Platform Build React applications at lightning speed with AI-powered multi-agent orchestration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors