marcoroth

    marcoroth/herb

    ๐ŸŒฟ A modern templating language for the HTML+ERB you already have.

    frontend
    engine
    erb
    hacktoberfest
    html
    parser
    TypeScript
    MIT
    1.3K stars
    155 forks
    1.3K GitHub watchers
    Updated Oct 29, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    3 releases in the last 90 days, the latest 10 days ago, with 86 contributors on GitHub.

    Gained 25% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a modern, HTML-aware parser and tooling ecosystem for HTML+ERB templates.
    • Delivers precise, unified parsing and developer tools that understand HTML and ERB as first-class citizens.
    • Use for integrating real-time diagnostics and error checking of HTML+ERB files in code editors.
    • Use for automating consistent formatting and linting of HTML+ERB templates in CI pipelines.
    • Ideal for building custom developer tools or language services that manipulate or analyze HTML+ERB code.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    HTML+ERB (HTML + Embedded Ruby)

    Powerful and seamless HTML-aware ERB parsing and tooling.

    Herb is an ecosystem of developer tooling built specifically around HTML+ERB (.html.erb) files. It is designed to simplify and enhance the experience of working with HTML+ERB templates through precise, accurate tooling.

    At the core of Herb is the Herb Parser, a fast, portable, and HTML-aware ERB parser written in C. The parser generates a detailed, accurate syntax tree that serves as the foundation for reliable code analysis, transformations, and developer tooling.

    The Herb ecosystem includes developer tools (CLI, language server, formatter, linter), language bindings (for Ruby, Node.js, and the Browser using WebAssembly), and utility libraries (language service, highlighter, minifier, printer). All these components leverage the Herb Parser's syntax tree to provide consistent, accurate, and helpful tooling experiences.

    Herb provides a complete ecosystem of HTML+ERB tooling, designed to simplify and enhance your daily workflow. Built on the Herb Parser, it offers multiple tools that integrate seamlessly into editors, developer environments, and CI pipelines:

    You can use Herb programmatically in Ruby, as well as in JavaScript via Node.js, WebAssembly, or directly in browsers.

    For a complete overview of all available tools, libraries, and integrations, visit the Projects page on our documentation site.

    Excerpt from the marcoroth/herb README on GitHub (MIT license). ยฉ its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    155+41

    Open issues

    213-19

    Compared with peers in Frontend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    marcoroth/herb compared with Frontend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    heygen-com/hyperframes79.6K+4.1K45today
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    remotion-dev/remotion71.1K+2.2K45today
    chthollyphile/folia-major11.7K+1.5K40today
    marcoroth/herb1.3Kโ€”5910 days ago
    Category median71.1K+2.4K45โ€”

    Discover Repositories

    Search across tracked repositories by name or description