Quick share with curl
Pipe text or a file to curl and get a share link back on one line, no sign-in needed.
Examples
Send a command's output
$ tail -n 200 app.log | curl -F 'content=<-' https://plainmote.link/pasteUpload a file as it is
$ curl -F [email protected] https://plainmote.link/pasteSend the raw body, with the options in the address
$ curl --data-binary @app.log 'https://plainmote.link/paste?ttl=1d&filename=app.log'Options
ttlHow long the link works: 10m, 1h, 1d, 7d or 30d. Default 1h.
filenameThe name at the end of the link. A form field, or a query parameter with --data-binary.
Response
201The link, on one line
400Refused, with a one-line reason
SizeAt most 10.00 MiB, kept byte for byte
Served asUTF-8 text as plain text; images, audio and video as themselves; anything else as a download
No account is needed. Requesting /paste without content prints this usage in the terminal.