sttr is command line software that allows you to quickly run various transformation operations on the string.
// With input prompt
sttr
// Direct string input
sttr -i "your string"You can run the below curl to install it somewhere in your PATH for easy use.
Ideally it will be installed at ./bin folder
curl -sfL https://raw.githubusercontent.com/abhimanyu003/sttr/main/install.sh | shIf you are on macOS and using Homebrew, you can install sttr with the following:
brew tap abhimanyu003/sttr
brew install sttrgo install github.com/abhimanyu003/sttr@latestDownload the pre-compiled binaries from the Release! page and copy them to the desired location.
- After installation simply run
sttrcommand.
// With input prompt
sttr
// ( Press two enter to open operation menu )
// You can also provide string directly without any prompt.
sttr -i "your string"- Press
/to filter various operations. - Can also press UP-Down arrows select various operations.
- Base64 Encode
- Base64 Decode
- URL Encode
- URL Decode
- ROT13 Encode
- String To Title
- String To lower
- String To UPPER
- String To snake_case
- String To Kebab
- String To Slug
- String To Camel
- String Reverse
- Count Number Characters
- Count Words
- Count Lines
- MD5 Encode
- SHA1 Encode
- SHA256 Encode
- SHA512 Encode
- Format JSON
- JSON To YAML
- YAML To JSON
- Hex To RGB
- Sort Lines
- and adding more....

