Skip to content

A powerful CLI for creating and managing PrivateBin pastes with ease

License

Notifications You must be signed in to change notification settings

gearnode/privatebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

255 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrivateBin CLI Logo
A command-line tool for creating and managing PrivateBin pastes.

GitHub License GitHub Tag

Overview

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.

Installation

privatebin can be installed via a package manager, from a prebuilt binary, or from source.

macOS

brew install privatebin-cli

Arch Linux

privatebin-cli on AUR privatebin-cli-bin on AUR

Available on the Arch User Repository (AUR). Install using your preferred AUR helper:

Example

yay -Sy privatebin-cli

Ubuntu / Debian

apt-get install 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 your operating system and architecture
  2. Extract the archive
  3. Move the executable to a directory in your PATH
  4. 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 binary and man pages:

    make
    
  4. Install them 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

Create a paste through a SOCKS5 proxy (e.g., Tor):

cat resume.txt | privatebin --proxy socks5://127.0.0.1:9050 create

Documentation

For detailed information on all commands and options, see the handbook.

Support

Found a bug or have a question? Open a GitHub issue or contact me via email.

License

This project is released under the ISC license. See LICENSE.txt for details.

About

A powerful CLI for creating and managing PrivateBin pastes with ease

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •