Skip to content
 
 

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pastebin

Hacker's Pastebin (curl to post your pastes)

Usage

Random URI

  • Send a POST or PUT request to paste.
  • cat SomeFile | curl -X PUT --data-urlencode paste@- localhost:8080
  • curl -X PUT --data-urlencode paste@myfile.txt localhost:8080
  • iostat | curl -X PUT --data-urlencode paste@- localhost:8080

Custom URI

  • -d name=customURI is to be included
  • cat somefile | curl -X PUT --data-urlencode paste@- -d name=customURI localhost:8080

Installation

  • go get github.com/boopathi/pastebin
  • cd $GOPATH/src/github.com/boopathi/pastebin
  • go build
  • Start your redis-server on localhost:6379
  • Run ./pastebin

LICENSE

http://boopathi.mit-license.org/

About

Hacker's Pastebin (curl to post your pastes)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages