posva
v1.0.4
Published
Hi! I'm Eduardo (posva), part of Vue, author of Vue Router and Pinia
Readme
npx posva
npx posvaDocs
Terminal Image Support
The CLI automatically detects terminal capabilities and displays the avatar using the best available method:
- Kitty: Uses the Kitty Graphics Protocol - detected via
KITTY_WINDOW_IDorTERMcontainingkitty - iTerm2: Uses iTerm2 Inline Images Protocol - detected via
ITERM_SESSION_IDorTERM_PROGRAM=iTerm.app - Fallback: ASCII art from
bin/avatar.txt
How the image protocols work
Both protocols embed base64-encoded PNG data in terminal escape sequences:
Kitty: ESC_Ga=T,f=100,c=<cols>,r=<rows>,m=0;<base64>ESC\
iTerm2: ESC]1337;File=inline=1;width=<cols>;height=<rows>:<base64>BEL
The image ([email protected]) is read at runtime and encoded directly in the escape sequence output
