Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanhalley/lighthouse-pizza-teer
This is sample code on how to use Puppeteer alongside Lighthouse to run analysis on webpages behind an authentication wall.
https://github.com/evanhalley/lighthouse-pizza-teer
lighthouse nodejs pizza puppeteer
Last synced: about 10 hours ago
JSON representation
This is sample code on how to use Puppeteer alongside Lighthouse to run analysis on webpages behind an authentication wall.
- Host: GitHub
- URL: https://github.com/evanhalley/lighthouse-pizza-teer
- Owner: evanhalley
- License: mit
- Created: 2020-05-11T20:46:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T05:32:35.000Z (almost 2 years ago)
- Last Synced: 2023-03-22T10:29:57.579Z (over 1 year ago)
- Topics: lighthouse, nodejs, pizza, puppeteer
- Language: JavaScript
- Homepage: https://evanhalley.dev/post/lighthouse-pizza-teer
- Size: 206 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lighthouse-pizza-teer
This is sample code on how to use Puppeteer alongside Lighthouse to run analysis on webpages behind an authentication wall. See the walkthrough at [https://evanhalley.dev/post/lighthouse-pizza-teer](https://evanhalley.dev/post/lighthouse-pizza-teer).
## Setup
1. Create an account at [https://salviospizza.hungerrush.com/](https://salviospizza.hungerrush.com/)
2. Run `npm i` to download the dependencies.
3. Create a file in the root of this repo called `.env` with the following format.```
[email protected]
PASSWORD=your-password
```4. Run the script by typing `node .`.
5. Two reports will be generated `report.html` and `report.json`.If you are local to the Raleigh area, go ahead and order a Pizza and enjoy! 🍕