LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nap

Code snippet manager for the terminal

TLDR

Launch the snippet TUI
$ nap
copy
Create a new snippet
$ nap "[snippet_name]"
copy
List all snippets
$ nap list
copy
Fuzzy find and copy a snippet
$ nap [query]
copy

SYNOPSIS

nap [options] [query]

DESCRIPTION

nap is a code snippet manager with both a CLI and TUI interface. The TUI lets you browse, manage, and organize code snippets directly in your terminal, while the CLI provides quick access with fuzzy searching.Snippets can be created from files or stdin, organized into folders, and copied to the clipboard. The tool is configured through $XDG_CONFIG_HOME/nap/config.yaml.

CONFIGURATION

$XDG_CONFIG_HOME/nap/config.yaml

Configuration file for snippet storage location and behavior.

INSTALL

brew install nap
copy
nix profile install nixpkgs#nap
copy

CAVEATS

Snippets are stored locally. No built-in sync across devices.

HISTORY

nap was created by maaslalani and is written in Go using the Charm framework.

SEE ALSO

pet(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