You are browsing as a guest. Sign up (or log in) to start making projects!

2h 3m 44s logged

DEVLOG #2 - First Working Audit
Today I continued working on SiteScope AI and got the first real website audit working.
The main goal was to connect the backend to Google PageSpeed Insights and turn its response into something easier to use.
What I worked on today:

Created the basic FastAPI backend
Added the GET / endpoint
Created the POST /api/audit endpoint
Connected the backend to the PageSpeed Insights API
Tested the PageSpeed API manually and explored its JSON response
Created a parser to simplify the PageSpeed response
Extracted Performance, SEO, Accessibility and Best Practices scores
Added the main opportunities/issues to the response
Created mock data and tested the parser
Tested the complete /api/audit endpoint with curl
Refactored the PageSpeed parser into a separate module
Fixed a bug with query parameter serialization

The endpoint can now receive a website URL and return its Lighthouse scores together with the main issues found on the website.
For example, when testing it with example.com, the API returned the scores and detected issues such as a missing meta description, non-descriptive link text, a missing main landmark and a missing charset declaration.
This is still only the backend foundation, but the main idea is finally starting to work.
Next, I want to continue building the analysis pipeline and eventually use AI to turn the raw audit data into useful explanations and recommendations.
Day 2.

0
23

Comments 0

No comments yet. Be the first!