#x11 #macos #mouse-input #keyboard #input #mouse

app xmirror-server

Locally mirror remote keyboard and mouse events sent over the network

2 unstable releases

Uses new Rust 2024

new 0.2.0 Apr 25, 2025
0.1.0 Apr 24, 2025

#911 in Hardware support

Download history 111/week @ 2025-04-19

117 downloads per month

MIT license

18KB
311 lines

xmirror

Release Crates.io License: MIT

Capture keyboard and mouse events from a local machine and mirror them to a remote server over the network. I use it for remote controlling a media server with my laptop.

Usage

  • On $SERVER: xmirror-server 0.0.0.0:1337
  • On another machine: xmirror $SERVER:1337

Hold Ctrl + Shift + Alt + Super simultaneously to exit.

Platform Support

  • xmirror: MacOS
  • xmirror-server: Linux+X11
  • PRs welcome!

Installation

From a prebuilt binary

Download your binary of choice from the releases page.

From source (via crates.io)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install xmirror
cargo install xmirror-server

Dependencies

~210KB