@darkobits/shh

0.2.4 • Public • Published

Command line utility for quickly sharing information of nominal sensitivity with others when chat clients, e-mail, or other mediums are not suitable.

Install

npm i -g @darkobits/shh

Use

This utility will start an HTTP server on a random port that will only respond to requests at a random path and that, by default, will automatically shut-down after 1 minute or after the first request is served.

To share a string using the default options:

shh unicorns

Will produce a link like:

http://10.2.3.4:60912/968524719da14def8fa2eb8ce8fc300e

To serve the contents of a local file:

shh -f unicorns.txt

To keep the server running after the first request:

shh unicorns --no-stop

To adjust the shut-down timeout:

shh unicorns -t 5m

By default, information will only be available to other machines on your local network. If you need to share information with someone via the public Internet, pass the -p flag:

shh unicorns -p

This will create a secure tunnel using ngrok with TLS support:

https://50f1751b.ngrok.io/dec57204675841c2903094e65d126341

Readme

Keywords

none

Package Sidebar

Install

npm i @darkobits/shh

Weekly Downloads

10

Version

0.2.4

License

WTFPL

Unpacked Size

1.38 MB

Total Files

12

Last publish

Collaborators

  • darkobits