3 releases (breaking)
new 0.3.0 | Dec 13, 2024 |
---|---|
0.2.0 | Dec 13, 2024 |
0.1.0 | Dec 13, 2024 |
#433 in Command line utilities
252 downloads per month
480KB
127 lines
Capysay
A Rust-based CLI tool for customizable Capybara ASCII art with colorful messages.
Features
- Custom Messages: Specify any message for the Capybara to "say."
- Dead Mode: Add
X
eyes with a flag to make the Capybara appear "dead." - Colorful Output: Styled text with the
colored
crate. - Identity Guard: Ensures the Capybara retains its dignity (no "meowing").
- TUI Mode: A text-based user interface for crafting your Capybara messages interactively.
- GUI Placeholder: Stub for future GUI support.
Installation
Requires Rust:
cargo install capysay
Usage
CLI
Run Capysay from the command line with various options:
# Default mode
capysay
# Custom message
capysay default "Hello, world!"
# Dead mode
capysay default --dead
TUI Mode
Launch an interactive terminal UI to create Capybara messages:
capysay tui
GUI Mode (Placeholder)
Currently a placeholder for future GUI support:
capysay gui
Examples
Default CLI Mode
Libenter homines id quod volunt credunt!
\
\
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣄⢘⣒⣀⣀⣀⣀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣽⣿⣛⠛⢛⣿⣿⡿⠟⠂⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⡀⠀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣷⣿⡆⠀
⠀⠀⠀⠀⠀⠀⣀⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠀
⠀⠀⠀⢀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀
⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀
⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠜⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢿⣿⣿⣿⣿⠿⠿⣿⣿⡿⢿⣿⣿⠈⣿⣿⣿⡏⣠⡴⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣠⣿⣿⣿⡿⢁⣴⣶⣄⠀⠀⠉⠉⠉⠀⢻⣿⡿⢰⣿⡇⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢿⣿⠟⠋⠀⠈⠛⣿⣿⠀⠀⠀⠀⠀⠀⠸⣿⡇⢸⣿⡇⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢸⣿⠀⠀⠀⠀⠀⠘⠿⠆⠀⠀⠀⠀⠀⠀⣿⡇⠀⠿⠇⠀⠀⠀⠀⠀⠀⠀
█─▄▄▄─██▀▄─██▄─▄▄─█▄─█─▄█─▄▄▄▄██▀▄─██▄─█─▄█
█─███▀██─▀─███─▄▄▄██▄─▄██▄▄▄▄─██─▀─███▄─▄██
▀▄▄▄▄▄▀▄▄▀▄▄▀▄▄▄▀▀▀▀▄▄▄▀▀▄▄▄▄▄▀▄▄▀▄▄▀▀▄▄▄▀▀
TUI Mode
GUI Mode
The GUI mode is a placeholder and will print:
Launching Capysay in GUI mode...
Libraries Used
- clap: For parsing CLI arguments and subcommands.
- colored: To add colors and styles to terminal output.
- cursive: To create the TUI mode.
ASCII Art Source
ASCII art from Emoji Combos.
License
MIT License. See LICENSE
for details.
Dependencies
~8–16MB
~210K SLoC