Your snippets,
one keystroke away.

Snippits is a keyboard-driven overlay for Linux. Capture the command you just worked out, find it again while you type, copy it, and get back to work.

INSERT ↑↓ recententer saveesc quit synced

Try it: type to search, tab into the list, enter to copy.

features

Capture in a keystroke

Hit your shortcut, type or paste, press enter. Multi-line code keeps its shape. Typing something you already saved copies the saved one instead of making a second.

Find it while you type

Fuzzy search over everything you have saved, exact matches first, answered before your next keypress. Tab into the results and the preview shows the whole thing.

Recall, like your shell

Up steps back through the snippets you used most recently; down brings back what you were typing. Enter uses it again.

Every version kept

Edit a snippet and the old one goes to its history, ready to copy or restore. Deleted something by mistake? Undo it, or pick it out of the recently deleted list.

Tags that stay tidy

Tag mode suggests the tags you already use, most used first, and keeps them in one form, so docker, Docker and #docker are the same tag.

Sync without losing edits

Sign in and your snippets follow you between machines. It works offline and catches up later; when two machines edit the same snippet, the later edit wins and the other stays in history.

keys

Everything is a key away; the status line always shows the ones that matter right now.

INSERT
type
search, or write a new snippet
enter
save it (or copy it, if it is already saved)
shift enter
new line
↑ ↓
recently used snippets
tab
into the results
C-b
recently deleted
C-,
account and settings
esc
close
SELECT
enter
copy it and close
C-e
edit
C-t
tag
C-h
history: older versions
C-d
delete
C-z
undo a delete
↑ ↓
move
tab
back to the prompt

yours

Encrypted on your machine

Each account's snippets live in their own encrypted database, with its key in your system keyring. Another account on the same computer sees none of them, and a copy of the file alone is unreadable.

Local first

Snippits works without an account and without a network. Signing in only adds sync: your snippets, and how often you've copied each, are stored on our servers, encrypted at rest, so your other machines can fetch them and your account page can show them. No ads, no analytics: the privacy policy says exactly what's kept.

Take them with you

Export everything as JSON or Markdown whenever you like, from the app or with snippits --export. Deleting your account deletes your snippets everywhere.

Builds you can check

Every release is built by CI from a tagged commit, reproducibly, and comes with checksums and a record of exactly how it was built.

download

Linux x86_64

Wayland or X11. Needs glibc 2.36 or newer and OpenSSL 3, which every current distribution has. Signing in needs a Secret Service keyring (GNOME Keyring, KWallet or KeePassXC).

 

Install

On Fedora and other dnf systems, add the repository and install; updates then come with sudo dnf upgrade.

# add the Snippits repository, then install
sudo curl -fsSLo /etc/yum.repos.d/snippits.repo https://snippits.cc/repo/rpm/snippits.repo
sudo dnf install snippits

Anywhere else, download the archive and SHA256SUMS (beside the button), then:

# check the download, unpack, and put it on your PATH
sha256sum --ignore-missing -c SHA256SUMS
tar -xzf snippits-*-x86_64-linux.tar.gz
install -m 755 snippits-*/snippits ~/.local/bin/
# optional: the menu entry and icon
cp -r snippits-*/share ~/.local/

Bind a key

Snippits opens on a shortcut; pick one in your desktop's settings.

# sway: ~/.config/sway/config
bindsym $mod+space exec snippits
for_window [app_id="snippits"] floating enable

# Hyprland: ~/.config/hypr/hyprland.conf
bind = SUPER, SPACE, exec, snippits
windowrulev2 = float, center, class:^(snippits)$

# GNOME: Settings → Keyboard → Custom Shortcuts
# command: snippits