Open-source cross-platform software KVM for sharing keyboard, mouse, and clipboard across Windows, macOS, and Linux on trusted LANs.
Open-source cross-platform software KVM for sharing keyboard, mouse, and clipboard across Windows, macOS, and Linux on trusted LANs.
One keyboard, one mouse, one clipboard — shared across your Mac, Windows, and Linux machines on the same LAN.
Move your cursor off the edge of one screen and it lands on the next machine. Your keyboard follows, and the clipboard (text and images) syncs automatically. No KVM hardware, no cables. 中文说明
| Display layout | Devices | Settings |
|---|---|---|
IP:port), and click Add. Only devices that report their screen info join the layout.chmod +x).MyKVM is an experimental early release. It is useful for local testing and iteration, but it is not hardened for untrusted networks. See the Releases page for the current version and installers.
47833 (discovery) and UDP 47834 (QUIC transport)Do not expose the transport ports to public or untrusted networks.
MyKVM runs two channels. LAN discovery uses a plain UDP port; input and clipboard run over an encrypted QUIC connection on a second UDP port.
| Channel | Default port | Transport | Marker | Purpose |
|---|---|---|---|---|
| Discovery | UDP 47833 |
UDP datagrams | mykvm.discovery.v1 |
LAN discovery, peer probe/reply, host info, and display metadata |
| Input | UDP 47834 |
QUIC datagrams | mykvm.input.v1 |
Mouse movement, mouse buttons, scroll, and keyboard events (low latency, loss tolerant) |
| Clipboard | UDP 47834 |
QUIC streams | mykvm.clipboard.v1 |
Clipboard text and image sync (reliable, ordered) |
The discovery port is configurable in Settings (default UDP 47833); the QUIC transport port defaults to the discovery port + 1 (UDP 47834). Both auto-fall-back through nearby ports if a port is taken, and can use a system-selected port if needed. Peers advertise their active discovery port, QUIC port, transport public key, and protocol version, so discovered and manually added devices connect to the right port and pin the right certificate.
The QUIC connection is TLS 1.3 encrypted: each peer generates a self-signed certificate at startup and advertises it during discovery, and the connecting side pins that certificate, so input and clipboard traffic is encrypted and bound to the advertised peer. Discovery itself is still plaintext and unauthenticated, so keep MyKVM on a trusted LAN.
Install dependencies:
npm installRun the web UI:
npm run devRun the Tauri desktop app:
npm run tauri:devBuild without bundling installers:
npm run tauri:buildBuild desktop bundles:
npm run tauri:bundleWindows:
powershell -ExecutionPolicy Bypass -File .\scripts\check-dev-env.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\run-tauri-dev.ps1macOS and Linux:
sh scripts/check-dev-env.sh
sh scripts/run-tauri-dev.shmacOS input capture and injection require Accessibility and Input Monitoring permissions in System Settings.
Run these before opening a pull request or cutting a release:
npm run build
npm run lint
cargo check --manifest-path src-tauri/Cargo.tomlGit itself only stores and pushes source history. GitHub Actions does the actual packaging on GitHub-hosted runners.
The release workflow watches pushes to main:
feat: publishes the next minor version, such as v0.1.0 to v0.2.0.fix: publishes the next patch version, such as v0.1.0 to v0.1.1.feat: or fix: push publishes v0.1.0.Release notes come from the ## [Unreleased] section of CHANGELOG.md (user-facing wording), falling back to filtered commit subjects. Keep that section up to date as you land changes.
Example:
git commit -m "feat: initial desktop release"
git push origin mainThe workflow creates the git tag, builds macOS, Windows, and Linux bundles, then publishes a GitHub Release with the generated installers.
| Path | Purpose |
|---|---|
src/App.tsx |
Main React desktop console |
src/desktopApi.ts |
Frontend bridge to Tauri commands |
src/layout.ts |
Display layout transforms and adjacency logic |
src/runtime.ts |
Runtime status types |
src-tauri/src/lib.rs |
Tauri commands, UDP discovery, clipboard sync, app state, and performance sampling |
src-tauri/src/input.rs |
Input capture, forwarding, and injection runtime |
src-tauri/src/quic_transport.rs |
Encrypted QUIC transport (input datagrams, clipboard streams) with certificate pinning |
scripts/ |
Development and build helper scripts |
Issues and pull requests are welcome. Keep changes focused, document behavior that affects the protocol, and verify both the web build and the Tauri backend when touching shared runtime code.
See CONTRIBUTING.md for commit prefixes and versioning notes.
MIT. See LICENSE.
No open issues yet, or sync has not completed.