/mouser

Turn your smartphone into a mouse to control your computer.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

🐭 Mouser

Mouser (mouse remotely): use a smartphone (or any device with a browser) to control your computer mouse.

🙈 Why?

Sometimes the computer is far away and clicking something would require getting up from the sofa. This simplifies that task.

🚴 How to run

  • First build go build
  • Then run ./mouser (or install in gopath/path)
  • Optionally provide flag -addr [host:port] to run at custom location (default 192.168.1.5:8080)
  • Access the address above to control your computer mouse.*

*Tested and used only on Ubuntu 22.04.

📎 Dependencies & requirements

You will need server.crt & server.key files in a subfolder ./cert.
Create self-signed ones with openssl req -newkey rsa:2048 -nodes -keyout server.key -x509 -days 365 -out server.crt.

🤸 Notes/ideas

  • Use smartphone movement (gyro/accleration) to simulate mouse movement?

📑 References