Project ScanGov is a government digital experience monitor.
Audit data is committed to the repo at public/data/myscangov_homepage_audits.json. The build uses this file directly.
To refresh the data, run the fetch script with the SCANGOV_HASH_SECRET environment variable (find the value in the closed auditor repo):
SCANGOV_HASH_SECRET='...' node scripts/fetch-auditor-data.js
The fetch script pulls from the auditor API, filters incomplete records, validates state coverage, and overwrites the data file. Commit the updated file to deploy new data.
If SCANGOV_HASH_SECRET is not set, the build skips the fetch and uses the committed data file.
- Push to main: The
deploy-to-ghpagesworkflow builds and deploys on every push to main. - Manual: The same workflow can be triggered manually from the GitHub Actions UI via
workflow_dispatch.
Each domain record includes pre-computed scores across 4 audit topics:
- Accessibility - Individual Lighthouse accessibility audits
- Botability - Crawlability, sitemaps, robots.txt, schema markup
- Security - HTTPS, CSP, HSTS, security.txt, .gov domain
- Usability - Performance metrics, meta tags, readability, viewport
The auditor API returns only domains audited within the last 30 days that have complete data across all 4 topics.
We encourage collaboration.
- Submit an issue or pull request
- Post feedback to the
repo-scangov-projectchannel in ScanGov Discord - Web form