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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
google avatar

google/gumbo-parserArchived

0
View on GitHub↗
5,190 stars·664 forks·HTML·Apache-2.0·14 views

Gumbo Parser

Gumbo-parser is a high-performance HTML5 parsing library written in pure C99. It transforms raw markup into a structured document tree by implementing the formal state-machine tokenization and error recovery rules defined in the HTML5 specification.

The project serves as an HTML source mapping tool, linking parsed nodes back to their original byte offsets and pointers within the input buffer. This allows for the precise tracking of source locations for elements within the resulting parse tree.

Beyond full document processing, the library handles isolated HTML fragments and provides a C-based foreign function interface to enable integration and language bindings for other environments.

Features

  • HTML5 Parsers - Provides a high-performance parser that strictly adheres to the HTML5 specification for transforming markup into structured trees.
  • Token Offset Mapping - Maps structural nodes to their exact byte offsets within the input buffer to avoid data duplication.
  • Source Text Mapping - Maps elements in the resulting parse tree back to their exact character offsets in the source text.
  • AST-to-Source Mappings - Links parsed nodes in the resulting tree back to their original source code offsets.
  • DOM-to-Source Mappings - Links structural DOM nodes back to their originating source positions using byte offsets and pointers.
  • C99 HTML Parsing - Implements high-performance HTML processing in pure C99 for lightweight and fast integration.
  • Markup State Machines - Employs a deterministic state machine to transform raw character streams into discrete HTML5 tokens.
  • Spec-Driven Recovery - Uses official HTML5 specification rules to recover from malformed markup and ensure a consistent document tree.
  • HTML Parsers - Provides a C99-based engine that converts raw HTML strings into structured trees for programmatic analysis.
  • Source Location Mapping - Maps parsed HTML elements back to their original source locations to track content existence within a file.
  • Parsing Pipelines - Separates the initial tokenization process from the tree construction phase to correctly handle nested elements.
  • In-Memory Tree Hierarchies - Implements the parsed document as a hierarchy of linked nodes using C99 pointers for efficient traversal.
  • HTML Content Processing - Parses isolated HTML snippets into structured data representations without needing a full document.
  • DOM Fragment Parsing - Processes isolated snippets of HTML markup into structured fragments without requiring a full document.
  • Build Systems - A library for parsing HTML5 documents.
  • Networking Libraries - HTML5 parsing library for C99.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.

Star history

Star history chart for google/gumbo-parserStar history chart for google/gumbo-parser

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Gumbo Parser

Similar open-source projects, ranked by how many features they share with Gumbo Parser.
  • anglesharp/anglesharpAngleSharp avatar

    AngleSharp/AngleSharp

    5,499View on GitHub↗

    AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a W3C compliant document object model. It functions as a programmatic HTML generator and a CSS selector engine for querying and locating specific elements within a DOM. The project provides tools for simulating browser environments to automate web interactions, navigate URLs, and submit forms. It includes a dedicated HTML and CSS minifier to reduce the file size of web assets by removing unnecessary characters. The library supports HTML DOM manipulation and the extraction of s

    C#angle-bracketanglesharpc-sharp
    View on GitHub↗5,499
  • nanomsg/nanomsgnanomsg avatar

    nanomsg/nanomsg

    6,277View on GitHub↗

    nanomsg is a distributed messaging middleware and scalable messaging library designed for moving data between machines and processes. It functions as a socket-based communication framework that routes data across different network transport layers. The library implements scalable messaging patterns, specifically request-reply and publish-subscribe, to handle high volumes of data across distributed systems. It provides tools for network performance benchmarking to quantify messaging throughput and latency. The framework supports distributed message routing and inter-process communication usin

    C
    View on GitHub↗6,277
  • awslabs/s2nawslabs avatar

    awslabs/s2n

    4,736View on GitHub↗

    s2n is a C-based security library and TLS protocol implementation that serves as a secure network transport layer. It provides a modular cryptographic backend interface to encrypt data streams, manage handshakes, and handle mutual authentication between peers. The project focuses on post-quantum cryptography, integrating quantum-resistant key exchange and digital signatures to protect connections against future computing threats. It distinguishes itself through security hardening measures, such as memory-locked secret storage to prevent keys from being swapped to disk and timing-attack mitiga

    C
    View on GitHub↗4,736
  • silentbicycle/socket99silentbicycle avatar

    silentbicycle/socket99

    145View on GitHub↗

    Wrapper library for the BSD sockets API with a nicer C99 interface

    C
    View on GitHub↗145
See all 30 alternatives to Gumbo Parser→

Frequently asked questions

What does google/gumbo-parser do?

Gumbo-parser is a high-performance HTML5 parsing library written in pure C99. It transforms raw markup into a structured document tree by implementing the formal state-machine tokenization and error recovery rules defined in the HTML5 specification.

What are the main features of google/gumbo-parser?

The main features of google/gumbo-parser are: HTML5 Parsers, Token Offset Mapping, Source Text Mapping, AST-to-Source Mappings, DOM-to-Source Mappings, C99 HTML Parsing, Markup State Machines, Spec-Driven Recovery.

What are some open-source alternatives to google/gumbo-parser?

Open-source alternatives to google/gumbo-parser include: anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… silentbicycle/socket99 — Wrapper library for the BSD sockets API with a nicer C99 interface. awslabs/s2n — s2n is a C-based security library and TLS protocol implementation that serves as a secure network transport layer. It… sinemetu1/twitc. nanomsg/nanomsg — nanomsg is a distributed messaging middleware and scalable messaging library designed for moving data between machines… lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other…