docs: add more thorough example
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2025-01-14 08:22:17 +01:00
parent 37df2dcc6d
commit 153edb10d4
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM

View File

@ -7,6 +7,18 @@ Voidpin sends clipboard content to a local service, that then puts content in a
## Usage ## Usage
```bash ```bash
# Local
voidpin copy voidpin copy
VOIDPIN_REMOTE=http://10.0.9.1:19191 voidpin remote copy
# Remote
ip a # 10.0.9.1
voidpin listen & # make voidpin listener run in background
# login to remote
ssh remote@remote
export VOIDPIN_REMOTE=http://10.0.9.1:7900
echo "some content" | voidpin remote copy
# In a browser for example
# Ctrl+v or Command+v
``` ```