525 B
525 B
Tiny botched-together python script to replace (some) emoji with classic smileys. I have never written python before, so forgive any transgressions.
Takes text with unicode emojis on standard input, spits out emojis replaced by
either classic smileys (:-)) or textual variants (:joy:) on standard
output.
Needs
pip3.12 install emoji-data-python
or whatever your platform wants.
There are probably a million better ways to do this.
(I'll be using this, at some point, in front of my Pleroma-Gopher interface).