https://github.com/mvrilo/remote-trackpad-wasm
https://github.com/mvrilo/remote-trackpad-wasm
cgo go wasm websocket
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mvrilo/remote-trackpad-wasm
- Owner: mvrilo
- Created: 2019-06-17T20:50:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T22:53:19.000Z (about 6 years ago)
- Last Synced: 2025-03-26T19:02:15.023Z (6 months ago)
- Topics: cgo, go, wasm, websocket
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remote Trackpad WASM
Remote trackpad built with go, websockets and wasm.
This is an unfinished yet working PoC implemented for Mac OS, using the CoreFoundation api. This was built as an experiment to mess around with cgo and wasm support in go.
## Building
`make`
## Certificate
Generate a certificate and install it on your mobile device. You can use [mkcert](https://github.com/FiloSottile/mkcert) for it. Make sure to [enable full trust](https://support.apple.com/en-nz/HT204477) after installing it.
## Example usage
```
./remote-trackpad-wasm \
-addr 10.0.0.3:4430 \
-cert ./cert.pem \
-key ./key.pem
```Access `https://10.0.0.3:4430` from a mobile device in your local network and drag around the webpage.
After the server start, the system will ask you to grant access to accessibility features.## Author
Murilo Santana <>