Skip to content

phantompunk/fig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fig

fig is a modern interactive tool for rendering text as ASCII using FIGlet fonts. It provides a traditional CLI for quick rendering and an interactive TUI for browsing and previewing fonts.

fig

✨ Features

  • Interactive TUI — displays live previews
  • Copy to clipboard — copy selected preview
  • Add to favorites — favorite fonts show up first
  • Supports 300 FIGlet Fonts

Install

From source

go run cmd/main.go

Usage

Command Line Interface

fig Hello
fig -f slant "Hello"
echo "Hello" | fig
echo "Hello" | fig -f slant

Flags

  -c, --center        Center text in terminal
  -f, --font string   Specify a font, default is standard (default "standard")
  -h, --help          help for fig
  -l, --list-fonts    List all available fonts
  -r, --right         Right align text in terminal
  -v, --version       version for fig

Terminal UI

fig

Keymaps

Press ? to show a list of available keymaps:

Key Description
Enter Read comments
/ Filter fonts
Tab Change to next category
Shift+Tab Change to previous category
i Modify font preview text
c Copy selection to clipboard
f Add to / remove from favorites
q Quit
g Jump to the start
G Jump to the end

Under the hood

fig uses:

About

Interactive FIGlet font previews in your terminal

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages