fate
[
](https://twitter.com/intent/tweet?text=FontAwesome on Terminal:&url=https://github.com/mr-karan/fate)
fate is a simple CLI program which let's you browse FontAwesome icons on your terminal. Note : Python3+ only.
Installation :
pip install fate
###Avilable commands :
To browse all the icons.
fate --icon
To narrow down you search with FontAwesome filter tags, use --filter or -f
fate -filter
To narrow down your search with aliases tag, use --aliases or -a
fate --aliases
To narrow down your search with categories tag, use --category or -c
fate --category
[name/ unicode/ html]
hex use it with -e or --echo
To echo the icon Example :
fate -i -e name
What's with the name ?
Well, 'F'ont'A'wesome on 'Te'rminal = "fate" :) Credits to my good friend @Kush
Facing problems with Font Rendering ?
For the icons to display properly on your system, you need to have FontAwesome fonts installed.
Grab the otf files from here
You will need to install this font on your system for icons to be rendered properly.
Instructions here
Update your gnome-terminal
Also if you are still not able to get the fonts, you may have to perform the step listed as :
To use it in Linux within gnome-terminal you need to put FontAwesome.otf
inside your ~/.fonts/
folder on Linux. And create a
~/.config/fontconfig/fonts.conf
file with the following content:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Font families -->
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Android Emoji</family>
<family>Symbola</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>Android Emoji</family>
<family>Symbola</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Ubuntu Mono</family> <!-- change this to your prefered monospace font if you like -->
<family>DejaVu Sans Mono</family>
<family>Android Emoji</family> <!-- put the Symbola line before this if you prefer Symbola to Android Emoji -->
<family>Symbola</family>
<family>FontAwesome</family>
</prefer>
</alias>
</fontconfig>
[SOurce] https://github.com/AnthonyDiGirolamo/els/blob/master/README.markdown)
For Windows users :
- pip install would most likely fail to install
pyyaml
, sincePyYAML
isn't actively maintained. You need to grab it manaully from here - If you are using
cmd
god bless you. Change the character map usingchcp 65001
. Check here for additional instructions.
License
MIT © Karan Sharma