Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 628 Bytes

readme.md

File metadata and controls

31 lines (22 loc) · 628 Bytes

termbin

Termbin is a tool that lets you create termbins (like pastebins) from the command line.

Usage

# create a termbin from a file
termbin main.rs

# can read from stdin as well, just omit the filename:
echo testing | termbin

# copy the url after creating it (instead of printing it)
termbin main.rs -c

Installation

You'll need an up to date rust toolchain and git.

# recommended:
git clone https://github.com/insomnimus/termbin
cd termbin
git checkout main
cargo install --path .

# alternative:
cargo install --git https://github.com/insomnimus/termbin --branch main