A command-line tool for creating and managing PrivateBin pastes.
A CLI tool for interacting with PrivateBin, the secure and anonymous paste service. It integrates directly into your terminal workflow, letting you create, retrieve, and manage pastes without leaving the command line.
privatebin can be installed via a package manager, from a prebuilt
binary, or from source.
brew install privatebin-cli
Available on the Arch User Repository (AUR). Install using your preferred AUR helper:
- privatebin-cli - Release package
- privatebin-cli-bin - Binary package
yay -Sy privatebin-cliapt-get install privatebin-cli
Prebuilt binaries are available for a variety of operating systems and architectures. Visit the latest release page and scroll down to the Assets section.
- Download the archive for your operating system and architecture
- Extract the archive
- Move the executable to a directory in your
PATH - Verify that you have execute permission on the file
-
Clone the repository:
git clone https://github.com/gearnode/privatebin.git -
Navigate to the project directory:
cd privatebin -
Build the binary and man pages:
make -
Install them on your system:
make install
Create a paste from a file:
cat resume.txt | privatebin create
Display a paste:
privatebin show https://privatebin.net/?420fc9597328c72f#EezApNVTTRUuEkt1jj7r9vSfewLBvUohDSXWuvPEs1bF
Create a paste through a SOCKS5 proxy (e.g., Tor):
cat resume.txt | privatebin --proxy socks5://127.0.0.1:9050 create
For detailed information on all commands and options, see the handbook.
Found a bug or have a question? Open a GitHub issue or contact me via email.
This project is released under the ISC license. See LICENSE.txt for details.