awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
addyosmani avatar

addyosmani/critical

0
View on GitHub↗
10,183 stele·380 fork-uri·JavaScript·apache-2.0·4 vizualizări

Critical

Critical is a tool for extracting and inlining the minimum CSS required to render above-the-fold content. It identifies the styles necessary for the initial visible portion of a page to reduce render-blocking requests and improve page load speed.

The project generates resolution-specific stylesheets to optimize the initial paint across different device dimensions. It includes a utility to rebase asset URLs within extracted styles, ensuring that images and fonts load correctly when stylesheets are moved to different directories or content delivery networks.

The tool provides a command-line interface for integrating the extraction process into automated build pipelines. It supports excluding specific selectors from being inlined to defer non-essential assets and uses headless browser analysis to match CSS rules against the visible viewport.

Features

  • Above-the-Fold Optimization - Identifies and inlines the minimum styles needed to render the initial visible portion of a page.
  • Multi-Resolution Generation - Generates tailored stylesheets for different screen dimensions to ensure optimal above-the-fold rendering across various devices.
  • AST Transformation Tools - Provides utilities for parsing and transforming stylesheets via abstract syntax trees to prune unused rules.
  • Resolution-Specific Generation - Creates tailored critical CSS for different screen resolutions to ensure optimal rendering across device dimensions.
  • Performance Tuning - Optimizes the responsiveness and speed of the frontend by reducing render-blocking CSS requests.
  • Critical Style Extraction - Identifies and extracts the minimum styles required to render the above-the-fold content for specific resolutions.
  • CSS Inlining - Injects extracted critical styles directly into the HTML document to eliminate render-blocking requests.
  • Headless Browsers - Uses headless browser engines to render pages and determine which CSS rules are active in the viewport.
  • DOM-Based Style Mapping - Traverses the rendered page document to map active style declarations back to their source definitions.
  • Static Style Generators - Functions as a build-time tool that compiles critical styles into static CSS to optimize initial paint.
  • Viewport-Based Style Filtering - Identifies critical styles by matching CSS selectors against DOM elements visible at specific screen resolutions.
  • CSS Build Tools - Provides a build-time engine that scans source files to generate and optimize critical CSS styles.
  • Scripting and CLI - Ships a command-line interface for integrating the style extraction process into automated build pipelines.
  • Command Line Interfaces - Provides a production-ready command-line application for extracting critical CSS from HTML files.
  • Asset Path Resolvers - Implements systems for mapping and transforming relative asset links within CSS to valid site URLs.
  • Extraction Workflows - Integrates style extraction into build scripts via a CLI to automate critical CSS delivery.
  • CSS Optimization - Extract and inline critical CSS for faster rendering.
  • Web Performance Utilities - Extracts and inlines critical-path CSS.

Istoric stele

Graficul istoricului de stele pentru addyosmani/criticalGraficul istoricului de stele pentru addyosmani/critical

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Critical

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Critical.
  • stereobooster/react-snapAvatar stereobooster

    stereobooster/react-snap

    5,121Vezi pe GitHub↗

    react-snap is a static site generator and single-page application prerenderer. It converts dynamic client-side components into static HTML files using a headless browser to improve search engine optimization and initial load speeds. The project features a headless browser crawler that automatically discovers application routes by following internal links. It includes a hydration optimizer that captures application state and caches network responses during the rendering process, embedding them directly into the HTML to synchronize the client-side application without re-fetching data. The tool

    JavaScriptprerenderreactseo
    Vezi pe GitHub↗5,121
  • tijsverkoyen/csstoinlinestylesAvatar tijsverkoyen

    tijsverkoyen/CssToInlineStyles

    5,831Vezi pe GitHub↗

    CssToInlineStyles is a CSS inliner for HTML emails that converts stylesheets into inline style attributes on HTML elements. It functions as a style resolver and transformation engine, mapping CSS selectors to HTML tags to ensure consistent visual rendering across diverse email clients and providers. The tool calculates final computed styles by applying specificity and inheritance rules before injecting the resolved properties directly into the style attributes of the corresponding HTML elements. It utilizes DOM-based style calculation and selector mapping to determine which declarations apply

    PHP
    Vezi pe GitHub↗5,831
  • vanilla-extract-css/vanilla-extractAvatar vanilla-extract-css

    vanilla-extract-css/vanilla-extract

    10,387Vezi pe GitHub↗

    vanilla-extract is a type-safe CSS-in-JS library and zero-runtime CSS framework. It uses TypeScript to define styles and design tokens, compiling these definitions into static CSS files during the build process to eliminate styling overhead in the browser. The system acts as a scoped CSS generator, producing unique class names and local variables to prevent global style leakage and naming collisions. It provides a type-safe styling tool that validates CSS property values and ensures design tokens adhere to defined themes during development. The framework covers comprehensive styling utilitie

    TypeScript
    Vezi pe GitHub↗10,387
  • postcss/postcssAvatar postcss

    postcss/postcss

    28,968Vezi pe GitHub↗

    PostCSS is a CSS post-processor and abstract syntax tree transformation tool that parses stylesheets into a structured tree for programmatic analysis and modification. It functions as a plugin-driven pipeline where JavaScript plugins can modify, insert, or delete nodes to transform styles. The project provides a framework for building a custom plugin ecosystem to extend the CSS language with non-standard features such as loops, conditionals, and shorthand properties. It supports multi-syntax parsing through pluggable parsers and stringifiers, allowing it to process various style formats and c

    TypeScriptastcssframework
    Vezi pe GitHub↗28,968
Vezi toate cele 30 alternative pentru Critical→

Întrebări frecvente

Ce face addyosmani/critical?

Critical is a tool for extracting and inlining the minimum CSS required to render above-the-fold content. It identifies the styles necessary for the initial visible portion of a page to reduce render-blocking requests and improve page load speed.

Care sunt principalele funcționalități ale addyosmani/critical?

Principalele funcționalități ale addyosmani/critical sunt: Above-the-Fold Optimization, Multi-Resolution Generation, AST Transformation Tools, Resolution-Specific Generation, Performance Tuning, Critical Style Extraction, CSS Inlining, Headless Browsers.

Care sunt câteva alternative open-source pentru addyosmani/critical?

Alternativele open-source pentru addyosmani/critical includ: stereobooster/react-snap — react-snap is a static site generator and single-page application prerenderer. It converts dynamic client-side… vanilla-extract-css/vanilla-extract — vanilla-extract is a type-safe CSS-in-JS library and zero-runtime CSS framework. It uses TypeScript to define styles… tijsverkoyen/csstoinlinestyles — CssToInlineStyles is a CSS inliner for HTML emails that converts stylesheets into inline style attributes on HTML… uncss/uncss — Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It… postcss/postcss — PostCSS is a CSS post-processor and abstract syntax tree transformation tool that parses stylesheets into a structured… cssnano/cssnano — cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It…