# maragudk/gomponents

HTML components in pure Go.

Repository: https://github.com/maragudk/gomponents
Canonical: https://ross.abutalabs.com/products/gomponents
Homepage: https://www.gomponents.com
Language: Go
License: MIT
License Family: permissive
Topics: golang, go, html, gomponents
Last push: 2026-08-20T11:51:03+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 67, longevity 100
- inputs: {"age_days": 2181, "days_push": 13, "days_rel": 141, "gap_med": 77.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1879, forks 59 (observed 2026-08-28T04:05:48.463720+00:00)

## What it is
gomponents is a Go library for writing reusable HTML 5 components in pure Go code instead of template languages. It renders type-safe, auto-completable HTML with helpers for conditional rendering, text escaping, and grouping.

## Use cases
- build reusable html components in go
- replace go html/template with pure go code
- write type-safe html in golang
- render html 5 from go functions
- server-side html rendering without template languages

## When to choose
- you know Go and HTML and dislike template languages
- you want compiler type safety and IDE autocomplete for your HTML
- you need reusable server-rendered components in a Go web app

## When to avoid
- your team prefers designer-editable template files
- you need client-side rendering or a JavaScript component framework
- you want hot-reloading of HTML templates without recompiling

## Facets
- artifact type: library
- maturity: stable
- function: templating, ui-components, web-framework
- domain: web-development, frontend, developer-tools
- platform: go, cross-platform
- tags: html-components, type-safe-html, no-templates, golang-html, declarative-html

## Member repositories
- maragudk/gomponents (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.463720+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-30T03:14:37.777919+00:00, confidence not recorded.
  - readme: https://github.com/maragudk/gomponents (fetched 2026-08-28T04:05:48.463720+00:00, sha 549e7ca0dc61)
  - homepage: https://www.gomponents.com (fetched 2026-08-29T10:53:15.064055+00:00, sha d5a5f612690c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
