0.2.0 • Published 6 years ago

pasty-cli v0.2.0

Weekly downloads
32
License
AGPL-3.0+
Repository
-
Last release
6 years ago

pasty-cli

pasty-cli is a Typescript command line tool that interfaces with pasty-server to allow anonymous uploading, downloading, and sharing of pastes, collections of files. All pastes are encrypted client-side before transmission for storage. Submitted pastes are solely tied to a server-provided identifier and are typically hosted from a public S3 bucket. The corresponding AES key to each paste never leaves the client, rendering server knowledge of the paste's existence useless. No identifying information about the paste's origin is retained outside of your terminal.

Installation

From npm:

npm install -g pasty-cli

or using yarn:

yarn gobal add pasty-cli

Development installation

Clone this project and run:

yarn install

To build the CLI tool into dist/:

yarn build

Usage

To view builtin help run:

pasty --help

  Usage: pasty [options] <file ...>


  Options:

    -V, --version  output the version number
    -i, --stdin    Read from STDIN until EOF.
    -h, --help     output usage information

Basic usage of pasty involves passing a list of files:

$ pasty image.png main.js lib.js

https://p.brod.es/#/view/fileid/somekey

Which will then return a URL, using a hardcoded URL as a base: https://p.brod.es/#/view/fileid/somekey

Alternatively, you can use stdin to create a paste:

$ dmesg | pasty -i

https://p.brod.es/#/view/fileid/somekey

Changelog

See Changelog

0.2.0

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago