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.0.tar.gz (7.4 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.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genui_ai-1.0.0.tar.gz
  • Upload date:
  • Size: 7.4 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.0.tar.gz
Algorithm Hash digest
SHA256 d6d7fa24c355fabb572abe60140c41e6f046b2843fa4ee5f67f114a2519aec62
MD5 cfe917b241ba732be0678c1f0a15ae25
BLAKE2b-256 1c44cecc639d3161fff1d4c70d80a38627ecd1e6d486bd42234275115006598a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genui_ai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdb5ea0d4cb28d0b92ef83652c658cf058cdaf40a1fde0526783ee86f85f1ca6
MD5 45f82bb46338b37c1a8c9a30dce38c07
BLAKE2b-256 b99376faf868f53ebd86c8c2ddcf225e27bdd2515076a6e2d5b68be7ac01c185

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