Summary
The CLI can emit --html and --json, but profiler.html only renders on-screen. Add a "Download report (HTML)" and "Copy results as JSON" action to the results panel.
Why
Lets users save/share an audit without re-running the CLI. Reuses to_html/to_json logic already in faircode/report.py (port to JS).
Tasks
Summary
The CLI can emit
--htmland--json, butprofiler.htmlonly renders on-screen. Add a "Download report (HTML)" and "Copy results as JSON" action to the results panel.Why
Lets users save/share an audit without re-running the CLI. Reuses
to_html/to_jsonlogic already infaircode/report.py(port to JS).Tasks