entomb / remote-pastebin

simple remote pastebin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remote-pastebin

simple zero-dependency http server that logs POST requests. that's it.

Run as a Docker container

  ## start as a container
  docker run -d -p3033:80 --name remote-pastebin entomb/remote-pastebin

  ## read the output
  docker logs -f remote-pastebin

POST a file

visit http port 3033 or

 ## send a file
 curl http://[ HOST MACHINE]:3033 --data-binary @- < README.md
 
 ## send plain text
 curl http://[ HOST MACHINE]:3033 -d "text here"

Get rid of it

  docker stop remote-pastebin
  docker rm remote-pastebin

About

simple remote pastebin


Languages

Language:JavaScript 52.6%Language:Smarty 42.4%Language:Dockerfile 5.0%