Skip to content
/ sttr Public
forked from abhimanyu003/sttr

cross-platform, cli app to perform various operations on string

License

Notifications You must be signed in to change notification settings

rverst/sttr

 
 

Repository files navigation

sttr

sttr

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"

🎥 Demo

sttr demo

🔋 Installation

Quick install

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 | sh

Homebrew

If you are on macOS and using Homebrew, you can install sttr with the following:

brew tap abhimanyu003/sttr
brew install sttr

Go

go install github.com/abhimanyu003/sttr@latest

Manually

Download the pre-compiled binaries from the Release! page and copy them to the desired location.

📚 Guide

  • After installation simply run sttr command.
// 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.

💥 Supported 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
  • Hexadecimal To String
  • String to Hexadecimal
  • Sort Lines
  • and adding more....

License

MIT

About

cross-platform, cli app to perform various operations on string

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 77.4%
  • Shell 22.6%