Code snippets in your terminal
$ go install github.com/maaslalani/nap@latest$ brew install maaslalani/tap/nap$ yay -S nap
Nap is a terminal-based code snippet manager that provides both a command-line interface for quick access and a text-user interface (TUI) for organizing and browsing your library.
It allows you to save code blocks from files, stdin, or URLs, enabling seamless storage and retrieval of frequently used code patterns directly within your shell environment.
Built in Go, it features fuzzy searching and clipboard integration, making it a highly efficient tool for managing boilerplate and reference code without leaving the terminal.
Maintain nap? Add this badge to your README: listings that link back are marked verified and ranked first in the directory. It's checked once a day.
[](https://cli.masoko.net/tools/nap/)<a href="https://cli.masoko.net/tools/nap/"><img src="https://cli.masoko.net/badge/nap.svg" alt="nap on The Terminal Index"></a>to comment.
Undo what the last shell command did to the filesystem
A command-line fuzzy finder
Collaborative cheatsheets for console commands 📚.
A cat(1) clone with syntax highlighting and Git integration.
tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen.
A smarter cd command. Supports all major shells.