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
Professional landing pages from your terminal using AI
๐ Version 2.2.1 - Enhanced CLI Experience!
Open source and completely free
What is CCUX?
CCUX is a powerful, modular CLI tool that uses Claude AI to generate conversion-optimized landing pages in minutes. Built with a clean, maintainable architecture, it features both interactive and command-line interfaces, making it perfect for developers who want professional results without leaving the terminal.
โจ Recently Enhanced: Completely refactored with a modular core system for better maintainability, performance, and extensibility.
๐ What's New in Version 2.2.1
Modular Core Architecture
- 78% Code Reduction: Eliminated duplicate code through smart modularization
- 9 Specialized Modules: Each handling specific functionality (cost tracking, forms, animations, etc.)
- Zero Duplication: Every function exists in exactly one place
- Better Testing: Modular design enables comprehensive unit testing
Enhanced Developer Experience
- Cleaner Imports: Clear dependency relationships between components
- Easier Maintenance: Changes only need to be made in one location
- Better Performance: Optimized loading and memory usage
- Extensible Design: New features can be easily added to appropriate modules
Improved CLI Interface
- Command Delegation: Clean separation between user interface and implementation
- Better Help System: Comprehensive documentation built into commands
- Consistent API: Unified interface across all functionality
Core Features
๐จ Interactive Application
Launch with ccux init for a guided experience:
- Project Wizard: Step-by-step landing page creation
- Visual Management: Manage multiple projects with rich terminal UI
- Live Editing: Edit content, regenerate sections, change themes
- Smart Detection: Auto-discovers existing projects and configurations
- ESC Key Support: Press ESC anywhere to immediately exit
๐ AI-Powered Generation
- 12-Phase Design Process: Professional UX methodology used by agencies
- Competitor Analysis: Automatically finds and analyzes 3 competitor sites
- Smart Copy: Generates conversion-optimized headlines and content
- User Research: Creates personas, empathy maps, and user journeys
๐ญ 13 Professional Themes
Choose from carefully designed themes:
- Core: minimal, brutalist, playful, corporate
- Modern: morphism, animated, terminal, aesthetic
- Specialized: dark, vibrant, sustainable, data, illustrated
โก Advanced Section Management
- Precision Regeneration: Update only specific sections (hero, features, pricing, etc.)
- Content Editing: Make targeted changes through interactive interface
- Theme Switching: Change visual style while preserving content
- Form Management: Add, remove, or customize contact forms
Advanced editing, theming, and form features are available through the interactive application (ccux init).
๐ง Developer Experience
- Modular Architecture: Clean, organized codebase with specialized utility modules
- Two Output Formats: HTML with TailwindCSS or React components
- Production Ready: Clean, semantic code with SEO optimization
- Mobile First: Responsive design for all screen sizes
- Accessibility: WCAG compliant with proper ARIA labels
- Cost Tracking: Monitor token usage and estimated costs
- Easy Maintenance: 78% code reduction through deduplication and modular design
Quick Start
๐ป CLI Installation and Usage
# Install CCUX CLI
pip install ccux
# Interactive terminal app
ccux init
# Command line generation
ccux gen --desc "AI-powered project management tool" --theme brutalist
ccux gen --desc-file product-description.pdf --theme minimal
# Advanced section management
ccux regen --section hero,pricing
๐ Requirements
For CLI Usage:
- Python 3.9+ and pip
- Claude CLI configured with API key
Available Commands
| Command | Purpose | Example |
|---|---|---|
ccux init |
Launch interactive app | ccux init |
ccux gen |
Generate landing page | ccux gen --desc "SaaS platform" |
ccux regen |
Regenerate sections | ccux regen --section hero |
ccux projects |
List projects | ccux projects |
ccux cost |
Show cost analysis | ccux cost --detailed |
ccux help |
Get help | ccux help themes |
ccux version |
Show version | ccux version |
Note: Advanced features like section editing, theming, and form management are available through the interactive application (ccux init).
Design Process
CCUX uses a comprehensive 12-phase methodology:
- Reference Discovery - Finds competitor sites automatically
- Screenshot Analysis - Captures and analyzes competitor designs
- Product Understanding - Deep analysis of value proposition
- UX Research - Creates user personas and empathy maps
- Site Flow - Maps user journeys and conversion paths
- Content Strategy - Develops strategic messaging
- Wireframing - Validates layout structure
- Design System - Creates consistent visual language
- High-Fidelity Design - Polishes visual elements
- Prototyping - Adds interactive elements
- Copy Refinement - Optimizes conversion copy
- Implementation - Generates production code
Theme Showcase
Core Themes
- Minimal: Clean, content-focused design following Dieter Rams' principles
- Brutalist: Raw, honest design inspired by Brutalist architecture
- Playful: Joyful, approachable design with organic shapes
- Corporate: Traditional, trustworthy business design
Modern Themes
- Morphism: Soft, tactile design combining neumorphism and glassmorphism
- Animated: Motion-first design where animation drives experience
- Terminal: Monospace, CLI-inspired aesthetic for developers
- Aesthetic: Retro-futuristic Y2K and vaporwave styling
Specialized Themes
- Dark: Modern dark theme optimized for reduced eye strain
- Vibrant: Colorful, dopamine-rich design that energizes users
- Sustainable: Nature-inspired design for eco-conscious brands
- Data: Information-dense design for dashboards and analytics
- Illustrated: Hand-drawn, custom illustration-driven design
Output Examples
Generated pages include:
- Semantic HTML with proper structure and SEO tags
- TailwindCSS styling with custom design systems
- Responsive Design that works on all devices
- Accessibility Features with WCAG compliance
- Performance Optimization with clean, minimal code
- Section Markers for easy regeneration and editing
Prerequisites
- Claude CLI - Get it from claude.ai/code
- Python 3.9+ - Standard on most systems
- Internet Connection - For competitor analysis
Installation
# Production install (gets the latest modular version)
pip install ccux
# Development install
git clone <repository-url>
cd cool/
pip install -e .
Note: Make sure you're getting version 2.2.1+ to benefit from the new modular architecture and performance improvements.
Preview Your Pages
# Navigate to your project
cd output/ # or output1/, output2/, etc.
# Start local server
python -m http.server 3000
# Open http://localhost:3000 in browser
Project Structure
๐ป Generated Output
output/ # Your generated landing page
โโโ index.html # Main landing page file
โโโ design_analysis.json # Complete design research data
โโโ *.jpg # Competitor screenshots (if any)
๐๏ธ CCUX Core Architecture
src/ccux/
โโโ cli.py # User-facing CLI with help system
โโโ cli_old.py # Core command implementations
โโโ interactive.py # Rich terminal application
โโโ core/ # Modular utility system
โ โโโ usage_tracking.py # Cost calculation and analytics
โ โโโ signal_handling.py # Graceful interrupt handling
โ โโโ configuration.py # YAML config management
โ โโโ project_management.py # Project discovery and selection
โ โโโ claude_integration.py # Claude API integration
โ โโโ content_processing.py # HTML validation and processing
โ โโโ form_handling.py # Form generation and management
โ โโโ section_management.py # Section replacement logic
โ โโโ animation_utilities.py # Theme-appropriate animations
โโโ theme_specifications.py # 13 professional design themes
โโโ prompt_templates.py # 12-phase design methodology
โโโ scrape.py # Advanced web scraping
โโโ scrape_simple.py # Simple screenshot capture
Architecture Benefits
๐งน Code Quality
- 78% Reduction: From 3,925 lines to 841 lines in CLI files + organized modules
- Zero Duplication: Each function exists in only one place
- Clean Imports: Clear dependency relationships between modules
- Better Testing: Modular functions are easier to unit test
๐ง Maintainability
- Logical Organization: Functions grouped by responsibility
- Easy Updates: Changes only need to be made in one location
- Clear Structure: Easy to find and modify specific functionality
- Extensible Design: New features can be added to appropriate modules
๐ Performance
- Optimized Imports: Only load needed functionality
- Shared Utilities: Common functions available to all components
- Better Memory Usage: Modular loading reduces memory footprint
- Faster Development: Clear structure speeds up feature development
Get Help
ccux help- Comprehensive command guideccux help quickstart- Step-by-step setupccux help themes- All theme descriptionsccux help workflows- Common usage patterns
๐ Getting Started
๐ป CLI Tool
- Terminal-based with full control and automation
- Interactive mode with rich terminal UI
- Perfect for developers and scripts
- Install with
pip install ccux
๐ Documentation
- CLI Commands: Run
ccux helpfor comprehensive command guide - Themes: Run
ccux help themesfor all theme descriptions - Workflows: Run
ccux help workflowsfor common usage patterns
๐ Links
- PyPI: https://pypi.org/project/ccux/
- Claude CLI: https://claude.ai/code
๐ฏ What's Next?
- Install CCUX: Run
pip install ccuxto get started - Try Interactive Mode: Run
ccux initfor guided experience - Generate Your First Page: Describe your product and watch it evolve
- Explore Themes: Try different design systems for your brand
- Share Your Results: Show off your AI-generated landing pages!
โญ Star this project if you find it useful!
Built with enterprise-grade architecture and โค๏ธ for developers who love terminal interfaces.
๐ Ready for production โข ๐งฉ Modular by design โข ๐ Performance optimized
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-2.2.2.tar.gz.
File metadata
- Download URL: ccux-2.2.2.tar.gz
- Upload date:
- Size: 106.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3750b7addecbf5706414460cb54423841744a7e738c7cdb78c915e99c9efc7
|
|
| MD5 |
ef0f89d0c1e60157786e8cc462b39d4c
|
|
| BLAKE2b-256 |
0f91276255b648113e4bb0d2184d84d0def82cd83f94f45d855c7ffea1e5ca23
|
Provenance
The following attestation bundles were made for ccux-2.2.2.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-2.2.2.tar.gz -
Subject digest:
cd3750b7addecbf5706414460cb54423841744a7e738c7cdb78c915e99c9efc7 - Sigstore transparency entry: 433623534
- Sigstore integration time:
-
Permalink:
thisisharsh7/claude-cli-wrapper@9d3b07957f6a6e3356ac570b92aabcfb0ff99c85 -
Branch / Tag:
refs/tags/v2.2.2 - Owner: https://github.com/thisisharsh7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d3b07957f6a6e3356ac570b92aabcfb0ff99c85 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ccux-2.2.2-py3-none-any.whl.
File metadata
- Download URL: ccux-2.2.2-py3-none-any.whl
- Upload date:
- Size: 101.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 |
9ca5ec000462ccc2953b170ae6e3a8956463c9ec2dfe2f9e53a42342c5b1bf46
|
|
| MD5 |
1e5ed2be0eb66c1e275d52945185503d
|
|
| BLAKE2b-256 |
151a631b8ece72606406f4d3e8f2a98235342bb087a3f39f843c0850c428ebc0
|
Provenance
The following attestation bundles were made for ccux-2.2.2-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-2.2.2-py3-none-any.whl -
Subject digest:
9ca5ec000462ccc2953b170ae6e3a8956463c9ec2dfe2f9e53a42342c5b1bf46 - Sigstore transparency entry: 433623546
- Sigstore integration time:
-
Permalink:
thisisharsh7/claude-cli-wrapper@9d3b07957f6a6e3356ac570b92aabcfb0ff99c85 -
Branch / Tag:
refs/tags/v2.2.2 - Owner: https://github.com/thisisharsh7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d3b07957f6a6e3356ac570b92aabcfb0ff99c85 -
Trigger Event:
release
-
Statement type: