GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devtoolcss/devtoolcss: Let's build with devtool-parsed CSS!

BranchesTags
Open more actions menu

Latest commit

 

History

290 Commits
290 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
packages
packages
 
 
.gitignore
.gitignore
 
 
.prettierrc.json
.prettierrc.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 

Repository files navigation

DevtoolCSS

DevtoolCSS is a monorepo providing utilities and applications for manipulating DevTool's CSS data, currently supporting Chrome DevTools Protocol (CDP). It aims to demonstrate programmatic use of style panel's information.

Currently there are two applications focusing on inlining:

App Description Release
UI Export A Chrome DevTool extension that exports any components with CSS inlined. Chrome Web Store Version
cleanclone A cli crawler that inlilnes CSS, downloads resources, and rewrites links. NPM Version

Getting Started

If you want to try DevtoolCSS, start with UI Export.

Install the extension, open Chrome DevTools on a page, select an element, and export it in a few clicks.

For automated page-level workflows, see cleanclone.

Each package contains its own installation and usage documentation.

Motivation

I was migrating a WordPress site to code. I thought this would be easy with today’s tools, but it turned out that LLM-based cloners hallucinate CSS, and existing inliners can’t handle huge stylesheets.

However, Devtool can always provide the exact styles applied during rendering. Knowing that it’s all powered by Chrome DevTools Protocol (CDP) — thanks to my previous experience working on Chromium — I decided to create this project.

About

Let's build with devtool-parsed CSS!

Topics

cssdevtools-protocolhtmlinlineweb-crawler

Resources

Readme
MIT license
Activity
Custom properties

Stars

30 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.