projectwallace / projectwallace/projectwallace.com

headless scraping, 3rd installment

Open
#350 0 comments 0 reactions 1 assignee View on GitHub

@bartveneman is already working on this.

Since Jul 9, 2026.

api: get-css
Dominant language
Svelte
Stars
3
Forks
0
Avg merge
1d 7h
Merged PRs (30d)
11

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.