feuille(1)                      BIN.HEIMDALL.PM                      feuille(1)

NAME
    bin.heimdall.pm - socket-based pastebin

SYNOPSIS
    <command> | nc heimdall.pm 9999
    <command> | torsocks nc \
        wvahkfxtvkim44a2ynkhf5b5rtvpyqgxxvnbn2kowg6eplagtugxvuid.onion 9999

RULES
    Pastes are kept 7 days on the server
    1MiB max per paste
    IPs are *not* logged
    No illegal stuff (please)

DESCRIPTION
    This is a TCP socket-based pastebin, which means anything that
    can send text to a TCP socket works. See OPTIONS for a list of
    available software. Choose your weapon wisely.

OPTIONS
    nc: By far the most popular and is installed by default on most
        systems, but lacks some features. Will make you wait some
        time before getting the link to your paste.

    ncat: More featureful. Will not make you wait for the link since
        it closes the connection once all the data has been sent.
        Works the exact same way as nc.

    <this form>: In case you don't have any access to a terminal or
        if your firewall blocks port 9999. Not really flexible, can't
        send encrypted pastes by itself, but at least you'll be able
        to use your browser for this.

EXAMPLES
    Sending pastes:
        $ echo "Hello, World!" | nc heimdall.pm 9999
        https://bin.heimdall.pm/abcd

        $ cat file.txt | nc heimdall.pm 9999
        https://bin.heimdall.pm/efgh

    Sending encrypted pastes:
        $ cat sekrit.txt | gpg -cao tmp.pgp
        $ cat tmp.pgp | nc heimdall.pm 9999
        https://bin.heimdall.pm/ijkl

    Sending pastes through Tor:
        $ echo "Hello, Tor!" | torsocks nc \
          wvahkfxtvkim44a2ynkhf5b5rtvpyqgxxvnbn2kowg6eplagtugxvuid.onion 9999
        https://bin.heimdall.pm/mnop

    Getting pastes:
        $ curl https://bin.heimdall.pm/abcd
        Hello, World!

    Getting encrypted pastes:
        $ curl https://bin.heimdall.pm/ijkl | gpg -d
        da super sikret

ALIASES
    Put those into your ~/.{ba,z,k}shrc:
        alias pst="nc heimdall.pm 9999"
        alias spst="gpg -cao tmp.pgp && cat tmp.pgp \
                    | nc heimdall.pm 9999 && rm tmp.pgp"

    Now you can do:
        $ cat file.txt | pst
        https://bin.heimdall.pm/qrst

        $ cat encrypted.txt | spst
        https://bin.heimdall.pm/uvwx

SEE ALSO
    Made with *feuille* <https://basedwa.re/tmtt/feuille>
    Inspired by *fiche* <https://github.com/solusipse/fiche>
    and *sprunge* <http://sprunge.us/>