Code snippets in your terminal

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.
$ go install github.com/maaslalani/nap@latest$ brew install maaslalani/tap/nap$ yay -S napto comment.