daylight-gui 0.1.0

Daylight GUI - embedded web server with privacy observation interface
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

daylight-gui

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/processes lists the processes you own, sorted by memory.
  • GET /api/browser-tabs lists tabs from a browser running with --remote-debugging-port=9222.
  • POST /api/start begins an observation. The body is a serialized ObserveTarget from daylight-core.
  • GET /api/status returns the events captured so far.
  • POST /api/stop ends the observation and returns the text report.

The server only accepts connections from localhost. Request bodies are capped at 1 MiB.

License

MIT