A lighthouse score tracking tool in Go, SQLite and React/Svelte.
Very much in progress..
GET /
Check if the API is up
GET /website?url=https://github.com/
Fetch the latest report saved in the DB for a specific website
Params:
url String (required) (url param)
GET /websites
Fetch the latest report saved in the DB for all registered websites
Params:
url String (required) (url param)
POST /website
Trigger a refetch of the report for a specific website
Params:
url String (required) (url param)
POST /websites
Trigger a refetch of the report for all registered websites
Params:
n / a
GET /view/website?url=https://github.com/
View the latest report for a specific website
Params:
url String (required) (url param)
GET /view/websites
View the latest reports for all registered websites
Params:
TBC