Terminal ANSI text generator with 100+ bitmap fonts, gradients, shadows, and multi-format export capabilities.
Bit is a terminal-based ANSI text generator that converts plain text into stylized ASCII art using over 100 bitmap fonts. The tool operates in two modes: an interactive TUI with six control panels for real-time text styling, and a CLI mode for direct command-line rendering. Users can apply color gradients (horizontal and vertical), shadow effects with configurable offsets and styles, and scale text from 0.5x to 4x.
The tool supports extensive customization including character spacing (0-10 pixels), word spacing (0-20 pixels), line spacing (0-10 pixels), and text alignment (left, center, right). Color support includes 14 predefined ANSI colors plus unlimited hex color values for gradients and text coloring. Multi-line text input is supported with per-row cursor tracking in the interactive mode.
Bit can export styled text to multiple formats including plain TXT, Go, JavaScript, Python, Rust, and Bash with language-specific formatting. The fonts are embedded using go:embed, making the binary self-contained. The tool also supports loading custom .bit font files or entire directories of fonts alongside the built-in collection. This makes it suitable for developers creating CLI tools, terminal applications, or anyone needing stylized text output for documentation or presentations.
# via Shell Script
curl -sfL https://raw.githubusercontent.com/superstarryeyes/bit/main/install.sh | sh
# via Go Build
go build -o bit ./cmd/bit
