Skip to content

Embeddable Widget / Share via URL #92

@manimovassagh

Description

@manimovassagh

Summary

Generate shareable URLs and embeddable iframe/React components so teams can embed infrastructure diagrams in Confluence, Notion, wikis, or PR descriptions.

Details

  • Share via URL: Generate a unique link to a read-only view of the diagram
    • Optional expiration (1h, 24h, 7d, never)
    • Optional password protection
    • No auth required to view shared diagrams
  • Embed Code: Generate <iframe> snippet for embedding in:
    • Confluence pages
    • Notion documents
    • GitHub PR descriptions / wiki
    • Internal documentation sites
  • React Component: Publishable <InfraGraphEmbed sessionId="..." /> component
  • Shared views are interactive (zoom, pan, click for details)
  • Watermark with InfraGraph branding on shared views

Why

Infrastructure diagrams are most valuable when shared with the team. Currently, only PNG/HTML export exists — a live, interactive shared view is much more powerful.

Implementation Notes

  • Could use session IDs as the basis for sharing (already stored in Supabase)
  • Need a public-facing read-only API endpoint
  • Consider CDN/edge caching for shared diagrams

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions