# 11ty/webc

Single File Web Components

Repository: https://github.com/11ty/webc
Canonical: https://ross.abutalabs.com/products/webc
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-12-02T16:44:41+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 45, longevity 100
- inputs: {"age_days": 1454, "days_push": 274, "days_rel": 370, "gap_med": 6, "n_releases_24m": 2}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1407, forks 46 (observed 2026-08-28T04:04:38.368950+00:00)

## What it is
WebC is a framework-independent standalone HTML serializer for authoring Single File Web Components that expand custom elements into standards-based HTML. It supports server-side rendering of web components, component-level CSS/JS asset aggregation, and optional scoped styles via CSS prefixing or Shadow DOM.

## Use cases
- server-side render web components without duplicating markup
- author single-file web components with scoped CSS
- aggregate component CSS into critical CSS
- use web components in Eleventy or Express apps
- build progressive-enhancement friendly components without a JS framework

## When to choose
- you want framework-independent web components with SSR support
- you use Eleventy and want a component authoring format
- you prefer web standards over a heavy frontend framework

## When to avoid
- you need a full client-side reactive framework with state management
- your stack does not run on Node.js
- you need broad ecosystem tooling like HMR and dev servers out of the box

## Facets
- artifact type: library
- maturity: active
- function: ssr, templating, ui-components, frontend-framework
- domain: web-development, frontend
- platform: -
- tags: web-components, single-file-components, html-serializer, eleventy, shadow-dom, progressive-enhancement, critical-css, nodejs, javascript

## Member repositories
- 11ty/webc (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.368950+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-30T04:38:36.937376+00:00, confidence not recorded.
  - readme: https://github.com/11ty/webc (fetched 2026-08-28T04:04:38.368950+00:00, sha 80b388df877d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
