/sarc

text transformation

Primary LanguageGoMIT LicenseMIT

sarc

A text transformation CLI.

Installation

Go

go install github.com/tom-on-the-internet/sarc@latest

Nix

Use the flake.nix found in the root of this repository.

nix shell github:tom-on-the-internet/sarc

Download the binary

Binaries for Mac, Linux and Windows are available in the releases section.

Usage

sarc [-f formatter] [-i interactive]

Usage Examples

echo 'Hello World!' | sarc # hElLo WoRlD!
echo 'Hello World!' | sarc -f cursive # ๐“—๐“ฎ๐“ต๐“ต๐“ธ ๐“ฆ๐“ธ๐“ป๐“ต๐“ญ!
echo 'Hello World!' | sarc -i # Enter interactive mode

Formatters

Sample text Hello World!

ball          ๐Ÿ…—๐Ÿ…”๐Ÿ…›๐Ÿ…›๐Ÿ…ž ๐Ÿ…ฆ๐Ÿ…ž๐Ÿ…ก๐Ÿ…›๐Ÿ…“!
cursive       ๐“—๐“ฎ๐“ต๐“ต๐“ธ ๐“ฆ๐“ธ๐“ป๐“ต๐“ญ!
lowercase     hello world!
nomodify      Hello World!
reverse       !dlroW olleH
rot13         Uryyb Jbeyq!
sarcastic     hElLo WoRlD!
smallcaps     สœแด‡สŸสŸแด แดกแดส€สŸแด…!
stencil       โ„๐•–๐•๐•๐•  ๐•Ž๐• ๐•ฃ๐•๐••!
swapcase      hELLO wORLD!
uppercase     HELLO WORLD!
upsidedown    !pส…ษนoM oส…ส…วH

Video Explanation

IMAGE ALT TEXT