This is an embeded python webserver which fetch rtinfo json from a remote endpoint and forward it as websocket
- python 3.5+
- sanic
- websockets
Include wserver/rtinfo-wserver.py
and instanciate it:
rtdashboard = RtInfoDashboard("http://my.endpoint.server.tld:8089/json")
rtdashboard.run()
Edit js/rtinfo-dashboard.js
and change WebSocket("ws://localhost:8092/");
to your endpoint websocket.