pb is a formerly-lightweight pastebin and url shortener
.. image:: https://img.shields.io/circleci/project/github/ptpb/pb.svg :target: https://circleci.com/gh/ptpb/pb
.. image:: https://img.shields.io/codecov/c/github/ptpb/pb.svg :target: https://codecov.io/gh/ptpb/pb
.. image:: https://img.shields.io/docker/automated/ptpb/pb.svg :target: https://hub.docker.com/r/ptpb/pb
pbis a lightweight pastebin and url shortener built using
There is currently no known general-purpose public pb deployment. See
#246_ for details.
pb comes with a
docker-compose.yamlto start development environments easily. Refer to relevant documentation for how to install
start pb with::
pb will be listening on
ptpb.pw (the reference deployment) uses
ptpb-deploy_, which includes TLS termination, automatic x509 certificate rotation, and response caching.
For a simpler deployment, the included
docker-compose.yamlcan be used verbatim, and are easy to read/study.
Other best practices include:
not using a shared/system python, when this is shared with packages other than pb
pyenv_ is a good option
not using debian or centos