No Description

Dmitri Goutnik 0539acdc43 switch to go1.9 runtime 2 months ago
app 0539acdc43 switch to go1.9 runtime 2 months ago
handler 0539acdc43 switch to go1.9 runtime 2 months ago
storage 0539acdc43 switch to go1.9 runtime 2 months ago
LICENSE 7ff6d51a8b initial commit 1 year ago
Makefile 0539acdc43 switch to go1.9 runtime 2 months ago
README.md 0539acdc43 switch to go1.9 runtime 2 months ago

README.md

plain.im

plain.im is a plaintext paste service with 24 hours expiration time.

go get -u syreclabs.com/dg/plain

API

Paste the command output:

command | curl -sF "plain=<-" https://plain.im/

Create an alias:

alias plain='curl -sF "plain=<-" https://plain.im/'

to shorten paste command to just

command | plain

Paste and make link available as an X selection for pasting into X applications (requires xclip):

alias plain='curl -sF "plain=<-" https://plain.im/ | tee /dev/stderr | xclip'

PASTE REMOVAL

Paste can be removed by making a DELETE request to the paste URL:

curl -X DELETE https://plain.im/key'

LICENSE

MIT