Skip to content

Hype v1.1.0 - Enhanced TUI Styling & Professional UI Components

Choose a tag to compare

@twilson63 twilson63 released this 23 Jun 21:16
· 81 commits to main since this release

🎨 Enhanced TUI Styling & Professional UI Components

Version 1.1.0 introduces comprehensive TUI enhancements that enable developers to create professional, beautifully styled terminal applications with advanced theming capabilities.

✨ New Features

Enhanced TUI Styling Methods

  • SetDynamicColors() - Enable color markup parsing in text content
  • SetBorder() - Add borders around all TUI components
  • SetBorderColor() - Custom border colors with 256-color palette support
  • SetBackgroundColor() - Component background theming
  • SetTitle() - Component titles for better organization
  • SetFieldBackgroundColor() - Enhanced input field styling
  • SetFieldTextColor() - Custom input text colors
  • SetLabelColor() - Button text color customization
  • SetScrollable() - Enhanced scrollable content support

Professional Color Theming

  • 256-color palette support for rich, professional interfaces
  • Dynamic color markup system with [color_code]text[reset_color] syntax
  • Predefined color constants for consistent theming
  • Support for terminal-native colors and styling

Enhanced Examples

  • 🌐 Enhanced Plain Text Browser - Professional two-panel layout with advanced HTML-to-text conversion
  • 📊 Advanced TUI Dashboard - Comprehensive example showcasing all styling features with real-time metrics
  • Both examples demonstrate production-ready styling patterns

🔧 Technical Improvements

Runtime & Build Parity

  • All enhanced TUI methods available in both hype run and hype build modes
  • Consistent API across development and production environments
  • Enhanced error handling and component lifecycle management

Documentation Updates

  • Comprehensive API Reference - Complete documentation of all enhanced TUI methods
  • Color Styling Guide - Professional theming patterns and best practices
  • Updated Examples Page - Real-world applications showcasing new capabilities
  • GitHub Pages Integration - Auto-deploying documentation website

🎯 Use Cases

Perfect for building:

  • Professional Dashboards - Real-time monitoring interfaces with rich styling
  • Development Tools - Enhanced CLI tools with beautiful, intuitive interfaces
  • System Administration - Styled monitoring and management applications
  • Data Visualization - Terminal-based charts and metrics displays
  • Interactive Applications - Rich, responsive terminal user experiences

🚀 Example Applications

Enhanced Browser

-- Professional styling with borders and themes
local browser = tui.newFlex()
browser:SetBorder(true)
browser:SetTitle("🌐 Enhanced Plain Text Browser")
browser:SetBorderColor(39) -- Blue
browser:SetBackgroundColor(235) -- Dark gray

Advanced Dashboard

-- Dynamic color markup for rich interfaces
local text = string.format([[
[%d]🎉 Welcome to Dashboard\![%d]
[%d]Status:[%d] %s
[%d]Uptime:[%d] %s
]], PRIMARY, LIGHT, INFO, LIGHT, "Online", SUCCESS, LIGHT, "2 days")

🔗 Installation

macOS

curl -fsSL https://github.com/twilson63/hype/releases/download/v1.1.0/hype-darwin-arm64 -o hype
chmod +x hype
sudo mv hype /usr/local/bin/

Linux

curl -fsSL https://github.com/twilson63/hype/releases/download/v1.1.0/hype-linux-amd64 -o hype
chmod +x hype
sudo mv hype /usr/local/bin/

Windows

Download hype-windows-amd64.exe and add to your PATH.

🏗️ Building Enhanced Applications

# Create a styled TUI application
hype build advanced-dashboard.lua -o dashboard
./dashboard

# Or run directly for development
hype run enhanced-browser.lua

📚 Documentation

🎉 What's Next

This release establishes Hype as a powerful platform for creating professional terminal applications. The enhanced styling system provides the foundation for building production-ready TUI applications with modern, beautiful interfaces.


Full Changelog: v1.0.5...v1.1.0

🤖 Generated with Claude Code