Web interface

Creating a new paste

Once you created your paste you can use the controls in the top-right corner. You can edit a paste or completely delete it. A timer is shown as indication when the paste will expire.

Once it expires, all of its data will be permanently removed.


You can also use the command-line to paste files to jinbin.

NOTE: When using the command-line, syntax highlighting will default to plaintext. You can use the one-time-session link to edit your paste and add the corresponding language.

Basic usage

$ curl -s -F file=@-

The above will output your paste URL, which looks something like this:

NOTE: The URL contains a one-time-session token which gives you a single-browser session to edit or delete your pastebins. The link expires in 10 minutes, so make sure to use it. Make sure you only send to other people, making sure that ?session_token=XXXXXXXXXXXXXXXXXXXXXX is excluded from the URL that you are sharing.

Adding a helper function

You can add a helper function for jinbin in your ~/.bashrc:

function jb { curl -s -F file=@- -F expire="${1:-}" }

Now you can use the jb helper function by doing:

cat ~/myfile.txt | jb

You can also adjust the expiration time.

Possible values are: 10m, 1h, 6h and 24h / 1d. Leaving out the expiration or using an unsupported value will default to 1h.

cat ~/myfile.txt | jb 6h