← back to projects
oss·2024·creator & maintainer

cli-snippets

A terminal-first snippet manager with fuzzy search, tagging, and git sync. Lives where you do — in the shell.

cli-snippets cover

overview

cli-snippets is a tiny Go binary that lets you save, find, and reuse shell commands without ever leaving the terminal. Snippets live in a SQLite file in your home directory and sync via any git remote, so your workflow follows you across machines.

The goal was zero friction: typing `snip` should be faster than scrolling shell history.

key features

  • Fuzzy search across thousands of snippets in <10ms
  • Tag-based filtering with smart autocomplete
  • Git-based sync — bring your own remote, no SaaS
  • Inline placeholders with interactive prompts
  • Single static binary, ~3 MB, zero dependencies

built with

GoSQLiteCobra