.. image:: https://img.shields.io/github/license/r4sas/PBinCLI.svg
:target: https://github.com/r4sas/PBinCLI/blob/master/LICENSE
:alt: GitHub license
.. image:: https://img.shields.io/github/tag/r4sas/PBinCLI.svg
:target: https://github.com/r4sas/PBinCLI/tags/
:alt: GitHub tag
.. image:: https://img.shields.io/github/release/r4sas/PBinCLI.svg
:target: https://github.com/r4sas/PBinCLI/releases/
:alt: GitHub release
PBinCLI
=======
`PrivateBin `_ CLI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Installing
----------
.. code-block:: bash
$ virtualenv --python=python3 venv
$ . venv/bin/activate
$ pip install pbincli
Usage
-----
By default pbincli configured to use https://paste.i2pd.xyz/ for sending and receiving pastes. No proxy used by default.
You can create config file with variables ``server`` and ``proxy`` in ``~/.config/pbincli/pbincli.conf`` to use different settings.
Example contents:
.. code-block::
server=https://paste.i2pd.xyz/
proxy=http://127.0.0.1:3128
Run inside ``venv`` command:
.. code-block::
$ pbincli send --text "Hello!"
Or use stdin input to read text for paste:
.. code-block::
$ pbincli send - <`_ in the root of the project source code.