GenUI is an innovative tool that allows users to instantly generate fully functional and responsive webpages by simply providing prompts. The AI takes care of the HTML, CSS, and JavaScript, enabling rapid prototyping and creative web development without writing code manually.
- ⚡ Blazing Fast: Built with Vite for a fast and modern development experience.
- 🤖 AI-Powered: Leverages the Gemini API for intelligent, context-aware code generation.
- 🎨 Production Ready: Generates responsive, high-quality webpages from simple text prompts.
- 🔄 Live Preview: Watch your generated web pages come to life instantly with real-time previews.
- 🖥️ Developer Friendly: Features a minimal, clean, and intuitive interface.
- Frontend: React, Vite
- AI Integration: Google Gemini API
- Styling: Tailwind CSS / Bootstrap
Follow these steps to set up the project locally on your machine.
Ensure you have Node.js and npm installed on your system.
-
Clone the repository
git clone https://github.com/pratiktawhare/genui.git
-
Navigate to the project directory
cd ai-webpage-generator -
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the root directory and add your Gemini API key:VITE_GEMINI_API_KEY=your_api_key_here
-
Start the development server
npm run dev
- Open the application in your browser (usually
http://localhost:5173). - Enter a descriptive prompt of the webpage you want to build.
- Click generate, and watch the AI create your webpage! 🎉
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request