Skip to content
Personal snippet manager, store bits of text.
Branch: master
Clone or download
dbalan Merge pull request #18 from dbalan/args_editor
Bug fix: Editor spec can have arguments.
Latest commit 6dd8eac Jul 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Ignore all branches from deploy Mar 6, 2018
cmd Bug fix: Editor spec can have arguments. Jul 12, 2019
pipetdata Delete abstraction for datastore. Mar 15, 2018
.gitignore Use dep for tracking dependencies. Mar 6, 2018 Add contributing guidelines. Mar 27, 2018
Gopkg.lock Bug fix: Editor spec can have arguments. Jul 12, 2019
Gopkg.toml Use dep for tracking dependencies. Mar 6, 2018
LICENSE Init project Jan 31, 2018
main.go Init project Jan 31, 2018

Pipet: snippet manager


Pipet is a set of commands to store and retrieve snippets of text. Depends on fzf for search.


There are multiple ways to get pipet.

  1. As a go package (provided you have a working go setup)
go get
cd $GOPATH/src/
go build
go install # installs to $GOPATH/bin
  1. As a binary release see: On *nix you need to set executable permission (chmod +x pipet)


Pipet looks for config file .pipet.yaml in the home directory. pipet init command can generate a new config.

Sample config

document_dir: "<directory-where-files-are-stored>" # default is ~/snippets
editor_binary: "absolute path to editor you want to use" # default is $EDITOR environment variable



Store and sprinkle code snippets

  pipet [command]

Available Commands:
  delete      Remove snippet from storage (this is irreversible!)
  edit        edit snippet data
  help        Help about any command
  init        Configure pipet
  list        list all snippets
  new         Creates a new snippet and opens editor to edit content
  show        display the snippet

      --config string   config file (default is $HOME/.pipet.yaml)
  -h, --help            help for pipet
  -t, --toggle          Help message for toggle

Use "pipet [command] --help" for more information about a command.


  • Tests, would like more tests.
  • Add an archive flag in place of delete (?)




Follows semantic versioning.


Pipet takes a heavy inspiration from pet and other projects.

You can’t perform that action at this time.