Skip to content

Run a lighthouse audit of your website through mesg, triggered by webhook.

License

Notifications You must be signed in to change notification settings

eisenbergrobin/mesg-lighthouse-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mesg-lighthouse-app

Run a lighthouse audit of your website through mesg, triggered by webhook by your favorite CI.

Deploy the necessary services:

mesg-core service deploy https://github.com/eisenbergrobin/mesg-lighthouse
mesg-core service deploy https://github.com/eisenbergrobin/mesg-http
mesg-core service deploy https://github.com/mesg-foundation/service-webhook

Start the application:

node index.js

Request a lighthouse audit of https://mesg.com:

curl -X POST \
  http://localhost:3000/webhook \
  -H 'Content-Type: application/json' \
  -d '{ "task": "lighthouse", "url": "https://mesg.com" }'

View the results:

open http://localhost:8080/report-mesg-com

lighthouse-report

About

Run a lighthouse audit of your website through mesg, triggered by webhook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published