daylight-gui-0.1.0 is not a library.
daylight-gui
A local web interface for Daylight privacy observation.
The binary starts an HTTP server on 127.0.0.1 with a random port,
opens your default browser, and serves a single-page interface. The
HTML, CSS, and JavaScript are embedded in the binary. No external files
and no framework are required.
Usage
The interface lets you pick a running process or a browser tab, start an observation, watch events arrive live, and stop to see the full report.
The API
The server exposes a small JSON API that the page calls.
GET /api/processeslists the processes you own, sorted by memory.GET /api/browser-tabslists tabs from a browser running with--remote-debugging-port=9222.POST /api/startbegins an observation. The body is a serializedObserveTargetfromdaylight-core.GET /api/statusreturns the events captured so far.POST /api/stopends the observation and returns the text report.
The server only accepts connections from localhost. Request bodies are capped at 1 MiB.
License
MIT