html-data-app-embedding

Embed interactive data applications as auto-sizing iframes with authentication.

95|24|Updated Sep 16, 2024
One-click install
npx skills add https://github.com/malloydata/publisher --skill html-data-app-embedding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: html-data-app-embedding
Source: https://github.com/malloydata/publisher/tree/main/skills/html-data-app-embedding
Command: npx skills add https://github.com/malloydata/publisher --skill html-data-app-embedding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of embedding interactive data applications into webpages, allowing for seamless integration and dynamic resizing.

Core Features & Use Cases

  • Embedding: Integrate data apps as iframes within a host page.
  • Auto-sizing: Automatically adjusts the iframe size to fit the content.
  • Authentication: Supports authentication via cookies or signed tokens for cross-origin embeds.
  • Use Case: Embed a sales dashboard into a company's website for real-time analytics without leaving the page.

Quick Start

Embed the 'sales' data app into your webpage by running the following command:

npx @malloy-publisher/server --port 4000 --config path/to/config

Frequently Asked Questions about html-data-app-embedding

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

FAQPage Schema
How do I embed interactive data apps into a webpage without manual iframe resizing?

To embed interactive data apps without manual iframe resizing, use this Skill to integrate applications as secure, auto-sizing iframes that automatically adjust dimensions to fit content within any host webpage.

Can I embed a cross-origin data visualization dashboard with authentication?

Yes, you can embed cross-origin data visualization dashboards with authentication. The Skill supports secure integration using either cookies or signed tokens for cross-origin iframe authentication.

What is the best way to integrate an analytics dashboard into an existing web application?

The best way to integrate an analytics dashboard into a web application is embedding it as an auto-sizing iframe, which allows real-time data visualization without requiring users to leave the host page.

How do I start embedding a data app using command line configuration?

To start embedding a data app, run the server command with a specified port and configuration file path, such as 'npx @malloy-publisher/server --port 4000 --config path/to/config', to launch the application for iframe integration.

Does iframe embedding work with same-origin and cross-origin web integration scenarios?

Yes, iframe embedding works with both same-origin and cross-origin web integration scenarios. It handles dynamic resizing and supports authentication methods required for secure cross-origin data app embedding.

Why does my embedded iframe content not resize dynamically to fit the webpage?

Embedded iframe content fails to resize dynamically without an auto-sizing mechanism. This Skill automatically adjusts the iframe dimensions to fit the interactive data app content, eliminating manual configuration.