Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Mar 7, 2014
1 parent 3215fe1 commit 2eda66e
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
privnote-cli
============

the power of privnote.com at your fingertips
# **privnote-cli**:
_the power of [privnote.com](https://privnote.com) in your terminal_

#### [privnote.com](https://privnote.com): Send notes that will self-destruct after being read.

Privnote allows you to create one-time-pad encrypted, burn-after-reading notes over the internet. It's a great way to share passwords or other sensitive peices of information. But, you have to use a web browser! Or, should I say, _had_ to.

You've got three options when invoking privnote-cli.

Pass your note as argument(s)

```
node privnote-cli.js hi my name is alan
node privnote-cli.js "hello. how are you?"
```

Pass your note via stdin

```
echo "the rain in spain stays mainly in the plain" | node privnote-cli.js
```

Use a here document to pass multiline notes:

```
node privnote-cli.js << EOF
<note-part-1>
<note-part-2>
EOF
```

After invocation, the privnote url will be printed at the commandline. If you use the bash wrapper for osx, it will also be copied to your clipboard.

0 comments on commit 2eda66e

Please sign in to comment.