Show HN: Petiglyph – TUI/CLI to turn images and videos into custom font glyphs

peti_poua1 pts0 comments

petiglyph is a TUI/CLI tool to easily turn images and videos into custom font glyphs, static or animated, to be added to your TUIs!for example, if you wanted a specific icon to be available inside your Terminal UI without using Kitty graphics protocol, you could use petiglyph to generate a .ttf file that include a monochrome version of this icon as a glyph to be used like any other Nerd font glyph.you can generate standard size glyphs or compose a grid of glyphs to display a bigger visual over several lines.petiglyph also supports generating frames of glyphs (standard or grid) based on videos for you to render an animation inside the terminal, the TUI allows you to copy to clipboard the glyph frames to be able to easily paste them in your own code.be aware that this tool relies on installing custom fonts on your system so once the fonts are installed you need to reboot the apps (or even your whole computer sometimes) for the fonts to be correctly loaded.available on github, npm, pypi, AUR

glyphs petiglyph videos custom font glyph

Related Articles