Skip to content

nonrational/privnote-cli

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

privnote-cli Build Status

the power of privnote.com in your terminal

privnote.com: Send notes that will self-destruct after being read.

Privnote.com allows you to create encrypted, burn-after-reading notes over the internet. privnote-cli allows you generate privnote links at the commandline. After you create a note, send the link to your intended recipient to open in a browser.

Installation

npm install -g privnote-cli
# don't forget to `nodenv rehash` if you're using nodenv

Usage

You bring the plaintext; privnote will print the link to stdout and the clipboard.

Type directly into stdin a la gpg. (Recommended)

$ privnote
bob,
the narwhal bacons at midnight.
-- alice
^D
https://privnote.com/n/abcdefghijklmnop/#qrstuvwxyz123456

Pipe the output of a command to privnote.

Be sure to clear your shell history ($HISTFILE) if you included secrets in your command.

$ ruby -e 'require "securerandom"; print "#{SecureRandom.urlsafe_base64(12)}\n";' | privnote
https://privnote.com/n/abcdefghijklmnop/#qrstuvwxyz123456

Privnote files directly via input redirection.

$ privnote < secrets.txt
https://privnote.com/n/abcdefghijklmnop/#qrstuvwxyz123456

Release History

  • v0.2.1 - Fix yarn installation (h/t @deecewan)
  • v0.2.0 - Default to "no-ask" mode & provide --ask flag, upgrade to Privnote Ver. 1.1-24-gffcdb2d
  • v0.1.0 - more recent node, remove trailing space, specify license
  • v0.0.12 - Fixed compatibility with Privnote Ver. 1.0-41-g038c13a
Releasing
echo "doh! i forgot the releasing section" >> README.md
git add --all
git commit -m"added the releasing section, bc i'm forgetful."
npm version patch
git push origin master
npm publish