interactive-page-repost-publisher

Ingests JS-heavy external pages into StaticFlow as localized interactive mirrors backed by LanceDB.

2|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/zero-yx/static_flow --skill interactive-page-repost-publisher-zero-yx
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: interactive-page-repost-publisher
Source: https://github.com/zero-yx/static_flow/tree/main/skills/interactive-page-repost-publisher
Command: npx skills add https://github.com/zero-yx/static_flow --skill interactive-page-repost-publisher-zero-yx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? JS-heavy external pages with custom elements, canvas demos, and inline scripts lose their core teaching value when converted to plain Markdown or screenshots, and this Skill preserves the full interactive experience as a self-hosted local mirror with bilingual article searchability. ## Core Features & Use Cases - Interactive Page Mirroring: Captures JS-heavy pages via Playwright and stores all assets in LanceDB tables (interactive_pages, interactive_assets, interactive_page_locales) with no runtime dependence on the origin host. - Dual-Track Publishing: Publishes a bilingual article (Chinese translation plus normalized English source) alongside the interactive mirror, with localized locale variants added via sf-cli interactive add-locale. - Verification Workflow: Enforces post-publish checks of DB rows, local routes, language switching, and real interaction across multiple frames. - Use Case: Mirror an interactive explainer like samwho.dev/bloom-filters into StaticFlow so readers can search the bilingual article and open a fully localized, working interactive demo at /interactive-pages/ipg-bloom-filters?lang=zh. ## Quick Start Mirror the interactive page at the given URL into StaticFlow as article 'bloom-filters' with Chinese and English locales, then verify the local mirror route renders and the interactions still work.

Frequently Asked Questions about interactive-page-repost-publisher

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

FAQPage Schema
How do I mirror a JS-heavy external page into StaticFlow?▼

Use sf-cli interactive ingest-page with the source URL, article id, bilingual content files, and an allowed host. The command captures the page via Playwright, rewrites asset URLs, and stores the mirror in LanceDB interactive_pages and interactive_assets tables.

When should I use interactive repost instead of normal article import?▼

Use the interactive pipeline when the page depends on page-specific JavaScript, custom elements, or heavy DOM initialization to make sense. Plain Markdown or screenshots would lose the core teaching value of sliders, demos, and animated frames.

How do I add Chinese localization to an interactive mirror page?▼

Create localized HTML/JS/CSS assets, generate a capture-manifest style JSON for the locale, then run sf-cli interactive add-locale with the page id, locale, title, and manifest. Refresh manifest sha256 values if you patch assets after generating it.

Why does a mirrored page show duplicated titles or SVGs on reload?▼

This happens when the entry HTML was captured from the executed DOM via document.documentElement.outerHTML after scripts already mutated it. Capture the original fetched response HTML instead so replay does not duplicate runtime-generated nodes.

Can the interactive mirror depend on the original site's assets?▼

No. All mirror assets must be stored in LanceDB and served from /api/interactive-pages/<page_id>/assets/ paths. The mirror must not rely on remote JS, CSS, or image assets at runtime, and users are never forwarded to the origin URL.