Charm for Ruby
The full Charm terminal toolkit for Ruby
A meta gem that includes all Charm Ruby libraries.
Build glamorous TUIs, style terminal output, create beautiful forms, and make your Ruby CLIs sparkle.
Installation
Add to your Gemfile:
gem "charm"Or install directly:
gem install charmWhat's Included
The charm gem pulls in the entire Charm Ruby ecosystem:
| Gem | Description |
|---|---|
| Lipgloss | Style definitions for nice terminal layouts |
| Bubble Tea | A powerful TUI framework based on the Elm Architecture |
| Bubbles | Common TUI components for Bubble Tea |
| Glamour | Render markdown in the terminal |
| Huh? | Build beautiful interactive forms |
| Harmonica | A simple, physics-based animation library |
| Bubblezone | Zone-based mouse event handling for Bubble Tea |
| Gum | A tool for glamorous shell scripts |
| ntcharts | Terminal chart components for Bubble Tea |
Usage
require "charm"This requires all included libraries. You can also require them individually:
require "lipgloss"
require "bubbletea"
require "bubbles"
require "glamour"
require "huh"
require "harmonica"
require "bubblezone"
require "gum"
require "ntcharts"Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/charm-ruby.
License
The gem is available as open source under the terms of the MIT License.
Acknowledgments
This gem wraps libraries from the excellent Charm ecosystem. Charm Ruby is not affiliated with or endorsed by Charmbracelet, Inc.
Part of Charm Ruby.
Lipgloss • Bubble Tea • Bubbles • Glamour • Huh? • Harmonica • Bubblezone • Gum • ntcharts
The terminal doesn't have to be boring.