Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/github/lightcrawler
Crawl a website and run it through Google lighthouse
https://github.com/github/lightcrawler
chrome crawler google-lighthouse
Last synced: about 1 month ago
JSON representation
Crawl a website and run it through Google lighthouse
- Host: GitHub
- URL: https://github.com/github/lightcrawler
- Owner: github
- License: isc
- Archived: true
- Created: 2017-06-20T18:01:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-27T18:45:18.000Z (over 2 years ago)
- Last Synced: 2024-02-14T23:39:06.717Z (9 months ago)
- Topics: chrome, crawler, google-lighthouse
- Language: JavaScript
- Size: 104 KB
- Stars: 1,493
- Watchers: 62
- Forks: 166
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# lightcrawler
Crawl a website and run it through Google lighthouse```bash
npm install --save-dev lightcrawlerlightcrawler --url https://atom.io/ --config lightcrawler-config.json
```where `lightcrawler-config.json` looks something like this:
```json
{
"extends": "lighthouse:default",
"settings": {
"crawler": {
"maxDepth": 2,
"maxChromeInstances": 5
},
"onlyCategories": [
"Accessibility",
"Performance",
"Best Practices"
],
"onlyAudits": [
"accesskeys",
"aria-allowed-attr",
"external-anchors-use-rel-noopener",
"geolocation-on-start",
"no-document-write",
"no-mutation-events",
"no-old-flexbox",
"time-to-interactive",
"user-timings",
"viewport",
"without-javascript"
]
}
}
```Enjoy!