/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.
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
cat app.log | curl --data-binary @- https://curlhub.sh/p
https://curlhub.sh/p/AImSGxRZ
# one URL back — expires after its TTL (no permanent storage)
Parameters
| Input | What it does |
|---|---|
--data-binary @- | Pipe the text in from stdin. Stored verbatim. |
--data-binary @file | Paste 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