From 153edb10d443d296b6b080bba6dc0719d243d018 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 14 Jan 2025 08:22:17 +0100 Subject: [PATCH] docs: add more thorough example --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad0e661..3e83f77 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,18 @@ Voidpin sends clipboard content to a local service, that then puts content in a ## Usage ```bash +# Local 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 ```