#ascii-art #logo #terminal #dvd #bouncing #text #figlet

app dvd-term

A bouncing ASCII art DVD logo (or custom text) for the terminal

7 releases

new 0.1.32 Jun 14, 2024
0.1.31 Jun 8, 2024
0.1.23 May 27, 2024

#101 in Text processing

Download history 273/week @ 2024-05-24 21/week @ 2024-05-31 235/week @ 2024-06-07

529 downloads per month

MIT/Apache

1.5MB
370 lines

dvd-term

CI CD Crates.io Crates.io Total Downloads GitHub Downloads (all assets, all releases) License

A bouncing ASCII art DVD logo (or custom text) for the terminal. Uses figlet-rs for converting 'logo' text into ASCII art.

example gif

Recent Changes

v0.1.32

  • Implemented some actual error handling/propogation, to get away from relying on 'unwrap' and 'expect' calls.

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install dvd-term

Usage

Usage: dvd-term [OPTIONS]

Options:
      -t, --text <TEXT>     The custom text to use. Defaults to "DVD"
      -f, --font <FONT>     Specify a custom figlet font path
      -c, --color <COLOR>   Initial logo color code (0-255). Defaults to white (15). (https://ss64.com/bash/syntax-colors.html)
      -r, --random          If included, logo will randomize color when it bounces
      -s, --speed <SPEED>   The speed of the logo (how many 'cells' to move per second). Defaults to 15
      -p, --plain           If included, logo will be displayed in plain text instead of converted to ASCII art
      -a, --art <ART_PATH>  Specify the path of a plain text file with the ASCII art to display
      -h, --help            Print help
      -V, --version         Print version

Contributing (Issues/PRs)

If you encounter any bugs or problems, or you simply have a feature request, please feel free to create an issue or make a pull request, and I'll be happy to review and respond, and merge any PRs that pass a quick review.

See CONTRIBUTING for details.

License

Licensed under either of

at your option.

Dependencies

~2–7MB
~41K SLoC