-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3215fe1
commit 2eda66e
Showing
1 changed file
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |