DenverCoder1 / unicode-formatter

Convert portions of text to fancy text using unicode fonts for use on Twitter and other sites that don't support rich text
https://unicode-formatter.demolab.com
MIT License
63 stars 13 forks source link

[FR] add CLI #24

Closed NightMachinery closed 3 years ago

NightMachinery commented 3 years ago

A CLI that reads the text from stdin and converts it to the given 'font' would be good:

echo Inverted | unicode-formatter --font Inverted
pǝʇɹǝʌuI

This should be doable with node, though the code needs to be refactored into a library first.

DenverCoder1 commented 3 years ago

Hi @NightMachinary! Thanks for opening the issue!

I'm not sure if that's in the scope of this project at the current time, but it seems like https://github.com/paw-lu/dressup can do what you're thinking of.

Let me know if that solves the issue. :)

NightMachinery commented 3 years ago

Thanks! I ended up using ‘mimic’. Feel free to close the issue.