Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. sttr

sttr

MITGov0.2.30

A cross-platform CLI tool to perform various string transformation operations like encoding, hashing, formatting, and extraction.

GitHubGitHub
1.3k stars48 forks0 contributors

What is sttr?

sttr is a command-line utility designed to quickly apply a wide range of transformation operations on strings. It enables developers and system administrators to manipulate text data efficiently through direct commands, file input, or piping from other processes. The tool consolidates common transformations like encoding, hashing, formatting, and extraction into a single command, reducing the need for custom scripts or multiple utilities.

Target Audience

Developers and system administrators who frequently work in the terminal and need to manipulate or transform text data, such as encoding/decoding strings, converting data formats, extracting information, or formatting text.

Value Proposition

Developers choose sttr for its comprehensive set of built-in operations, interactive menu-driven interface, and flexibility in handling input from arguments, files, or stdin. Its ability to chain operations and cross-platform availability via multiple package managers make it a versatile and user-friendly alternative to writing one-off scripts or using separate tools.

Overview

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

Use Cases

Best For

  • Encoding and decoding strings in various formats like Base64, URL, HTML, or Morse code directly from the terminal.
  • Generating hash checksums (e.g., MD5, SHA, bcrypt) for text or file contents for verification or security purposes.
  • Converting text between different case formats such as camelCase, snake_case, kebab-case, or Title Case.
  • Transforming data between formats like JSON to YAML, Markdown to HTML, or RGB to hex color codes.
  • Extracting specific data such as emails, IP addresses, or URLs from large blocks of text or log files.
  • Manipulating lines of text by sorting, shuffling, reversing, or counting them in files or command output.

Not Ideal For

  • Applications requiring a graphical user interface for string manipulation, as sttr is command-line only.
  • Complex text processing tasks that need custom logic or conditional transformations, since sttr offers only predefined operations.
  • High-performance streaming data processing where tools like awk or sed might be more efficient for continuous input.

Pros & Cons

Pros

Comprehensive Operation Set

Supports over 50 transformations including encoding, hashing, formatting, and extraction, as listed in the 'Supported Operations' section of the README.

Interactive Menu Interface

Provides a user-friendly menu-driven mode with filtering and navigation, demonstrated in the demo GIF and guide for easy operation selection.

Flexible Input/Output Options

Accepts input from arguments, files, or stdin and outputs to stdout or files, with examples shown for piping and redirection in the usage guide.

Cross-Platform Availability

Available via multiple package managers like Homebrew, Snap, and Winget, plus Docker and direct binaries for all major OSes, as detailed in the installation section.

Cons

No Custom Operation Support

Users cannot define their own transformation rules without modifying the Go source code, limiting adaptability to niche or specific use cases.

Potential Performance Overhead

For very large files or high-throughput streaming, sttr might be less efficient than lightweight Unix tools like sed or awk due to its broader, generalized feature set.

Installation Complexity for Some Platforms

While many options exist, some methods like manual binary downloads or specific package managers might require extra configuration steps compared to native system utilities.

Frequently Asked Questions

Quick Stats

Stars1,324
Forks48
Contributors0
Open Issues11
Last commit5 months ago
CreatedSince 2021

Tags

#cli-app#developer-tools#productivity#hashing#encoding-decoding#cli-tool#tui#text-processing#encryption-decryption#string#transform#tui-app#cli#cross-platform#data-transformation#command-line#json#go#string-manipulation#automation

Built With

G
Go

Included in

Go169.1k
Auto-fetched 3 hours ago

Related Projects

xstringsxstrings

Implements string functions widely used in other languages but absent in Go.

Stars1,414
Forks71
Last commit2 years ago
StringyStringy

Convert string to camel case, snake case, kebab case / slugify, custom delimiter, pad string, tease string and many other functionalities with help of by Stringy package.

Stars249
Forks20
Last commit1 year ago
strutilstrutil

String utilities for Go

Stars206
Forks27
Last commit1 year ago
stringFormatterstringFormatter

A set of tools to manipulate text, i.e. making text from templates in C#/Python way is faster than fmt.Sprintf

Stars134
Forks6
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub