#paste #pastebin #service #com #terminal #key #format

bin+lib paster

Easily paste from your terminal to services like pastebin.com

2 releases

0.1.1 Jun 11, 2023
0.1.0 Jun 10, 2023

#20 in #paste

21 downloads per month

MIT license

19KB
318 lines

paster

ci workflow crates.io

Easily paste from your terminal to services like pastebin.com

Features

  • Automatic format detection (WIP)
  • Multiple paste destinations (WIP)
  • Easy to configure

How to install

Homebrew

brew tap BugLight/paster https://github.com/BugLight/paster
brew install paster

Cargo

cargo install paster

How to use it

Set your key

Paster comes with pastebin.com configured as a default destination. All you need to get started is to write your key to the config.

paster config dest.pastebin.dev_key <your pastebin.com developer API key>

Create paste from stdin

echo Hello | paster

Create paste from file

paster file.txt

Paste to non-default destination

paster -d other example.rs

Dependencies

~7–22MB
~358K SLoC