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.1.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.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genui_ai-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3f6520332de27109edfbc5bf979d183185316c3501e8a43a2687f0f984dd3cf8
MD5 a570bd443d421c864126b96255db2e4e
BLAKE2b-256 71cc83d4bb537f01a2f803b2860070c5c6b4f44bbe0fcdcd8b3d99c19162fae8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genui_ai-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdd71b6292b376db6764e70f2085cf7b18f3a884b9f986f12af9d50767382de
MD5 8795ac08e2784fa7cd1ef21c8c4c9f49
BLAKE2b-256 3ce6a0178440de9584aaa6869977b5f4aacef300481164ca52c4c6b54d53264a

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