marcoroth/herb
🌿 Powerful and seamless HTML-aware ERB toolchain. observed · 2026-09-03
Health v2 · maintenance only
90/100
- Activity 100
- Release rhythm 95
- Longevity 59
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 7.5
- age_days: 827
- days_rel: 32
- days_push: 0
- n_releases_24m: 41
Adoption not part of the score
1295 stars · 134 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Herb is an HTML-aware ERB toolchain built around a fast C parser that produces detailed syntax trees for HTML+ERB templates. It ships developer tools (CLI, language server, formatter, linter), language bindings for Ruby, Node.js, Java, Rust, and WebAssembly, and an Erubi-compatible rendering engine.
Use cases
- parse html.erb templates into a syntax tree
- lint and format ERB view files
- add ERB language server support to an editor
- replace Erubi with an HTML-aware ERB rendering engine
- analyze Rails templates for HTML validation and security checks
- highlight or minify HTML+ERB templates
When to choose
- you work with .html.erb files in Rails or other Ruby web frameworks and want modern tooling
- you need accurate, error-tolerant parsing of interleaved HTML and Ruby code
- you want editor integration (LSP), formatting, or linting for ERB templates
When to avoid
- you use templating languages other than ERB (broader support is still planned)
- you need a fully stable formatter, which is still experimental
- your project has no HTML+ERB templates
Facets
library · maturity active
parser linter formatter templating cli editor developer-tools web-development parsers developer-tools frontend ruby rust cli wasm cross-platform erb html language-server syntax-tree rails ruby-tooling lsp nodejs
3 sources
- readme: https://github.com/marcoroth/herb · fetched 2026-09-03 · e59b9abc0989
- homepage: https://herb-tools.dev · fetched 2026-08-29 · 205cde8381c8
- site_page: https://herb-tools.dev/overview · fetched 2026-08-29 · 5d46552a6676
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marcoroth/herb | main | 90 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem