Skip to content

Web: Plan sharing and export #182

@erikdarlingdata

Description

@erikdarlingdata

Overview

Allow users to optionally share plan analysis results with others. Sharing is NOT the default — users must explicitly opt in.

Option A: Share to Server (primary)

  • "Share" button triggers a consent dialog: user acknowledges their plan data will be stored on a server for N days
  • Plan/analysis uploaded to a lightweight API on Hetzner
  • Returns a short URL like plans.erikdarling.com/s/abc123
  • Viewer loads the same WASM app but fetches the stored plan instead of paste/upload
  • Auto-expire after configurable TTL (7-30 days)
  • Requires: simple API (probably minimal .NET or Go), blob storage, cleanup cron

Option B: Export to HTML (complement, no server needed)

  • "Export" generates a self-contained HTML file with the analysis baked in
  • User can share via email, tickets, Slack — no server dependency
  • Works offline
  • Could ship first as a quick win before the server-side share feature

Privacy

  • The landing page promises "Your plan XML never leaves your browser"
  • Share/export must be a separate, explicit action with clear consent
  • Never automatic, never the default

Implementation Notes

  • Hetzner CLI access available for server setup
  • Both options can coexist — export for no-server sharing, server for link sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions