A powerful CLI for creating and managing PrivateBin pastes with ease.
PrivateBin's secure and anonymous paste service is indispensable for many developers and privacy enthusiasts. Recognizing the need for a more efficient way to interact with PrivateBin from the terminal, I developed this CLI tool. It's designed to seamlessly integrate with your workflow, enabling swift creation and management of pastes.
privatebin
can be installed using a prebuilt binary, through package
managers, or from source. Follow the instructions below for your
preferred method.
Available on the Arch User Repository (AUR). Install using your favorite AUR helper:
- privatebin-cli - Release package
- privatebin-cli-bin - Binary package
yay -Sy 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 the desired edition, operating system, and architecture
- Extract the archive
- Move the executable to the desired directory
- Add this directory to the PATH environment variable
- 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 project (binary and man pages):
make
-
Install the binary and man pages 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
For detailed information on all CLI commands and features, check out the handbook.
Encountered a bug or have questions? Feel free to open a GitHub issue or contact me directly via email.
This project is released under the ISC license. See the LICENSE.txt file for details. It's designed with both openness and freedom of use in mind, but with no warranty as per the ISC standard disclaimer.