Skip to content

yeswehack/Dom-Explorer

Repository files navigation

Dom-Explorer

Dom-Explorer is a web-based tool designed for testing various HTML parsers and sanitizers. It displays the results of each parser as a tree and allows users to create pipelines that chain multiple parsers to visualize the transformation of HTML at each step.

This repository contains the source code for the website published at: Dom-Explorer Website.

Features

  • Parser/Sanitizer Support:

  • Tab Sync:
    Synchronizes pipelines and HTML parsing across multiple browser tabs in real-time.

  • Embeddable Pipelines:
    Users can embed pipelines into their websites as an iframe for others to interact with.

  • Presets:
    Save commonly used pipelines for easy reuse.

  • Shareable URL:
    Share pipelines by simply copying and pasting the URL. The state of the pipeline is embedded in the URL, making it easy to share with others.

Getting Started

To get started with Dom-Explorer:

  1. Clone the project and install dependencies:

    git clone https://github.com/b-i-t-k/Dom-Explorer.git
    cd Dom-Explorer
    bun install
  2. Run the development server:

    cd web
    bun run --bun dev

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this tool.