GitHunt
JE

Turn your smartphone into a mouse to control your computer.

๐Ÿญ 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

Languages

Go59.5%JavaScript20.5%CSS13.5%HTML6.5%

Contributors

GNU General Public License v3.0
Created June 15, 2022
Updated August 18, 2022
jeansibelius/mouser | GitHunt