This software keyboard sharing tool documents its own security model as untrusted, and that is why it is usable
Open-source cross-platform software KVM for sharing keyboard, mouse, and clipboard across Windows, macOS, and Linux on trusted LANs.
At a glance
- What is it?
- A cross-platform input and clipboard sharer with two network channels, one encrypted and one not, and a limitations section that says exactly which of those two you should be worried about.
- Who is it for?
- Read the limitations section before the feature list, because this tool gives one machine control of another machine's keyboard and clipboard and there is no pairing step yet. The encryption is real and pinned, so what crosses the network is bound to the specific peer that advertised it, but discovery is plaintext and unauthenticated, which means anything on the same network can introduce itself.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 14 days ago.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- XxMinor/mykvm744 ★ · +57
| Repository | 2026-09-21 | 2026-11-25 |
|---|---|---|
| XxMinor/mykvm | 687 | 744 |
57 Stars in the last 65 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A software switcher, and the one thing it does well
The pitch is one keyboard, one mouse and one clipboard shared across a Mac, Windows and Linux machines on the same local network. Push the cursor off the edge of one screen and it lands on the next machine, the keyboard follows it, and copied text and images move with you.
That is the whole product, and it is the thing the existing hardware answer does badly. A physical switch costs money, takes a port on each machine, and gives you one keyboard to plug in. A software one gives you the same thing with an installer and a layout editor.
The screen arrangement step is what makes it usable rather than merely interesting. You open a layout view, drag monitors until their touching edges match where they physically sit, and the crossover happens where you expect. Without that, a two-machine setup with mismatched resolutions and different scaling puts your cursor somewhere you did not predict, and you stop using the tool within a day.
Setup is four steps and only one of them is interesting: install on both machines, pick a role, connect, arrange. The role is which machine keeps its own keyboard and mouse, and that defaults to the one you started on. Peers find each other on the local network automatically, or you type an address if they cannot.
Building it from source is a package install followed by one of the run commands, and the platform toolchain differs per operating system:
npm installThere is a separate command for the desktop shell, one to build without producing installers, one to build installers, and a macOS-specific pair that builds for the current processor architecture and either skips signing or performs it. The presence of a local signing script is the answer to a question the limitations section raises later.
The other notable restriction is that only devices reporting screen information join the layout. That sounds like a caveat and is really a correctness check: a peer with no display geometry has no edges to share, so including it would produce a layout you cannot reason about.
Two channels, one encrypted and one not, and the readme says which
The security section is the most valuable part of the documentation and it is organised as a table of the two network channels, which makes the shape of the risk obvious before you read a word of prose.
Discovery runs on a plain datagram socket with a version marker string. Its job is peer probing, host information and display metadata. It is plaintext and unauthenticated.
Input runs over a QUIC datagram connection on the second port, for mouse movement, buttons, scroll and keyboard events. Its marker names low latency and loss tolerance, which is the correct choice for mouse movement: a dropped packet is better than a delayed one, because a delayed mouse event is a visible stutter.
Clipboard runs over QUIC streams on the same port as input, marked reliable and ordered. Text and images need to arrive intact and in sequence, so streams are right and datagrams would not be.
Using two different QUIC channel types on one connection for a mouse and a notepad is a design detail that is easy to get right and hard to notice, which is exactly right for this kind of tool.
So: the sensitive traffic is encrypted and the traffic that finds the peer is not. That is a defensible design for a trusted network, and it is stated plainly rather than being buried, along with the instruction not to expose the ports to public or untrusted networks. That sentence appears twice in the readme, which is the right number of times.
Certificate pinning by advertisement, and why that is a prototype's answer
The mechanism for the encrypted channel is worth understanding precisely, because it is unusual and because its limits are its limits.
Each peer generates a self-signed certificate when it starts and advertises it during discovery. The connecting side pins that advertised certificate. The result is that the connection is genuine TLS 1.3 over QUIC, and it is bound to the specific peer that advertised that certificate rather than to whatever certificate authority happens to answer.
That is a real improvement over plain QUIC with no verification, and it is the right shape for a network where you have no certificate authority. The traffic is encrypted and it is bound to the peer you were told about.
Now read the other half. Discovery is plaintext and unauthenticated. So the advertisement itself is unauthenticated, which means an attacker on the same network can answer a probe with their own certificate, and a client that pins whatever it was told will happily connect to the attacker.
Pinning prevents a man in the middle between two honest peers. It does not prevent a machine that is pretending to be a peer. Closing that requires the thing the readme says is not yet included: authenticated discovery, plus user pairing or a pin code.
The readme lists those as not yet implemented, twice, and describes the whole thing as a trusted-network prototype. That framing is not false modesty. It is an accurate description of exactly which attacks the current design stops and which it does not.
Permission prompts are the real user experience on macOS
The permissions section is longer than you would expect for a tool that shares a keyboard, and that is because the operating systems differ in how much they hate it.
On macOS, in server role, the app needs both accessibility and input monitoring access, granted in system settings under privacy and security. Those are the two permissions required to capture and inject input. The documentation adds something genuinely useful: signed builds keep the grant across updates, and if it ever drops, toggle it off and on to restore it.
That last sentence saves real time. An accessibility grant that silently disappears on upgrade is a classic desktop-app support issue, and knowing the fix without a bug report is worth a lot.
First launch on macOS warns you because builds are free and self-signed rather than notarised. The instruction is to right-click the application, choose open, then open again to allow it once. That is the documented path for unnotarised software, and it is stated as a step rather than left as an error message you have to interpret.
Windows needs nothing special for normal use, and only administrative rights if you want to control elevated windows. That last clause is the one people get wrong: a switcher that cannot reach a window running as administrator looks like a bug rather than a permission boundary.
Linux needs one thing if you use the portable image format, which is to mark it executable.
Size caps, port fallback, and a hundred beta builds
Three small details in the status section that each solve a real problem.
Clipboard payloads are capped at a quarter of a megabyte of text and thirty-two megabytes of an image. Without the text cap, pasting a large file into a shared clipboard can stall the receiving application. The image cap is generous enough for a screenshot and bounded enough that a mistaken multi-gigabyte paste does not take the connection down.
Both ports fall back through nearby ones if taken, and can use an OS-selected port if needed. That matters more than it sounds: a fixed port on a corporate network or a shared flat is a port someone else already has, and a switcher that refuses to start because of a collision is a switcher people stop using.
The workaround is peer advertisement. Devices advertise their active discovery port, transport port, public key and protocol version, so a manually added device connects to the right place and pins the right certificate. Without advertising, port fallback and manual connection cannot both work, because the two sides would disagree about which port to use.
Then the release history, which is worth reading as a signal. A long sequence of beta builds on the same version number, published over months, with a couple of weeks between some of them. That is what a prototype's release history looks like: frequent builds, one version line, and a warning that the protocol and behaviour may change between versions.
The packaging scripts tell the same story with more precision. There is a macOS build that explicitly does not sign, a separate one that does, and a local signing script. The unsigned path exists so a contributor can produce a working build without a developer certificate, which is why the self-signed warning is a permanent feature rather than a temporary state.
Commit message prefixes decide the version number
The release section is short and unusual. It starts by stating that the version control system only stores and pushes source history and that the automation does the actual packaging on hosted runners. Then it explains the versioning rule, which is that the release workflow watches pushes to the main branch and reads the commit message prefix.
A feature prefix publishes the next minor version. A fix prefix publishes the next patch version. Any other prefix runs the checks but publishes nothing. And if no release tag exists yet, the first matching push creates the first one.
So the version number in the manifest is not something a human bumps. It follows from what you typed at the start of a commit message. That is a real design choice with a real failure mode: a developer who writes a good commit message with the wrong prefix ships nothing, and one who uses a feature prefix for a fix ships a minor version. Both are recoverable and both are annoying.
The alternative, a human bumping a version, has the opposite failure mode and is worse. This approach makes the intent explicit at the point where you already know it, and it means the version and the change are decided together rather than separately.
The rest of the build setup is conventional and worth noting only for the structure. The web interface is a modern component framework with type checking, the desktop shell is a cross-platform toolkit over Rust, and the dependency list is short: five runtime dependencies, all of them either the toolkit's own bridge packages or the component runtime. There is no state management library, no component library and no styling framework, which for an application with three screens is restraint rather than a mistake.
Verification is three commands, run before opening a pull request or cutting a release:
npm run build
npm run lint
cargo check --manifest-path src-tauri/Cargo.tomlPer-platform helper scripts exist for environment checking and development, and on macOS the readme points back to the two permission grants from earlier, because a contributor on a fresh machine will hit them immediately.
Editorial conclusion
Read the limitations section before the feature list, because this tool gives one machine control of another machine's keyboard and clipboard and there is no pairing step yet. The encryption is real and pinned, so what crosses the network is bound to the specific peer that advertised it, but discovery is plaintext and unauthenticated, which means anything on the same network can introduce itself. Run it on a network you trust, not a cafe one. Everything else is unremarkable in the best way: two channels on two ports, a size cap on clipboard payloads, conventional desktop permissions, and version bumps decided by commit message prefix.
Frequently asked questions
What does MyKVM do?
It shares one keyboard, mouse and clipboard across Windows, macOS and Linux machines on the same local network. You push the cursor off a shared edge and it moves to the other machine, the keyboard follows, and copied text and images sync. It needs no hardware switch and no cables.
Is it safe to use on a public network?
No, and the readme says so in the limitations section and again in the status section. Input and clipboard traffic is encrypted and pinned to the peer's advertised certificate, but discovery is plaintext and unauthenticated, so anything on the same network can introduce itself. User pairing, authenticated discovery and production hardening are listed as not yet implemented.
How does the network setup work?
Two channels on two ports. Discovery uses a plain datagram socket on one port for peer probing, host info and display metadata. Input and clipboard share a QUIC connection on a second port, with input on datagrams for low latency and clipboard on streams for reliable ordered delivery.
What permissions does it need?
On macOS in server mode it needs accessibility and input monitoring access in system settings, both required to capture and inject input. Windows needs nothing special unless you want to control elevated windows. On Linux, a portable build needs to be marked executable. The macOS builds are self-signed rather than notarised, so expect a first-launch warning and the documented right-click path to allow it.
How is the version number decided?
By the commit message prefix on a push to the main branch. A feature prefix publishes the next minor version, a fix prefix the next patch version, and anything else runs the checks without publishing. The automation does the packaging on hosted runners rather than a developer machine, which is the part most self-hosted release setups get wrong.
What are the clipboard limits and does it share files?
Clipboard payloads are capped, with a small limit for text and a much larger one for images, so a mistaken large paste does not stall the receiving application. It syncs text and images only, not files, and the protocol and behaviour are explicitly described as experimental and subject to change between versions.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/xxminor-mykvm)Star history chart for your README
[](https://hysenlabs.com/projects/xxminor-mykvm)Was this useful?