@sitelensapi/report-viewer
v0.1.0
Published
SiteLens Reports shared viewer — React presentation over SiteLensReportV1 (local-first, no upload)
Readme
@sitelensapi/report-viewer
Shared, local-first SiteLens report viewer for Dashboard and Desktop shells.
Audience: SiteLens application developers embedding the viewer. End users: sitelensapi.com/reports and app.sitelensapi.com/tools/reports.
Package boundary
- Peers:
react/react-dom^19 - Depends on:
@sitelensapi/reports(browser entry for validation/summarize) - Styles: scoped CSS variables (
styles.css) — not Tailwind - I/O: shells own file pickers / Tauri; this package validates and presents
Usage
import {
loadCanonicalReportText,
openPortableReportZip,
SiteLensReportViewer,
} from "@sitelensapi/report-viewer";
import "@sitelensapi/report-viewer/styles.css";ZIP limits
| Limit | Value | |-------|-------| | Max entries | 2,000 | | Max uncompressed | 200 MB | | Max single entry | 50 MB |
Traversal, absolute paths, and checksum mismatches are rejected.
Privacy
Nothing is uploaded by this package. Screenshot pixels are not redacted — warnings remain visible.
Full docs: docs/sitelens-reports.md.
