ui-bridge

Host interactive UI components in Deno notebooks via WebSocket-bridged iframes.

4|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/AvneeshSarwate/avTools --skill ui-bridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-bridge
Source: https://github.com/AvneeshSarwate/avTools/tree/main/skills/ui-bridge
Command: npx skills add https://github.com/AvneeshSarwate/avTools --skill ui-bridge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Notebooks often struggle to render and interact with rich UI widgets. The ui-bridge provides a robust, WebSocket-backed bridge and iframe embedding to run arbitrary web components inside Deno notebooks with synchronized state.

Core Features & Use Cases

  • HTTP/WebSocket bridge for notebook UI components
  • Iframe-based embedding of web components in Deno notebooks
  • Adapter pattern to plug in custom components
  • Per-session management to host multiple components in a notebook
  • Static bundle serving for prebuilt web components via a /static path

Quick Start

Set up a Deno notebook to host a UI component via the ui-bridge and display it inside a cell.

Frequently Asked Questions about ui-bridge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display interactive web components inside a Deno notebook?

To display interactive web components inside a Deno notebook, you can use a WebSocket-bridged iframe embedding pattern. This approach synchronizes state between the notebook kernel and the rendered UI widgets using HTTP and WebSocket protocols.

Can I maintain separate UI state for multiple components in a single notebook session?

Yes, you can maintain separate UI state for multiple components in a single notebook session. The bridge uses per-session management to ensure that each embedded web component operates independently without state collisions.

Do I need specific Deno APIs to host UI components in a notebook?

Yes, hosting UI components in a notebook requires specific Deno APIs. You need a Deno runtime that supports Deno.serve, Deno.upgradeWebSocket, and Deno.jupyter to establish the HTTP and WebSocket bridge for the iframe display.

How do I integrate a custom web component into a Deno notebook?

You integrate a custom web component into a Deno notebook using a ComponentAdapter pattern. This adapter mechanism allows you to plug in arbitrary prebuilt web components and serve their static bundles via a designated /static path.

Why use a WebSocket bridge for rendering notebook UI components?

Using a WebSocket bridge for rendering notebook UI components provides synchronized state management. It overcomes notebook rendering limitations by establishing a persistent connection between the Deno kernel and the iframe-embedded web components.