headless scraping, 3rd installment
Maintainers usually reply within 1 day
@bartveneman is already working on this.
Since Jul 9, 2026.
Assessment
This issue has not been assessed yet.
Description
summary
Setup an endpoint that does headless scraping of a url and give a detailed, actionable overview of what should be improved about your css.
Perf
- skip downloading images and fonts
- use sensible timeouts
Features
- scrape css
- analyze coverage
-
- trigger hover/focus states
-
- trigger dark/light modes
-
- trigger reduced motion/transparency
-
- etc etc
- show high level results, link to deeper pages for deeper analysis
- allow scraping directly from homepage
-
- use view transition to result page
-
- make easy to share url with coworkers
implementation
- Connect to a 3rd party that allows to run playwright fully headless.
- Cover the variants listed above to increase coverage
- Run a tiny, fast crawler to scrape more and relevant pages
- combine coverage reports in the end
- can we do calculated result of css values that consist of one or more variables? Example: syntax website colors use a system of vars but they can be computed at runtime
- Maybe look at visbug to see if we can use it to extract information
- check if all referenced files (font face urls, background imgs) are used and download successfully
- Dominant language
- Svelte
- Stars
- 4
- Forks
- 0
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 23
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from projectwallace/projectwallace.com
-
components defect page: analyze-css
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
projectwallace/projectwallace.com#500 ·
Maintainers usually reply within 1 day
-
platform: ci platform: security
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
projectwallace/projectwallace.com#498 ·
Maintainers usually reply within 1 day
-
platform: design
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#377 ·
Maintainers usually reply within 1 day
-
page: blog
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#375 ·
Maintainers usually reply within 1 day
-
page: blog
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#299 · 1 comment ·
Maintainers usually reply within 1 day