Giter Site home page Giter Site logo

hash-msg-npm's Introduction

Noteburn CLI

Noteburn CLI is a package which uses noteburn.org API to share sensitive data easily and safely through self-destructing messages.

Install

npm install -g noteburn-cli

Create message

Example

$ nb create -b "login:tardis, password:doctor-who"

Example with file

$ nb create -f package.json

Output

Creating message... done! Your message can be read with the following command:
---------------------------------------------------------
nb read -t 26f7364a0bec2a22 -u 72d5b9c60669b30e1190433e21
---------------------------------------------------------
or with curl:
curl https://www.noteburn.org/api/messages/72d5b9c60669b30e1190433e21/26f7364a0bec2a22?output=raw

Usage

usage: nb create [-h] [-b BODY] [-f FILE] [-p PASSWORD]

Optional arguments:
  -h, --help            Show this help message and exit.
  -b BODY, --body BODY  Your message. Incompatible with --file.
  -f FILE, --file FILE  Create message from content of FILE. Incompatible with --body.

Read message

Example

nb read -t 26f7364a0bec2a22 -u 72d5b9c60669b30e1190433e21

Output

Fetching message... done! Here is the message:
------MESSAGE STARTS BELOW------
login:tardis, password:i-forgot-my-password
--------MESSAGE ENDS ABOVE-------
Message above has already been destroyed.

Usage

usage: nb read [-h] -u UUID [-p PASSWORD] [-t TOKEN]

Optional arguments:
  -h, --help            Show this help message and exit.
  -u UUID, --uuid UUID  Your message UUID. UUID is generated and displayed when you create a message.
  -t TOKEN, --token TOKEN Token to decrypt your message with. Token is generated and displayed when you create a message.

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.