/p Command-Line Pastebin

Pipe a log, a diff, or any text straight from your shell and get back a short URL to share — plaintext in a terminal, highlighted in a browser. It is stored only until it expires.

POST · GET HTTPS only no signupauto-expires
cat app.log | curl --data-binary @- https://curlhub.sh/p

Usage

With curl

cat app.log | curl --data-binary @- https://curlhub.sh/p
git diff | curl --data-binary @- https://curlhub.sh/p

With the CLI

cat app.log | curlhub p
dmesg | curlhub p

Output

Parameters

InputWhat it does
--data-binary @-Pipe the text in from stdin. Stored verbatim.
--data-binary @filePaste a file’s contents.

Recipes

Share a failing log with a teammate

kubectl logs mypod --tail=200 | curlhub p

They open the URL in a browser; it disappears on its own once the TTL is up.

Paste a diff for review

git diff | curl --data-binary @- https://curlhub.sh/p