Skip to content

Network accessible clipboard for Windows 10 and 11

License

Notifications You must be signed in to change notification settings

sstallion/ClipSock

Repository files navigation

ClipSock is a network accessible clipboard for Windows 10 and 11. It provides functionality similar to the Windows cloud-based clipboard for non-Windows systems. Unlike the cloud-based clipboard, it does not require a Microsoft account and clipboard contents are not shared with remote hosts.

ClipSock is written in modern C++ with no external dependencies. It uses the same protocol as GNU Netcat / Socat, making it ideal for receiving clipboard data over remote SSH tunnels.

Installation

Windows Installer packages can be downloaded from the Releases page or installed using the Windows Package Manager:

winget install ClipSock.ClipSock

Important

The latest version of the Visual C++ Redistributable package for Visual Studio 2019 must be installed, otherwise an error indicating MSVCP140.dll can not be found will occur. This step is not required when using the Windows Package Manager as it will install this package automatically.

CMake workflow presets are available to build installer packages from source using Visual Studio 2019. Install the prerequisites documented in Making Changes, then issue:

cmake --workflow --preset Release-MSVC-x64 ; or Release-MSVC-x86

Note

Once built, installer packages can be found in the build directory.

Configuration

ClipSock is designed to function with minimal user input. After installation, the settings dialog will be shown to confirm the defaults, which should be acceptable for most users:

Once confirmed, the settings dialog may be revisited by right clicking the taskbar notification area icon and selecting Settings from the context menu. The server will automatically restart once the dialog closes.

Important

It is strongly advised to listen to localhost and use remote tunneling to protect the privacy of clipboard data transmitted between hosts.

Additional configuration for popular SSH clients and terminal multiplexers can be found on the Wiki.

Contributing

Pull requests are welcome! See CONTRIBUTING.md for details.

License

Source code in this repository is licensed under a Simplified BSD License. See LICENSE.txt for details.