Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 704 Bytes


Hacker's Pastebin (curl to post your pastes)


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


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


Something went wrong with that request. Please try again.