LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nms

Recreate the on-screen decryption effect from the movie Sneakers

TLDR

Decrypt piped text (press any key to reveal)
$ echo "[text]" | nms
copy
Auto-decrypt without waiting for a keypress
$ echo "[text]" | nms -a
copy
Set the foreground colour of revealed text
$ echo "[text]" | nms -f green
copy
Clear the screen before and restore it after
$ ls -l | nms -c
copy
Mask blank spaces as well as visible characters
$ echo "[text]" | nms -s
copy
Decrypt the output of a command
$ curl -s wttr.in | nms -a -f cyan
copy

SYNOPSIS

nms [-acsv] [-f color]

DESCRIPTION

nms ("No More Secrets") reads text from standard input, displays it as random noise, and then animates a character-by-character decryption to the original content, recreating the famous data-decryption sequence from the 1992 film *Sneakers*.Because it reads stdin, nms composes naturally with pipes, letting you drop the effect on top of the output of any command. A companion program, sneakers, is also shipped by the project and provides the interactive terminal version of the movie scene.

PARAMETERS

-a

Auto-decrypt: start the reveal immediately without waiting for a keypress.
-s
Mask single blank spaces too (tabs and newlines remain unmasked).
-f COLOR
Foreground colour of the revealed text. Accepts `white`, `yellow`, `black`, `magenta`, `blue` (default), `green`, `red`, `cyan`, or an `#RRGGBB` hex value.
-c
Clear the screen before running and restore the terminal state after completion.
-v
Print the version and exit.

INSTALL

nix profile install nixpkgs#nms
copy

CAVEATS

Purely a visual effect -- it does not alter the piped data, just the way it is displayed. Requires a terminal that supports ANSI escape sequences and is at least as large as the input text. Very large inputs can take a noticeable amount of time to reveal; use -a to skip the keypress pause.

HISTORY

No More Secrets was created by Brian Barto and first released on GitHub in 2016. It became a popular novelty tool in the Linux community and is packaged by most major distributions.

SEE ALSO

cmatrix(1), figlet(1), cowsay(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid