Skip to content

Prompt2App is a Next.js web app that turns natural language (text or voice) into a live, downloadable single-file HTML app preview using AI (Google Gemini via Genkit).

License

Notifications You must be signed in to change notification settings

tanishpoddar/Prompt2App

Repository files navigation

Prompt2App

Prompt2App is a Next.js-based web application that lets you describe an app idea in natural language, then uses generative AI (Google Gemini via Genkit) to create a fully functional, single-file HTML preview of your described app. You can use both text and voice input for prompts, preview the generated app live, and download the HTML for your own use.

Features

  • AI-Powered App Generation: Converts your prompt into an interactive, single-page HTML app using Google Gemini via Genkit.
  • Voice Input: Describe your app ideas using speech (browser support required).
  • Live Preview & Download: Instantly preview the generated app and download the HTML file.
  • Modern UI: Built with Tailwind CSS and Radix UI for a responsive, accessible, and visually appealing interface.
  • No Server-Side Code in Output: All generated apps are client-side only, suitable for embedding or standalone use.

Tech Stack

  • Frontend: Next.js, React, Tailwind CSS, Radix UI
  • AI Integration: Genkit, Google Gemini (via @genkit-ai/googleai)
  • Other: TypeScript, Zod, React Hook Form, Recharts, Lucide Icons

Getting Started

  1. Install dependencies:

    npm install
  2. Run the development server:

    npm run dev

    The app will be available at http://localhost:9002 (default port).

  3. AI/Genkit Development (optional):

    • To start the Genkit AI development server:
      npm run genkit:dev
    • For hot-reloading Genkit flows:
      npm run genkit:watch

Made with ❤️ by Tanish, Nidhi & Nishant

About

Prompt2App is a Next.js web app that turns natural language (text or voice) into a live, downloadable single-file HTML app preview using AI (Google Gemini via Genkit).

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •