Usage: command | curl -F 'data=<-' -F 'type=' -F 'days=' -F 'name=' https://ghostbins.duckdns.org/ Pipe standard output from command into curl. A link to the content uploaded will then be given. (Extension) is file extension. I.e. txt, jpg, or png depending on the content. (Integer) is number of days the paste should survive before pruned. Maximum is 5 day(s). (String) sets a filename. Alphanumeric characters. -F 'type=...' can be omitted. Then plain text is assumed. -F 'days=...' can be omitted. Then the default of 1 day(s) will be used. -F 'name=...' can be omitted. Then a random name of 8 alphanumeric characters will be used. Examples: echo "Hello World" | curl -F 'data=<-' -F 'type=txt' https://ghostbins.duckdns.org/ It'll post the echoed string as text and the content is handled as such. It'll survive for the default amount of time, which currently is 1 day(s). cat MyCat.png | curl -F 'data=<-' -F 'type=png' -F 'days=3' -F 'name=MyAwesomeCat' https://ghostbins.duckdns.org/ This will post the image data from the file "MyCat.png", set the type as png and name it "MyAwesomeCat.png" on the server. It's also set to survive for 3 days. Formats supported are split up into groups depending on the mime-type. Currently supports: Standard text (txt, log ... ) text/plain Always set as *.txt. In browser. Raw text (raw, plain) text/plain No extension appended to the file name. In browser. Shell scripts (bat, ps, sh, csh, zsh ... ) text/x-shellscript Text mode only. Binary payloads will corrupt As Download. Common image formats (png, jpg, gif ... ) image/... Common image formats supported. In browser. Html (html, htm) text/html Will render as a html page Rendered in browser. Compressed archives (7z, zip, rar, gz ... ) application/x-...-compressed Some exotic archives might not be supported As Download. Other archival formats (tar ...) application/octet-stream Glue files together and hope for the best. As Download. Binary (exe, bin, [none]) application/x-binary Use on your own risk. Not scanned. As Download. Video (mkv, mp4, mpg ... ) video/... Don't forget the popcorn! In browser. Audio (wav, mp3, flac, ... ) audio/... Headphones recommended. In Browser. Tips & tricks: Omit all extra form values to simply upload in plain text mode. Example: cat instructions.txt | curl -F 'data=<-' https://ghostbins.duckdns.org/ Set "type" as empty to force upload in binary mode, instead of the default of plain text. Example: cat binaryfile | curl -F 'data=<-' -F 'type=' https://ghostbins.duckdns.org/ Use an alias to reduce the manual labor. Example: alias ghbin="curl -F 'data=<-' -F 'type=txt' -F 'days=5' https://ghostbins.duckdns.org/" Usage: command | ghbin