# pocketjoso/penthouse

Generate critical css for your web pages

Repository: https://github.com/pocketjoso/penthouse
Canonical: https://ross.abutalabs.com/products/penthouse
Homepage: https://jonassebastianohlsson.com/criticalpathcssgenerator
Language: HTML
License: MIT
License Family: permissive
Topics: performance, css, web, nodejs, puppeteer
Last push: 2023-12-03T05:48:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4473, "days_push": 1004, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2680, forks 175 (observed 2026-08-28T04:07:09.983315+00:00)

## What it is
Penthouse is a Node.js library that generates critical path CSS for web pages, extracting the CSS needed to render above-the-fold content from a full stylesheet using headless Chromium via Puppeteer. It is optimized for running many generation jobs in parallel and is production ready.

## Use cases
- generate critical css for my web pages
- inline above-the-fold css to speed up page rendering
- extract critical path css from a full stylesheet
- automate critical css generation for many urls
- reduce render-blocking css on my site

## When to choose
- you want to inline critical CSS to eliminate render-blocking stylesheets
- you need to batch-generate critical CSS for many pages in parallel
- you want a mature, proven Node.js tool driven by real headless Chromium rendering

## When to avoid
- your project does not use Node.js or cannot run headless Chromium
- you need a maintained tool with frequent updates - the latest release is from late 2023
- you only need CSS minification or linting rather than critical CSS extraction

## Facets
- artifact type: library
- maturity: maintenance
- function: css-framework, web-scraping, developer-tools
- domain: web-development, frontend, performance
- platform: cli
- tags: critical-css, puppeteer, headless-chromium, page-speed, above-the-fold, nodejs

## Member repositories
- pocketjoso/penthouse (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.983315+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:56.564341+00:00, confidence not recorded.
  - readme: https://github.com/pocketjoso/penthouse (fetched 2026-08-28T04:07:09.983315+00:00, sha a9f64aaa4853)
  - homepage: https://jonassebastianohlsson.com/criticalpathcssgenerator (fetched 2026-08-29T10:00:11.437141+00:00, sha 86263eb1bfc8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
