a cool way to send keyboard inputs to your friend's pc!!!
- Port forward
3000withTCP - Generate a certificate for https from within the
Backend/folder (openssl req -nodes -new -x509 -keyout server.key -out server.cert) - Run the express app located in
Backend/ - Send your IP to your friend (be careful with this)
- Open the official frontend in your browser, create your own, or directly send
POSTrequests to the api Send textwill send whatever you type- the W, A, S, D, and SPACE buttons are provided for g a m i n g
i have put way too much effort into this readme
- Java is required. I'm not sure what version, so make sure you have a relatively recent version installed, I guess. This was tested with OpenJDK 19, but any version in the last 4 years should probably work.
- Node.js is obviously required. I also don't know which version so try to make sure it's up to date, I guess.
- installer openssl to create certificate if you don't have it installed already
- Try opening the ip:port in a new tab and accept the security risk if requests aren't being sent. Browsers don't like self-signed certs, unfortunately.
- The server ONLY runs on https, so make sure you're attempting to connect to it from https if you're unable to connect
- i am losing my sanity
