Skip to content

small is a ... small tool to translate text to alphabetical unicode variants.

License

Notifications You must be signed in to change notification settings

stefanvanburen/small

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

small

small is a ... small tool to translate text to alphabetical Unicode variants.

By default, the translation is to ꜱᴍᴀʟʟ ᴄᴀᴘꜱ, hence the name.

$ go install github.com/stefanvanburen/small/cmd/small@latest

$ small "INFORMATION"
ɪɴꜰᴏʀᴍᴀɪᴛᴏɴ

But other translations are supported, and more are on the way!

$ small -h
USAGE
  small [-t] <text>

FLAGS
  -t ... specify transform type

SUPPORTED TRANSFORMS
  doublestruck      𝕕𝕠𝕦𝕓𝕝𝕖𝕤𝕥𝕣𝕦𝕔𝕜
  fraktur           𝔣𝔯𝔞𝔨𝔱𝔲𝔯
  fraktur-bold      𝖋𝖗𝖆𝖐𝖙𝖚𝖗-𝖇𝖔𝖑𝖉
  monospace         𝚖𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎
  sans              𝗌𝖺𝗇𝗌
  sans-bold         𝘀𝗮𝗻𝘀-𝗯𝗼𝗹𝗱
  sans-bold-italic  𝙨𝙖𝙣𝙨-𝙗𝙤𝙡𝙙-𝙞𝙩𝙖𝙡𝙞𝙘
  sans-italic       𝘴𝘢𝘯𝘴-𝘪𝘵𝘢𝘭𝘪𝘤
  script            𝓈𝒸𝓇𝒾𝓅𝓉
  serif-bold        𝐬𝐞𝐫𝐢𝐟-𝐛𝐨𝐥𝐝
  serif-bold-italic 𝒔𝒆𝒓𝒊𝒇-𝒃𝒐𝒍𝒅-𝒊𝒕𝒂𝒍𝒊𝒄
  serif-italic      𝑠𝑒𝑟𝑖𝑓-𝑖𝑡𝑎𝑙𝑖𝑐
  smallcaps         ꜱᴍᴀʟʟᴄᴀᴘꜱ

$ small -t fraktur "american gothic"
𝔞𝔪𝔢𝔯𝔦𝔠𝔞𝔫 𝔤𝔬𝔱𝔥𝔦𝔠

It also behaves well as a pipe:

$ echo "here's some text" | small -t sans
𝗁𝖾𝗋𝖾'𝗌 𝗌𝗈𝗆𝖾 𝗍𝖾𝗑𝗍

About

small is a ... small tool to translate text to alphabetical unicode variants.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  

Languages