Skip to content

xero/sofancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sofancy

a fun unicode font tool

demo

https://sofancy.0w.nz

source is here

examples

alien           ᖻᓍᑘ Sᓍ ᖴᗩᘉᑢᖻ
asian           ㄚㄖㄩ 丂ㄖ 千卂几匚ㄚ
asian2          リのひ 丂の キム刀ᄃリ
bent            Ӌօմ Ϛօ Ƒąղçվ
bold            𝐘𝐨𝐮 𝐒𝐨 𝐅𝐚𝐧𝐜𝐲
bolditalic      𝙔𝙤𝙪 𝙎𝙤 𝙁𝙖𝙣𝙘𝙮
circled         Ⓨⓞⓤ Ⓢⓞ Ⓕⓐⓝⓒⓨ
currency        ɎØɄ ₴Ø ₣₳₦₵Ɏ
cursive         𝓨𝓸𝓾 𝓢𝓸 𝓕𝓪𝓷𝓬𝔂
doublestruck    𝕐𝕠𝕦 𝕊𝕠 𝔽𝕒𝕟𝕔𝕪
flip            ⅄on Ƨo Էɑucλ
fraktur         𝔜𝔬𝔲 𝔖𝔬 𝔉𝔞𝔫𝔠𝔶
frakturbold     𝖄𝖔𝖚 𝕾𝖔 𝕱𝖆𝖓𝖈𝖞
greek           уσυ ѕσ ƒαη¢у
invertedsquares 🆈🅾🆄 🆂🅾 🅵🅰🅽🅲🆈
italic          𝘠𝘰𝘶 𝘚𝘰 𝘍𝘢𝘯𝘤𝘺
mirror          γoυ Ƨo ꟻɒИɔγ
mirrorflip      ⅄on So ꓞɐuɔʎ
mono            𝚈𝚘𝚞 𝚂𝚘 𝙵𝚊𝚗𝚌𝚢
neon            YOᑌ ᔕO ᖴᗩᑎᑕY
squares         🅈🄾🅄 🅂🄾 🄵🄰🄽🄲🅈
squiggle1       ץ๏ย ร๏ Ŧคภςץ
squiggle2       Yσυ Sσ Fαɳƈყ
squiggle3       ʏօʊ ֆօ ʄǟռƈʏ
squiggle4       ᎩᎧᏬ ᏕᎧ ᎦᏗᏁፈᎩ
squiggle5       ყơų ʂơ ʄąŋƈყ
squiggle6       ฯ໐น Ş໐ fคຖ¢ฯ
subscript       Yₒᵤ ₛₒ Fₐₙcy
superscript     ʸᵒᵘ ˢᵒ ᶠᵃⁿᶜʸ
symbols         ¥ðµ §ð £åñ¢¥
upperangle      YӨЦ ƧӨ FΛПᄃY
upsidedown      ⅄on So Ⅎɐuɔʎ
wide            You So Fancy

usage

ῳɛıཞɖ ųŋıƈơɖɛ ʄƖɛҳıŋɠ? 😜

usage: sofancy [-f (font) | -t | -r] string

 flags:
  -f|--font (font) : output in a single font
  -t|--titles      : display titles in output
  -r|--random      : pick a random font (clobbers -f)
  -c|--completions : install shell completions
  -h|--help        : display this message

 examples:
  sofancy -f wide aesthetics
aesthetics
  sofancy -t some string | fzf | xsel -i
  git commit -m "$(sofancy -tr  message | sed 's/^.*  /docs: /')"

install

clone and install

git clone [email protected]:xero/sofancy.git
cd sofancy
npm i -g .

or use npm to globally install npm i -g sofancy

post install

sofancy --completions will prompt your to install the shell completion files for bash and zsh (if those bin's exist). if they fail to install to their default global locations, it will prompt you for a custom path. alternatively, you can run sudo !!

notes

on unix systems node "bins" are normally placed in /usr/local/lib/node or /usr/local/lib/node_modules unless your export a custom NODE_PATH. either way, make sure the appropriate directory is in your path.

license

kopimi logo

all files and scripts in this repo are released CC0 / kopimi! in the spirit of freedom of information, i encourage you to fork, modify, change, share, or do whatever you like with this project! ^c^v