crystal-ltp

Crystal library to display characters in a 3x3 format in the terminal using large type pieces characters only

ltp - Large Type Pieces

Crystal CI

ltp is a Crystal library to display characters in a 3x3 format in the terminal using large type pieces characters only. This library provides a visually distinct way to present large, block-style characters, making terminal outputs more visually engaging.

Installation

Add this to your application's shard.yml:

dependencies:
  ltp:
    github: mamantoha/crystal-ltp

Usage

require "ltp"

LTP.print("Hello, World!")

This will output each character of "Hello, World!" in a 3x3 ASCII art format in your terminal.

You can use ltp to display large type characters by piping text input into the ltp_cli.cr script. Here's a quick example:

shards build
date | ./bin/ltp

date

Character Support

crystal ./samples/symbols.cr

symbols

Currently, ltp supports only ASCII and Ukrainian letters. We are open to expanding the character set and welcome contributions. If you're interested in adding support for more characters, please feel free to submit a pull request.

Contributing

  1. Fork it (https://github.com/mamantoha/crystal-ltp/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

crystal-ltp

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • about 1 month ago
  • June 3, 2024
License

MIT License

Links
Synced at

Mon, 18 Nov 2024 02:55:37 GMT

Languages