13 dépôts
Tools that parse and modify HTML content using selectors to dynamically update documents.
Explore 13 awesome GitHub repositories matching content management & publishing · HTML Document Transformation. Refine with filters or upvote what's useful.
Bun is a high-performance runtime environment designed to execute JavaScript and TypeScript applications with minimal latency and high throughput. Built on a native core implemented in Zig, it provides a unified execution engine that leverages JavaScriptCore for efficient memory management and low-latency startup. The project functions as an all-in-one toolchain, integrating a native bundler, transpiler, package manager, and test runner into a single command-line interface. What distinguishes Bun is its focus on native system integration and developer productivity. It features a high-performa
Parses and modifies HTML content using CSS selectors to dynamically update documents during request or response handling.
Awesome Vite is a curated collection of resources, plugins, and templates designed for the Vite build tool ecosystem. It serves as a central directory for developers looking to extend the capabilities of this high-performance frontend build pipeline and module bundler. The project highlights the core strengths of Vite, including its native ESM-based development server, instant hot module replacement, and pre-bundled dependency optimization. By aggregating community-maintained tools, it showcases how to leverage Vite’s plugin-based architecture to customize build pipelines, integrate popular f
Enables programmatic modification and transformation of HTML entry files during the build process.
Jsoup is a Java library designed for parsing, extracting, and manipulating HTML and XML content. It provides a document object model that represents web content as a hierarchical tree, allowing for programmatic navigation and modification of elements, attributes, and text. The library functions as a toolkit for web scraping, enabling the retrieval of remote content via standard web protocols and the management of HTTP sessions for automated form interaction. The library distinguishes itself through its fault-tolerant tokenization, which reconstructs valid document structures from malformed or
Converts raw HTML strings and streams into a structured document object model.
Ladder is a web proxy server and HTTP response modifier designed to circumvent bot protections, CORS restrictions, and paywalls. It functions by intercepting traffic to modify HTML, CSS, and JavaScript via regular expressions and altering HTTP headers to reveal restricted content. The project distinguishes itself through its ability to bypass anti-scraping mechanisms and specialized bot detection, such as Cloudflare, by integrating with external challenge-solving services. It also enables client identity emulation by spoofing user agents and network identifiers to masquerade as different brow
Uses regular expressions to transform HTML response bodies by replacing patterns with custom content.
Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using native C parsers for speed and standards compliance. It provides a CSS selector engine that translates CSS3 selectors into XPath expressions for querying nodes, an XPath query interface with namespace support, a document manipulation toolkit for modifying parsed documents, XSD schema validation, and XSLT transformation capabilities. The library wraps libxml2 and libxslt C libraries with Ruby bindings for high-performance parsing, and integrates Google's Gumbo parser for standard
Edit, add, or remove nodes in parsed XML and HTML documents to transform content programmatically.
Applies user-defined functions to modify paragraphs and runs in a .docx file's internal structure before HTML generation.
BlockSuite is a collaborative block editor framework built on a hierarchical block tree data model with CRDT-based state synchronization for real-time multi-user editing. It provides an extensible block component system, allowing developers to define custom block types through declarative schemas, services, and rendering components. The editor is packaged as cross-framework web components, making it embeddable in any JavaScript environment. The framework distinguishes itself with a command-driven editing pipeline that composes type-safe editing actions with dynamic context sharing and control
Saves document state natively and imports/exports to standard formats via snapshot transformers.
Loro is a conflict-free replicated data type (CRDT) framework and collaborative state engine designed for building real-time collaborative applications. It provides a distributed data synchronizer that enables multiple users to edit shared documents and complex nested structures—such as maps, lists, trees, and counters—with automatic state convergence without requiring a central server. The project distinguishes itself through a versioned document store that supports branching, forking, and merging via a directed acyclic graph of causal operation history. It enables advanced version control c
Produces binary snapshots and incremental updates for persistent storage or synchronization across the network.
Il s'agit d'une bibliothèque d'assainissement HTML conçue pour supprimer les balises et attributs dangereux du HTML soumis par l'utilisateur afin de prévenir les attaques de type cross-site scripting (XSS). Elle fonctionne comme un filtre de contenu qui met sur liste blanche des éléments et attributs spécifiques tout en échappant ou en rejetant le balisage non autorisé. Le projet inclut un moteur de transformation HTML qui permet la modification ou le remplacement de balises et d'attributs en utilisant une logique personnalisée. Il dispose également d'un validateur de style CSS pour nettoyer les propriétés en ligne par rapport aux modèles autorisés et un système pour la validation des URL de ressources afin de restreindre les noms d'hôtes et les schémas. La bibliothèque fournit des capacités pour l'assainissement des entrées utilisateur, la validation CSS en ligne et la transformation HTML dynamique. Ces fonctions sont implémentées via un analyseur qui prend en charge le filtrage des balises et la définition des éléments autorisés.
Modifies HTML content using custom logic to meet application-specific requirements during cleaning.
Bookdown est un framework de publication technique et un processeur de documents utilisé pour rédiger des publications longues, telles que des livres et des rapports. Il fonctionne comme un générateur de livres R Markdown et un générateur de site statique, permettant aux utilisateurs de combiner du texte narratif avec du code exécutable et des visualisations de données. Le système se distingue par sa capacité à gérer des pipelines d'assemblage multi-fichiers et l'indexation automatique des références croisées pour les figures, les tableaux et les équations à travers plusieurs fichiers. Il prend en charge une composition typographique spécialisée pour le contenu scientifique, y compris le mapping de la syntaxe des théorèmes et des preuves vers des conteneurs LaTeX et HTML. Le framework couvre un large éventail de capacités, notamment la génération de publications multi-formats pour PDF, EPUB et des sites web HTML réactifs. Il fournit des outils pour l'intégration de contenu dynamique, tels que des widgets HTML et des applications interactives, ainsi que des utilitaires pour l'initialisation de la structure de projet, le déploiement sur hébergement cloud et l'enregistrement dans des catalogues publics.
Generates separate HTML files for each chapter while automatically updating navigation and cross-references.
Haml is a Ruby HTML template engine and server-side rendering library. It functions as an HTML markup preprocessor that transforms a concise, indentation-based shorthand syntax into standard HTML and XHTML markup. The system uses hierarchical whitespace instead of explicit closing tags to define the structure of documents, reducing boilerplate during markup authoring. It integrates Ruby logic directly into templates to evaluate conditional statements, process dynamic data, and interpolate values. The engine provides tools for managing element attributes through hashes, controlling output whi
Compiles a concise, indentation-based shorthand syntax into standard HTML documents.
PHP HTML Parser is a server-side programming library and DOM parser designed to ingest markup documents and structure them into a navigable parent-child object tree. The library provides a stream-based character lexer and a configurable rule engine that manages parser strictness, whitespace preservation, tag closing behavior, and character encoding detection during document ingestion. Content loading is handled through a pluggable retrieval layer that accepts local file paths, raw strings, and remote network URLs. Once loaded, documents can be queried using a chainable CSS selector engine th
Updates node attributes, removes elements from the tree, alters text content, and manages tag properties dynamically.
The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions. The capability surface covers syntax parsing for extended markdown features, custom syntax extensions, metadata blocks, and embedded expressions, alongside document serialization that converts syntax trees back into standard and extended markup formats. It includes node modeling and val
Translates markdown syntax trees into HTML elements or natural language structures for browser rendering and downstream processing.