3 ms·
Show HN: Zp – A terminal clipboard manager with P2P sync between devices
Hi HN – I've been working on zp, a clipboard manager for the terminal. You can copy file contents or command output with it, and it keeps a searchable history.
The newest update adds peer-to-peer clipboard syncing between machines. You can sync your clipboard history across your laptop, desktop, work computer, etc. No cloud services or accounts — just direct machine-to-machine sync over your local network (or SSH if needed). It runs in the background and just works.
```
# Copy a file's contents to clipboard
zp notes.txt
# Pipe output to clipboard
cat config.yml | zp
# View searchable clipboard history
zp --logs
# Enable P2P sync
zp --sync-enable
zp --add-peer desktop:http://192.168.1.10:8080 http://192.168.1.10:8080
zp --sync-daemon
```