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
๐ What is GEN-UI?
GEN-UI takes a text prompt and automatically:
- Searches the web for UI design references
- Scrapes the best result for style inspiration
- Generates a complete production-grade HTML/CSS/JS file
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
145cc075a5156fa2246f14522363d840784c5cf49ed7aeaa1b241135f00405e8
|
|
| MD5 |
ece7d22ce10b56f645e1f8e5f605c00b
|
|
| BLAKE2b-256 |
c0d454d28ca6c50a97dc9e522eae0d72a5da37c09b1279af21c991d8bb13a5e9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dde90b579cfcbf5c5e330a7cca2909eb05e3928c5b7717bc0aed2732bca1e91b
|
|
| MD5 |
d6c75297bf1342b4e6152d4d73eebea6
|
|
| BLAKE2b-256 |
cb8d867459b440d1338020237e71d66d7f58ab393b50506b6bea1cfe06d7e088
|