JE
jeansibelius/mouser
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
On this page
Languages
Go59.5%JavaScript20.5%CSS13.5%HTML6.5%
Contributors
GNU General Public License v3.0
Created June 15, 2022
Updated August 18, 2022