jeansibelius / mouser

Turn your smartphone into a mouse to control your computer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐭 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

About

Turn your smartphone into a mouse to control your computer.

License:GNU General Public License v3.0


Languages

Language:Go 59.5%Language:JavaScript 20.5%Language:CSS 13.5%Language:HTML 6.5%