This is the source code to the knotfree.net homepage. It is a React 'pwa' and can be served by any http server that serves a folder of static assest. It can also be installed as an app in iOS and Android. I havn't tried Windows and it's supposed to work on a Mac.
There is access to mqtt5 style iot things from the serial port, from the local next, worldwide over mqtt5 and worldwide in a web browser.
However, to use the end-to-end encryption requires code so this page will form small dashboards for thingss. (see the THINGS
tab)
To serve this locally simply navgate to the /build directory here and then start a server. eg.
python3 -m http.server
will do it.
Click on the 'THINGS' tab to access commands on your thing.
If you make changes simply type yarn build
into a termnal.
To run in develpment mode type yarn start
and it will come up in your browser.
It's running at knotfree.net.
2019 to 2023.
Copyright 2022 Alan Tracey Wootton. See LICENSE.
#knotfree #iot #mqtt #mqtt5 #go #mqtt5nano #reactpwa