A sophisticated Python CLI tool that automatically generates conversion-optimized frontend landing pages using professional UX design thinking methodology
Project description
CCUX — Claude Code UI Generator
A sophisticated Python CLI tool that automatically generates conversion-optimized frontend landing pages using professional UX design thinking methodology. Leverages Claude AI to implement a comprehensive 12-phase design process used by professional UX agencies.
✨ What it does
- Automated Competitive Research: Discovers 3 competitor websites and design showcases
- Screenshot Analysis: Captures and analyzes competitor landing pages for design patterns
- Professional Design Process: 12-phase UX methodology including user research, wireframing, and visual design
- Strategic Copy Generation: Creates conversion-optimized copy based on competitive analysis
- Code Generation: Outputs production-ready HTML or React components with TailwindCSS styling
- Section Management: Regenerate specific sections or change themes without rebuilding
🧰 Prerequisites
- Python 3.9 or higher
- Claude CLI tool installed and configured
- macOS/Linux/Windows (WSL recommended for Windows)
🚀 Setup and Installation
# 1. Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# 2. Install package in development mode
pip install -e .
# 3. Initialize Playwright browsers (required for screenshot capture)
ccux init
# 4. Generate your first landing page
ccux gen --desc "AI-powered project management tool"
📋 Commands
ccux init
Initialize CCUX by installing Playwright browsers.
Usage: ccux init
Example:
ccux init
ccux gen
Generate a conversion-optimized landing page using AI-powered design thinking.
Usage: ccux gen [OPTIONS]
Options:
--desc, -d TEXT: Product description--desc-file FILE: Load description from text file--url, -u URL: Reference URLs (can use multiple times, max 3)--framework, -f [html|react]: Output framework (default: html)--theme, -t [minimal|brutalist|playful|corporate|morphism|animated|terminal|aesthetic|dark|vibrant|sustainable|data|illustrated]: Design theme (default: minimal)--no-design-thinking: Skip design thinking for faster generation--output, -o DIR: Output directory
Examples:
# Interactive mode (recommended)
ccux gen
# Quick generation without design thinking
ccux gen --desc "AI project management tool" --no-design-thinking
# Full analysis with custom references and theme
ccux gen --url https://linear.app --desc "Project management tool" --theme brutalist
# Load from file with React output
ccux gen --desc-file product_desc.txt --framework react --theme corporate
ccux regen
Regenerate specific sections of an existing landing page.
Usage: ccux regen [OPTIONS]
Options:
--section, -s TEXT: Sections to regenerate (comma-separated)--all: Regenerate all sections--desc, -d TEXT: Product description--file, -f FILE: Path to landing page file--output, -o DIR: Output directory
Examples:
# Regenerate hero section
ccux regen --section hero
# Regenerate multiple sections
ccux regen --section hero,features,pricing
# Regenerate all sections
ccux regen --all
ccux theme
Change the design theme of an existing landing page.
Usage: ccux theme THEME [OPTIONS]
Options:
--file, -f FILE: Path to landing page file--output, -o DIR: Output directory
Examples:
# Change to brutalist theme
ccux theme brutalist
# Change theme for specific file
ccux theme playful --file custom/page.html
ccux help
Show comprehensive help and usage examples with different topics.
Usage: ccux help [TOPIC]
Topics:
quickstart: Complete getting started guidethemes: All available design themes with descriptionsexamples: Common usage patterns and commandsworkflows: Step-by-step workflows for different scenarios
Examples:
# Show main help menu with command overview
ccux help
# Get detailed quickstart guide
ccux help quickstart
# Browse all available themes
ccux help themes
# View common usage examples
ccux help examples
# Learn step-by-step workflows
ccux help workflows
ccux version
Show version information.
Usage: ccux version
Example:
ccux version
🎨 Themes
Core Themes
minimal: Clean, content-focused design following Dieter Rams' principlesbrutalist: Raw, honest design inspired by Brutalist architectureplayful: Joyful, approachable design with organic shapes and vibrant colorscorporate: Traditional, trustworthy design following business conventions
Modern Design Theory Themes
morphism: Soft, tactile design combining neumorphism and glassmorphismanimated: Motion-first design where animation drives user experienceterminal: CLI-inspired aesthetic for developers and tech enthusiastsaesthetic: Retro-futuristic Y2K, vaporwave, and cyber aesthetics
Additional Theme Options
dark: Modern dark theme optimized for contrast and reduced eye strainvibrant: Colorful, dopamine-rich design that energizes user interactionssustainable: Nature-inspired design emphasizing eco-conscious brandingdata: Information-dense design optimized for dashboards and analyticsillustrated: Hand-drawn, custom illustration-driven design for humanized experiences
📖 See THEME_IMPLEMENTATION_GUIDE.md for detailed specifications and usage guidelines
🛠️ Frameworks
html: Single HTML file with inline TailwindCSS (default)react: React component with ESM imports
⚙️ Configuration
Create optional ccux.yaml in your working directory:
framework: html # html or react
theme: minimal # minimal|brutalist|playful|corporate|morphism|animated|terminal|aesthetic|dark|vibrant|sustainable|data|illustrated
sections: [hero, features, pricing, footer]
claude_cmd: claude
output_dir: output/landing-page
CLI flags always override config values.
🔬 Design Thinking Process
When not using --no-design-thinking, CCUX implements a 12-phase professional UX methodology:
- Reference Discovery - Auto-finds competitors using Claude AI
- Screenshot Capture - Captures competitor landing pages
- Product Understanding - Analyzes value proposition
- UX Analysis - Identifies design patterns and opportunities
- User Research - Creates empathy maps and personas
- Site Flow - Maps user journeys and information architecture
- Content Strategy - Develops strategic messaging
- Wireframing - Validates mobile-first layouts
- Design System - Creates typography, colors, and components
- High-Fidelity Design - Adds interactive elements and polish
- Copy Generation - Refines conversion-optimized copy
- Implementation - Generates production-ready code
🌐 Preview Generated Pages
# Start local server to preview
python -m http.server -d output/landing-page 3000
# Or with Node.js
npx serve output/landing-page -p 3000
# Then open http://localhost:3000 in your browser
💡 Usage Tips
- Get Help: Run
ccux helpfor comprehensive guidance and examples - Long Descriptions: Files >100 words are automatically summarized to optimize processing
- Reference Limit: Maximum 3 reference URLs for optimal performance
- Interactive Mode: Run
ccux genwithout options for guided setup - Section Updates: Use
ccux regento update specific parts without rebuilding - Theme Changes: Use
ccux themeto redesign with preserved content
🆘 Troubleshooting
- Claude CLI Issues: Ensure
claudecommand is accessible on PATH - Playwright Errors: Run
ccux initto install required browsers - Screenshot Failures: Tool continues without screenshots if capture fails
- Generation Errors: Try
--no-design-thinkingfor simpler processing - Memory Issues: Tool automatically cleans up between operations
🏗️ Architecture
- CLI Interface: Typer-based with rich terminal formatting
- Web Scraping: Playwright automation with error handling
- AI Integration: Claude CLI with timeout protection and usage tracking
- Output Management: Structured HTML/React with section markers
- Configuration: YAML-based with CLI override support
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 ccux-1.0.1.tar.gz.
File metadata
- Download URL: ccux-1.0.1.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c87affa74f8aefa55745cfc50e23851e924ee3da3ddc91a5726972b6aa383562
|
|
| MD5 |
c1b30006aca179f14a5751ce101a793e
|
|
| BLAKE2b-256 |
3555ce90fb93d4392d5708d59556b47dbcb1642a34e98a0852ed605abb42d52d
|
Provenance
The following attestation bundles were made for ccux-1.0.1.tar.gz:
Publisher:
publish.yml on thisisharsh7/claude-cli-wrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccux-1.0.1.tar.gz -
Subject digest:
c87affa74f8aefa55745cfc50e23851e924ee3da3ddc91a5726972b6aa383562 - Sigstore transparency entry: 412011092
- Sigstore integration time:
-
Permalink:
thisisharsh7/claude-cli-wrapper@ec0efe94e4d1c154ebf53cd6cbf8dd4e9b217d2e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/thisisharsh7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec0efe94e4d1c154ebf53cd6cbf8dd4e9b217d2e -
Trigger Event:
release
-
Statement type:
File details
Details for the file ccux-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ccux-1.0.1-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c0640727a615e0ca64d143d20cdf580ddfe4d01b6f1b91fe128d0d5f16b1bda
|
|
| MD5 |
307000d02672a7aac05178cb3222529a
|
|
| BLAKE2b-256 |
6b354f76778621398a00358b7504324572c4e35665606800719d484ba46b0bb0
|
Provenance
The following attestation bundles were made for ccux-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on thisisharsh7/claude-cli-wrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccux-1.0.1-py3-none-any.whl -
Subject digest:
2c0640727a615e0ca64d143d20cdf580ddfe4d01b6f1b91fe128d0d5f16b1bda - Sigstore transparency entry: 412011098
- Sigstore integration time:
-
Permalink:
thisisharsh7/claude-cli-wrapper@ec0efe94e4d1c154ebf53cd6cbf8dd4e9b217d2e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/thisisharsh7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec0efe94e4d1c154ebf53cd6cbf8dd4e9b217d2e -
Trigger Event:
release
-
Statement type: