Mouser (mouse remotely): use a smartphone (or any device with a browser) to control your computer mouse.
Sometimes the computer is far away and clicking something would require getting up from the sofa. This simplifies that task.
- 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.
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
.
- Use smartphone movement (gyro/accleration) to simulate mouse movement?