oh-my-lupin

Crates.iooh-my-lupin
lib.rsoh-my-lupin
version0.1.1
created_at2026-01-14 18:51:33.283471+00
updated_at2026-01-15 06:01:21.283388+00
descriptionConvert text to braille art using any font
homepage
repositoryhttps://github.com/nyanko3141592/oh-my-lupin
max_upload_size
id2043456
size42,894
Naoki Takahashi / 電電猫猫 (nyanko3141592)

documentation

README

oh-my-lupin

Convert text to braille art using any font.

⠀⠀⠀⠴⠆⠀⠀⠀⠀⠀⠀⠴⠆⠀⠀⠀⠀⠀⠴⠆⠀⠰⠶⠶⠶⠶⠤⠤⠀⠀⠰⠦⠀⠴⠦⠀⠀⠀⠀⠀⠰⠆⠀⠀⠀⠀
⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠿⠇⠀⠸⠏⠉⠉⠉⠉⠻⠷⠀⠸⠿⠀⠿⠿⠷⠀⠀⠀⠀⠸⠇⠀⠀⠀⠀
⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠿⠇⠀⠸⠇⠀⠀⠀⠀⠀⠿⠂⠸⠿⠀⠿⠇⠻⠧⠀⠀⠀⠸⠇⠀⠀⠀⠀
⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠿⠇⠀⠸⠧⠤⠤⠤⠤⠾⠟⠀⠸⠿⠀⠿⠇⠀⠻⠧⠀⠀⠸⠇⠀⠀⠀⠀
⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠀⠻⠇⠀⠀⠀⠀⠀⠿⠇⠀⠸⠟⠛⠛⠛⠛⠋⠁⠀⠸⠿⠀⠿⠇⠀⠈⠻⠧⠀⠸⠇⠀⠀⠀⠀
⠀⠀⠀⠿⠇⠀⠀⠀⠀⠀⠀⠸⠿⠀⠀⠀⠀⠀⠿⠇⠀⠸⠇⠀⠀⠀⠀⠀⠀⠀⠸⠿⠀⠿⠇⠀⠀⠈⠻⠦⠸⠇⠀⠀⠀⠀
⠀⠀⠀⠿⠧⠤⠤⠤⠤⠤⠀⠈⠿⠦⠀⠀⠠⠴⠿⠁⠀⠸⠇⠀⠀⠀⠀⠀⠀⠀⠸⠿⠀⠿⠇⠀⠀⠀⠈⠻⠿⠇⠀⠀⠀⠀
⠀⠀⠀⠛⠛⠛⠛⠛⠛⠛⠀⠀⠈⠛⠛⠿⠛⠛⠁⠀⠀⠘⠃⠀⠀⠀⠀⠀⠀⠀⠘⠛⠀⠛⠃⠀⠀⠀⠀⠈⠛⠃⠀⠀⠀⠀

Installation

cargo install --path .

Usage

# Basic usage (uses system default font)
oh-my-lupin "Hello"

# Specify font size
oh-my-lupin "Hello" 80

# Use custom font
oh-my-lupin "Hello" -f /path/to/font.ttf

# Disable animation
oh-my-lupin "Hello" --no-animate

# Adjust threshold (0-255, lower = thinner lines)
oh-my-lupin "Hello" -t 100

Options

Option Description
<TEXT> Text to display
[FONT_SIZE] Font size in pixels (default: 50)
-f, --font <PATH> Path to font file (TTF/OTF)
-t, --threshold <N> Threshold for dot rendering (default: 128)
-d, --delay <MS> Animation delay in milliseconds (default: 200)
--no-animate Disable animation

Default Fonts

  • macOS: Helvetica
  • Linux: DejaVuSans
  • Windows: Arial

License

MIT

Commit count: 16

cargo fmt