pstbin(1)                        PSTBIN                         pstbin(1)

NAME
    pstbin — client-side pastebin. data lives in the URL.

SYNOPSIS
    # browser
    open /#new

    # curl (nothing stored — response is a self-contained URL)
    <command> | curl -sF 'paste=<-' $HOST

    # local helper (no network; encodes raw base64url)
    <command> | ./pstbin

DESCRIPTION
    pstbin encodes paste contents into the URL fragment (the part after #).
    The server never keeps your data. Share the full URL; anyone with the
    link can read the paste in a browser.

    curl POST hits a stateless encoder: it compresses the body and returns
    a URL. That is not storage — close the tab and the only copy is the link.

    Encoding:
      #v1/r/<base64url>   raw UTF-8
      #v1/z/<base64url>   deflate-raw compressed UTF-8

    Browsers and chat apps limit URL length (often tens of KiB). Large
    pastes may fail to open in some clients.

OPTIONS
    (none)

EXAMPLES
    Create in browser:
      /#new

    Create with curl:
      $ echo hello | curl -sF 'paste=<-' $HOST
      /#v1/z/…

      $ cat notes.txt | curl -sF 'paste=<-' $HOST/api

    Create offline (raw only):
      $ cat notes.txt | ./pstbin
      /#v1/r/…

    View:
      open the printed URL in any browser

SEE ALSO
    https://github.com/aaqaishtyaq/pstbin
    ix.io (RIP), 0x0.st, sprunge.us

                                PSTBIN                          2026
[new paste]