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
gosub-io avatar

gosub-io/gosub-engine

0
View on GitHub↗
3,673 stars·182 forks·Rust·MIT·11 viewsgosub.io↗

Gosub Engine

Gosub-engine is an HTML5 browser engine and web rendering pipeline that parses HTML5 and CSS3 to compute layout and render web content to pixels. It functions as a JavaScript runtime environment with a virtual machine and event loop for handling dynamic logic and asynchronous tasks. The system also includes a web storage manager for persisting cookies, local storage, and session storage.

The project features a headless browser renderer capable of generating page images or extracting plain text without a visible window. It supports cross-platform graphics rendering through pluggable CPU and GPU backends, and incorporates a web content isolation model that uses separate storage zones and cookie containers to prevent cross-site data leakage.

The engine covers a broad set of capabilities including HTML and CSS parsing, layout computation via Flexbox and Grid, and a staged rendering pipeline that uses tile-based rasterization and layer composition. It also manages network resource fetching through an asynchronous stack and provides an extensible configuration system to customize the parser, DOM, and CSS modules.

The system can be compiled to WebAssembly to run inside a web browser.

Features

  • HTML Rendering Pipelines - Transforms parsed HTML documents into pixel data via a pipeline that converts DOM and stylesheets into layout.
  • JavaScript Runtime Environments - Functions as a JavaScript runtime environment with a virtual machine and event loop for handling dynamic web logic.
  • HTML and CSS Rendering Engines - Implements a full rendering engine that translates HTML markup and CSS styles into pixel data.
  • Browser Engines - Provides a full browser engine that implements HTML/CSS parsing, layout computation, and visual rendering pipelines.
  • HTML5 Parsers - Implements a specification-compliant HTML5 tokenizer and tree builder to create an arena-based DOM.
  • Origin-Based Isolation - Partitions storage areas using top-level origins to prevent cross-site data leakage.
  • Generic Web Resource Fetching - Retrieves raw HTML and binary data from web addresses using an asynchronous networking stack with streaming support.
  • Font Rasterization Pipelines - Handles font loading and measurement necessary for text shaping across different render backends.
  • Rendering Backends - Allows selection of the rendering backend, supporting headless mode, CPU software rendering, or GPU acceleration.
  • Cross-Platform Graphics Tooling - Provides pluggable graphics backends including CPU software rendering and GPU acceleration for consistent cross-platform output.
  • Web Page Layer Composition - Assembles visible tiles and applies offsets to produce a final frame with fast-path scrolling.
  • Graphics Rendering Backends - Ships pluggable graphics rendering backends supporting software rendering, Cairo, and GPU acceleration.
  • Tile-Based Rasterization Pipelines - Converts documents into pixel data using a staged, tile-based pipeline compatible with multiple hardware backends.
  • Tiled Rasterization Architectures - Employs a tiled rasterization architecture that divides the page into segments to optimize painting and scrolling.
  • Visual Layer Composition - Implements a visual layer composition model to handle opacity and sticky positioning by promoting elements to independent layers.
  • Web Page Rendering - Interprets HTML and CSS to display web pages in a window using cross-platform graphics backends.
  • Flexbox and Grid Layouts - Computes element geometry using specification-compliant Flexbox, Grid, and Table layout algorithms.
  • Asynchronous Networking - Provides an asynchronous networking architecture that decouples transmission and reception to manage concurrent page loads efficiently.
  • Embedded JavaScript Scripting - Embeds a JavaScript runtime with an event loop and native API bindings to handle dynamic web logic.
  • JavaScript Execution Environments - Provides a JavaScript execution environment featuring a virtual machine and event loop for asynchronous tasks.
  • XML and HTML Document Parsers - Transforms raw HTML5 and CSS3 source code into structured in-memory document trees.
  • Storage Isolation - Implements storage isolation by partitioning cookies and local storage into separate zones to prevent cross-site data leakage.
  • Storage Zone Isolation - Separates cookies and storage into distinct zones to ensure data privacy and prevent cross-zone leakage.
  • CSS Cascading Engines - Processes CSS text through parsing, selector matching, and cascading to determine final computed values.
  • Font Rasterizers - Converts font outlines into pixel bitmaps using a rasterizer consistent with the layout font system.
  • CSS Rule Parsers - Parses CSS rules and selectors into structured objects and validates properties against formal grammars.
  • Asynchronous Resource Fetching - Implements asynchronous resource fetching using priority queues and request coalescing to optimize network traffic.
  • Browser Engines - Functions as a complete HTML5 browser engine that transforms source code into rendered pixels.
  • Isolated Browser Contexts - Maintains independent storage and session partitions within the engine to ensure data isolation between contexts.
  • Browser Rendering Pipelines - Implements a staged rendering pipeline that converts DOM trees and stylesheets into rasterized tiles.
  • Context Isolation Managers - Organizes the runtime into isolated profiles to prevent data leakage and ensure independent state management.
  • Event Loop Managers - Coordinates the lifecycle of the scripting runtime, managing timers and event listeners across different browsing contexts.
  • Spec-Compliant DOM Builders - Transforms HTML source into a DOM tree following the HTML5 specification including error recovery.
  • Web Page Navigation - Loads web pages by processing specified URLs through a rendering pipeline to produce visual output.
  • Document Text Extractors - Extracts plain text from parsed web documents by retrieving all text nodes without styling.
  • Application Key-Value Stores - Manages persistent and ephemeral key-value storage maps scoped by origin to maintain application state.
  • Client-Side Data Persistence - Provides dedicated subsystems for persisting cookies, localStorage, and sessionStorage.
  • SVG Rendering Engines - Processes and displays SVG documents to produce visual graphics.
  • Headless Page Captures - Generates full-page PNG images of URLs using a headless rendering pipeline.
  • Arena-Based Memory Management - Implements an arena-based memory management strategy for the DOM tree to optimize cache locality and allocation speed.
  • Native API Bridges - Provides native API bridges to invoke platform methods and hardware capabilities directly from the scripting runtime.
  • Macro-Based Bindings - Uses compile-time macros to map native system functions to the JavaScript runtime for low-level API access.
  • Cookie Management - Manages cookies by isolating them into distinct zones to prevent unauthorized access across different browsing contexts.
  • Browser Context Isolations - Implements a web content isolation model using separate storage zones and cookie containers to prevent data leakage.
  • Pipeline - Reacts to asynchronous notifications from the render pipeline to trigger frame updates or application logic.
  • Modular Engine Architectures - Implements a trait-based system to customize the combination of parser, DOM, and CSS modules.
  • Module Configuration Interfaces - Allows customization of the engine by swapping parser, DOM, and CSS implementations through specific trait-based interface definitions.
  • Tab Management - Controls browser tab navigation and session state through an event-driven interface.
  • Tab Managers - Executes multiple concurrent navigation sessions, managing the lifecycle of several browser tabs simultaneously.
  • Web Storage Implementations - Includes a web storage manager for persisting cookies, local storage, and session storage via JSON or SQLite.
  • Headless Rendering Engines - Implements a rendering engine specifically configured for headless page rendering and script execution without a visible window.
  • Session Profile Isolations - Provides utilities for managing distinct browser user profiles to isolate cookies and authentication sessions.
  • WebAssembly Compilation - Transforms the entire browser engine into a WebAssembly binary for execution inside a web browser.

Star history

Star history chart for gosub-io/gosub-engineStar history chart for gosub-io/gosub-engine

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Frequently asked questions

What does gosub-io/gosub-engine do?

Gosub-engine is an HTML5 browser engine and web rendering pipeline that parses HTML5 and CSS3 to compute layout and render web content to pixels. It functions as a JavaScript runtime environment with a virtual machine and event loop for handling dynamic logic and asynchronous tasks. The system also includes a web storage manager for persisting cookies, local storage, and session storage.

What are the main features of gosub-io/gosub-engine?

The main features of gosub-io/gosub-engine are: HTML Rendering Pipelines, JavaScript Runtime Environments, HTML and CSS Rendering Engines, Browser Engines, HTML5 Parsers, Origin-Based Isolation, Generic Web Resource Fetching, Font Rasterization Pipelines.

Which projects share features with gosub-io/gosub-engine?

Projects with overlapping indexed features include: mozilla-firefox/firefox — Firefox is a cross-platform web browser engine designed to render web content, execute JavaScript, and manage secure… webkit/webkit — WebKit is a web browser engine used to build the core rendering and layout systems required to display web content. It… mozilla/gecko-dev — Gecko-dev is a web browser engine and cross-platform browser framework. It serves as a foundational system for… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… waterfoxco/waterfox — Waterfox is a cross-platform web browser built on the Firefox engine. It functions as a privacy-focused browsing… dioxuslabs/blitz — Blitz is an HTML and CSS rendering engine and native UI framework designed to translate web-standard markup into…

Projects sharing features with Gosub Engine

These projects share indexed features with Gosub Engine. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • mozilla-firefox/firefoxmozilla-firefox avatar

    mozilla-firefox/firefox

    11,305View on GitHub↗

    Firefox is a cross-platform web browser engine designed to render web content, execute JavaScript, and manage secure browsing sessions. It utilizes a multi-process isolation architecture that distributes browser tasks across independent operating system processes to ensure stability and prevent site-specific failures from impacting the entire application. The engine incorporates a sandboxed execution environment to restrict web content and untrusted scripts to isolated memory compartments, enforcing security policies that prevent unauthorized access to system resources. The project distinguis

    JavaScript
    View on GitHub↗11,305
  • webkit/webkitWebKit avatar

    WebKit/WebKit

    9,908View on GitHub↗

    WebKit is a web browser engine used to build the core rendering and layout systems required to display web content. It provides the primary logic necessary to power fully functional web browsers and embedded web views. The project enables the rendering of web pages by processing HTML and CSS standards. It focuses on cross-platform support for macOS, iOS, and Linux environments, and allows for the integration of web browser windows within native applications. The engine handles JavaScript execution through optimization and tiered compilation. It manages the visual lifecycle of a page via a tr

    JavaScriptbrowsergtkios
    View on GitHub↗9,908
  • mozilla/gecko-devmozilla avatar

    mozilla/gecko-dev

    3,691View on GitHub↗

    Gecko-dev is a web browser engine and cross-platform browser framework. It serves as a foundational system for rendering web content and executing JavaScript, providing a complete layout and rendering pipeline to transform web markup into visual pixels. The project is distinguished by a specialized browser UI toolkit that uses XML-based languages and custom widgets to build cross-platform windows and menus. It incorporates unique development bridges, including design-to-code linking and a standardized protocol for AI-driven browser control and automated verification. Its broader capabilities

    JavaScript
    View on GitHub↗3,691
  • whatwg/htmlwhatwg avatar

    whatwg/html

    9,163View on GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    View on GitHub↗9,163
Compare all 30 related projects→