www.dpdl.io
Dpdl source code: app/dpdlwebsbrowseapp
This Dpdl applications implements a fully compliant http embedded Web-Server which is capable of serving web content from a defined local directory via HTTP protocol.
The applications provides also a Browser like User Interface (UI) to navigate the hosted web-sites. The browser window supports most content creation technologies available in modern browsers (Html5, css, Javascript) and prvides navigation (reload page, back) and copy/paste of content.
The applications makes use of the Mongoose C network library for the web-server and of the JavaFX libraries for the UI.
The mongoose C network library used to implement the embedded web-server is compiled in memory at runtime by the Dpdl runtime (very fast compile time, 20 ms to compile and start the server). This makes the application completely cross platform without the need to compile native components.
As example web-site, the web-server hosts a dashboard (provided by Mongoose example) for controlling IoT devices via MQTT protocol.
VIDEO of DpdlWebBrowserApp in action
Web-server document root directory listing:
Dashboard IoT device management: (from Mongoose example)
Upload page: