Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefanvanburen/small

small is a ... small tool to translate text to alphabetical unicode variants.
https://github.com/stefanvanburen/small

cli go unicode

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# small

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

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

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

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

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

```console
$ small -h
USAGE
small [-t]

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:

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