GithubHelp home page GithubHelp logo

nonrational / privnote-cli Goto Github PK

View Code? Open in Web Editor NEW
45.0 7.0 7.0 68 KB

:key: the power of privnote.com in your terminal

Home Page: https://www.npmjs.com/package/privnote-cli

License: GNU General Public License v2.0

JavaScript 100.00%
privnote nodejs one-time-passwords secret-sharing javascript privnote-cli passwords secrets-management

privnote-cli's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.