Snipline is a tool for developers to help store and use command snippets.

Most developers memorize most of their commonly used commands, but there are often long, complex, commands that are either written down or frequently googled.

Snipline is a tool for this exact situation. Keep all of your commands in one app which is easy to search, copy and much more.

The app copies commands to your clipboard so it's easy to run commands while SSH'd into servers. Just paste the result into your terminal session.

Simple search and copy command

The real power of Snipline comes from dynamic commands. Snipline includes variables which you can use to find and replace parts of a command on the fly.

Gif of dynamic parameters

Core features of Snipline

  • Store, create and retrieve your own personal list of snippets
  • Variables for copying commands with unique parameter values on the fly.
  • Keyboard navigation for power-users with Vim (and non-Vim) in mind.
  • Available on any device with an internet connection

Although everything can be done with a mouse I've made keybinds a key focus. Vim users will feel at home using / to enter search and : to enter command mode.

Most keybinds work from mnemonics. You can also use for s for search, e to edit and n for a new snippet. All of the keybinds can be found within the help menu (or by pressing ? / h )

Why Snipline over <insert other tool here>?

I've designed Snipline to have a simple purpose in mind: Retrieve commands as easily as possible. Because of this, it's very fast and effective for organising command-line snippets.

That said, there's no "single-line" limit, so you can store other information, too.  Multi-line code snippets, generic email templates and other text can be used just as easily.

Snipline vs. Alias

I still use aliases for many frequent tasks. Snipline is an extra tool which solves slightly different needs. Take this Git command for example:

git log --oneline --decorate --graph --all

This is a long git command which I will run 99% of the time on my own machine with no parameter changes. Making an alias for this is perfect.

Where Snipline shines is with commands like this.

tar --exclude="pub/media/*" -zcvf public_html.tar.gz public_html

Using Gzip often happens while in SSH, and forgetting parameter order is very possible. With Snipline you can copy this command to your clipboard and paste it into any terminal/SSH session. Not only that, but you can use the variable syntax to change parameter values before you copy without even touching your mouse.

More to come

There's plenty more features that I'm working on to make Snipline even better.

If you like what you see then I'd be delighted if you signed up for the free trial and let me know what you think!