This application allows you to share clipboard text with computers across the network with TCP sockets on both Linux and Windows.
Program follows pull
model, where user triggers action to pull clipboard from another machine by making TCP request. Read more about triggers and their delivery to the app in the next section.
- On Linux systems app waiting for SIGUSR1 signals to trigger pull action.
- On Windows machines app listening local TCP socket for
CLIPBOARD_PULL_START
message. Maybe this will be changed in the future and replaced with another IPC method.
Later you can create custom key mappings in your OS, to control clipbord pulling. See this directory for references.
Recommended way to start app is to create user specific systemd service on Linux, and scheduled task on Windows.
go install github.com/fdemchenko/rclipboard
- to install remote clipboard
go install github.com/fdemchenko/rclipboard/cmd/pinger
- to install tcp client for sending trigger (optionally, for Windows)
Usage of rclipboard:
-listen-addr string
TCP listen address
-remote-addr string
TCP remote address of another clipboard