Skip to main content

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:

  1. Reference Discovery - Finds competitor sites automatically
  2. Screenshot Analysis - Captures and analyzes competitor designs
  3. Product Understanding - Deep analysis of value proposition
  4. UX Research - Creates user personas and empathy maps
  5. Site Flow - Maps user journeys and conversion paths
  6. Content Strategy - Develops strategic messaging
  7. Wireframing - Validates layout structure
  8. Design System - Creates consistent visual language
  9. High-Fidelity Design - Polishes visual elements
  10. Prototyping - Adds interactive elements
  11. Copy Refinement - Optimizes conversion copy
  12. 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 guide
  • ccux help quickstart - Step-by-step setup
  • ccux help themes - All theme descriptions
  • ccux 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 help for comprehensive command guide
  • Themes: Run ccux help themes for all theme descriptions
  • Workflows: Run ccux help workflows for common usage patterns

๐Ÿ”— Links

๐ŸŽฏ What's Next?

  1. Install CCUX: Run pip install ccux to get started
  2. Try Interactive Mode: Run ccux init for guided experience
  3. Generate Your First Page: Describe your product and watch it evolve
  4. Explore Themes: Try different design systems for your brand
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ccux-2.2.2.tar.gz (106.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ccux-2.2.2-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

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

Hashes for ccux-2.2.2.tar.gz
Algorithm Hash digest
SHA256 cd3750b7addecbf5706414460cb54423841744a7e738c7cdb78c915e99c9efc7
MD5 ef0f89d0c1e60157786e8cc462b39d4c
BLAKE2b-256 0f91276255b648113e4bb0d2184d84d0def82cd83f94f45d855c7ffea1e5ca23

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccux-2.2.2.tar.gz:

Publisher: publish.yml on thisisharsh7/claude-cli-wrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ccux-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca5ec000462ccc2953b170ae6e3a8956463c9ec2dfe2f9e53a42342c5b1bf46
MD5 1e5ed2be0eb66c1e275d52945185503d
BLAKE2b-256 151a631b8ece72606406f4d3e8f2a98235342bb087a3f39f843c0850c428ebc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccux-2.2.2-py3-none-any.whl:

Publisher: publish.yml on thisisharsh7/claude-cli-wrapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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