#user-interface #ansi #ascii #figlet #toilet

bin+lib tuilet

A textual user interface for Toilet, the ANSI-art text generator

4 releases (2 breaking)

0.3.1 Sep 26, 2024
0.3.0 Sep 26, 2024
0.2.0 Sep 26, 2024
0.1.1 Sep 20, 2024

#1485 in Text processing

Download history 107/week @ 2024-09-19 333/week @ 2024-09-26 21/week @ 2024-10-03

59 downloads per month

MIT license

225KB
409 lines

tuilet

Crates.io Version

A TUI for toilet, the premier command-line ANSI text generator.

Tuilet makes it easy to experiment with fonts and command line options.

Requires a Unix-like OS where toilet is installed.

A screenshot of Tuilet

Usage

Tab selects the active textarea. Select fonts with the Up and Down arrows. Output and command line can be copied by pressing Enter.

Exit with Ctrl-C. At program exit, tuilet prints the most recent toilet command line to the terminal.

Usage: tuilet [OPTIONS]

Options:
  -D, --fontdir <PATH>  Add fonts from the given directory
  -X, --toilet <PATH>   Set path to `toilet` executable
  -h, --help            Print help
  -V, --version         Print version

TODO

  • Better font selector
  • Internal font pack
  • Config file
  • ???

Bugs

Oh yeah definitely

Contributing

PRs and Issues welcome.

Let a smile be your Contributor License Agreement

Authorship and License

This code was written in 2024 by Pete Gamache.

Tuilet is released under the BSD License.

Dependencies

~11–23MB
~348K SLoC