https://github.com/gearnode/privatebin
A powerful CLI for creating and managing PrivateBin pastes with ease
https://github.com/gearnode/privatebin
privatebin
Last synced: 10 months ago
JSON representation
A powerful CLI for creating and managing PrivateBin pastes with ease
- Host: GitHub
- URL: https://github.com/gearnode/privatebin
- Owner: gearnode
- License: isc
- Created: 2019-10-20T19:39:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-19T20:11:19.000Z (about 1 year ago)
- Last Synced: 2025-04-10T01:11:49.863Z (10 months ago)
- Topics: privatebin
- Language: Go
- Homepage:
- Size: 239 KB
- Stars: 63
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
A powerful CLI for creating and managing PrivateBin pastes with ease.
## Overview
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.
## Installation
`privatebin` can be installed using a prebuilt binary, through package
managers, or from source. Follow the instructions below for your
preferred method.
### Arch Linux
[](https://aur.archlinux.org/packages/privatebin-cli/)
[](https://aur.archlinux.org/packages/privatebin-cli-bin/)
Available on the Arch User Repository (AUR). Install using your
favorite AUR helper:
- [privatebin-cli](https://aur.archlinux.org/packages/privatebin-cli/) - Release package
- [privatebin-cli-bin](https://aur.archlinux.org/packages/privatebin-cli-bin) - Binary package
#### Example Installation:
```console
yay -Sy privatebin-cli
```
### Prebuilt binary
Prebuilt binaries are available for a variety of operating systems and
architectures. Visit the latest release page, and scroll down to the
Assets section.
1. Download the archive for the desired edition, operating system, and architecture
2. Extract the archive
3. Move the executable to the desired directory
4. Add this directory to the PATH environment variable
5. Verify that you have execute permission on the file
### Build from Source
1. Clone the repository:
git clone https://github.com/gearnode/privatebin.git
2. Navigate to the project directory:
cd privatebin
3. Build the project (binary and man pages):
make
4. Install the binary and man pages on your system:
make install
## Usage
Create a paste from a file:
cat resume.txt | privatebin create
Display a paste:
privatebin show https://privatebin.net/?420fc9597328c72f#EezApNVTTRUuEkt1jj7r9vSfewLBvUohDSXWuvPEs1bF
## Documentation
For detailed information on all CLI commands and features, check out
the [handbook](doc/handbook.md).
## Support
Encountered a bug or have questions? Feel free to open a GitHub issue
or contact me directly via [email](mailto:bryan@frimin.fr).
## License
This project is released under the ISC license. See the
[LICENSE.txt](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.