pbgopy - Copy and Paste Between Devices
Overview
pbgopy allows you to copy and paste between devices. Share clipboard content across devices with end-to-end encryption.
Quick Start
Copy text
sc pbgopy copy text <text>
Passthrough to pbgopy CLI
sc pbgopy _ <pbgopy-args>
Key Features
- Cross-Device: Copy and paste between devices
- End-to-End Encryption: Secure data transfer
- TTL Support: Set expiration for clipboard data
- Authentication: Optional authentication
- OS Clipboard: Copy from your OS clipboard
- Multiple Encryption: Symmetric-key and public/private key-pair
Installation
go install github.com/nakabonne/pbgopy@latest
Usage Examples
Copy text
pbgopy copy "Hello, World!"
Paste text
pbgopy paste
Copy from OS clipboard
pbgopy copy --from-os
Set TTL
pbgopy copy "Hello" --ttl 60
With symmetric key
pbgopy copy "Secret" --key mykey
With public/private key
pbgopy copy "Secret" --public-key key.pub --private-key key
Notes
- Run
pbgopy --helpto see all available options - Data is encrypted before transmission
- Can be used for secure clipboard sharing