https://github.com/zakaton/ukaton-mission-udp-server
a simple server to connect to the Ukaton Missions via UDP, then relay sensor data to a WebSocket client
https://github.com/zakaton/ukaton-mission-udp-server
Last synced: 6 months ago
JSON representation
a simple server to connect to the Ukaton Missions via UDP, then relay sensor data to a WebSocket client
- Host: GitHub
- URL: https://github.com/zakaton/ukaton-mission-udp-server
- Owner: zakaton
- License: mit
- Created: 2022-11-22T20:59:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T05:30:23.000Z (over 2 years ago)
- Last Synced: 2024-12-29T10:27:57.779Z (over 1 year ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ukaton-Mission-UDP-Server
a simple server to connect to the Ukaton Missions via UDP, then relay sensor data to a WebSocket client
On macOS:
for the security stuff, run the command in the terminal:
`sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./key.pem -out cert.pem`
Windows is the same but without `sudo`, if you have openssl installed
put the \*.pem files in the /sec/ folder
install https://code.visualstudio.com/ & https://nodejs.org/en/
install npm in terminal: sudo npm install
install yarn in VS Code terminal: npm install
start localhost: node index.js
open https://_YOUR_IP_ADDRESS_:8080/ws on chrome replacing `YOUR_IP_ADDRESS` with our ip address, and select "Proceed to _YOUR_IP_ADDRESS_ (unsafe)"
open http://ukaton-side-mission-dev.glitch.me/udp in chrome, and type in your ip address