upaste Build Status crates.io

paste.rs / hastebin / general pasting client

Simple client for uploading to paste.rs, hastebin.com, or any site that accepts posting and viewing pastes

Also see the personal server upaste-server and the companion vim-plugin vim-upaste

Installation

Binary releases available for linux & osx. See releases.

For installation on other platforms use cargo: cargo install upaste

Usage

```

simple

cat file | upaste upaste -f

-> ** Success! Content available at: https://hastebin.com/

raw

cat file | upaste --raw upaste --file --raw

-> ** Success! Content available at: https://hastebin.com/raw/

custom paste/read locations

upaste --file --paste-root https://hastebin.com/documents --read-root https://hastebin.com

-> ** Success! Content available at: /

Or specify your alternate roots as ENV vars

UPASTEPASTEROOT=https://paste.rs UPASTEREADROOT=https://paste.rs upaste --file

-> ** Success! Content available at: /

specifying a range of lines (start at line 15, read 30 lines)

upaste --file --start 15 --lines 30

pulling existing paste into file

upaste --pull > ```