Skip to content

Jefreesujit/nova-builder

NovaBuilder

An Open-Source AI Site Builder & Hosting Platform

Version License: MIT Stack: Next.js 16 Database: Supabase AI: Gemini 2.0

NovaBuilder is a comprehensive, open-source platform for generating and hosting AI-powered web applications. It serves as a single-repo solution for both building sites and serving them via custom subdomains.

Implementation PlanContributingCode of ConductGetting StartedArchitecture


🏗️ Architecture: The Next.js Monolith

NovaBuilder has evolved from a simple Vite app into a robust Next.js application designed for scale and multi-tenancy.

  • The Builder (app.novabuilder.com): The primary interface for users to prompt, iterate, and manage their AI projects.
  • The Sites (*.novabuilder.app): User projects are served dynamically via Next.js Middleware Rewrites, providing a seamless "published" experience without external hosting fees.
  • The Engine: Powered by Gemini 3.0 Models for high-speed, context-aware code generation.

✨ Features

  • 💬 Dynamic AI Generation: Real-time site building from natural language prompts.
  • 📂 Native Context Support: Attach PDFs, documentation, or brand guidelines to guide the AI.
  • 🌐 Project Hosting: Instant subdomain deployment for every project.
  • Persistent Workspace: Projects are securely stored in Supabase (Postgres JSONB).
  • 🔐 Enterprise-Ready Auth: Secure session management via NextAuth.js and Supabase.
  • 🌑 Premium DX: Sleek dark-mode interface with a focus on developer experience.

🛠️ Tech Stack

🏁 Getting Started

Prerequisites

Installation

  1. Clone and Install:

    git clone https://github.com/jefreesujit/nova-builder.git
    cd nova-builder
    npm install
  2. Environment Setup: Create a .env.local file:

    # AI
    GEMINI_API_KEY=your_key_here
    
    # Database (Supabase)
    NEXT_PUBLIC_SUPABASE_URL=your_url
    NEXT_PUBLIC_SUPABASE_ANON_KEY=your_key
    SUPABASE_SERVICE_ROLE_KEY=your_key
    
    # Authentication
    AUTH_SECRET=your_secret
    AUTH_GITHUB_ID=...
    AUTH_GITHUB_SECRET=...
  3. Run for Development:

    npm run dev

Local Subdomain Testing

To test subdomains locally, you can use the path-based fallback:

  • Builder: localhost:3000/dashboard
  • Project Site: localhost:3000/sites/[subdomain]

For full production simulation, edit your /etc/hosts:

127.0.0.1 app.novabuilder.localhost
127.0.0.1 user-site-1.novabuilder.localhost

📄 License

NovaBuilder is open-source software licensed under the MIT License.


Built for the community. Star us on GitHub to support open-source AI.

About

A simple Vibe coding website creation platform

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages