Skip to main content

AI-powered UI generator that creates production-grade HTML/CSS/JS from a single prompt

Project description

GEN-UI ๐ŸŽจ

AI-powered UI generator that creates production-grade HTML, CSS, JS interfaces from a single line prompt

PyPI version License: MIT Python 3.8+

๐Ÿš€ What is GEN-UI?

GEN-UI takes a text prompt and automatically:

  1. Searches the web for UI design references
  2. Scrapes the best result for style inspiration
  3. Generates a complete production-grade HTML/CSS/JS file
  4. Opens it instantly in your browser

โœจ Example Outputs

  • ๐Ÿš— Luxury car dealership website with real photos
  • ๐Ÿš€ Space tourism booking platform with live countdown
  • ๐ŸŽต Spotify clone with music player
  • ๐Ÿ’Ž 3D creative agency portfolio with animations
  • ๐Ÿ’ฐ Cryptocurrency exchange platform
  • ๐Ÿ“ธ Instagram clone with stories and feed
  • ๐Ÿจ 5-star hotel booking website
  • ๐ŸŽฌ Netflix-style streaming platform

โšก Installation

pip install genui-ai

๐Ÿ”‘ Setup

Create a .env file in your working directory: Get your free API key at cloud.cerebras.ai โ€” no credit card required!

โ–ถ๏ธ Run

genui

๐Ÿ’ก Example Prompts

Build a luxury car dealership with dark theme and gold accents Create a space tourism booking website with animated starfield Make a Spotify clone with music player and equalizer Build a crypto exchange platform like Binance Create a 3D creative agency portfolio with glassmorphism Build a Netflix clone with movie cards and subscription plans Create an Instagram clone with stories and post feed

๐Ÿ› ๏ธ Tech Stack

+-------------------------------------------------+

Component Technology
AI Provider Cerebras API
Primary Model qwen-3-235b-a22b-instruct-2507
Fallback Model llama3.1-8b
Web Search DuckDuckGo (DDGS)
Scraping BeautifulSoup4
UI Rich Console
+-------------------------------------------------+

โšก Architecture

User Prompt โ†“ Web Search (DuckDuckGo) โ†“ Scrape Best URL (BeautifulSoup) โ†“ Generate HTML/CSS/JS (Cerebras AI) โ†“ Save & Open in Browser

๐Ÿ“ Project Structure

GEN-UI/ โ”œโ”€โ”€ genui/ โ”‚ โ”œโ”€โ”€ init.py โ”‚ โ””โ”€โ”€ UI.py โ”œโ”€โ”€ outputs/ # Generated HTML files โ”œโ”€โ”€ .env # API keys (not committed) โ”œโ”€โ”€ .gitignore โ”œโ”€โ”€ LICENSE โ”œโ”€โ”€ README.md โ”œโ”€โ”€ setup.py โ””โ”€โ”€ pyproject.toml

๐Ÿ”„ Changelog

  • v1.0.0 - Pipeline architecture with Cerebras

๐Ÿค Contributing

Pull requests are welcome! For major changes please open an issue first.

๐Ÿ“„ License

MIT License โ€” see LICENSE file for details

๐Ÿ‘จโ€๐Ÿ’ป Author

Parin โ€” @parin0127-png


โญ If you found this useful, please star the repo!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genui_ai-1.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genui_ai-1.0.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file genui_ai-1.0.2.tar.gz.

File metadata

  • Download URL: genui_ai-1.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for genui_ai-1.0.2.tar.gz
Algorithm Hash digest
SHA256 145cc075a5156fa2246f14522363d840784c5cf49ed7aeaa1b241135f00405e8
MD5 ece7d22ce10b56f645e1f8e5f605c00b
BLAKE2b-256 c0d454d28ca6c50a97dc9e522eae0d72a5da37c09b1279af21c991d8bb13a5e9

See more details on using hashes here.

File details

Details for the file genui_ai-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: genui_ai-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for genui_ai-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dde90b579cfcbf5c5e330a7cca2909eb05e3928c5b7717bc0aed2732bca1e91b
MD5 d6c75297bf1342b4e6152d4d73eebea6
BLAKE2b-256 cb8d867459b440d1338020237e71d66d7f58ab393b50506b6bea1cfe06d7e088

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page