Skip to content

feat: Campaign share toolkit with OG images, QR codes, and share links #756

Description

@dotunv

Overview

Add a per-campaign share toolkit: unique shareable links, QR codes, social-card (OG image) generation, and a shareable pre-filled contribution intent.

Motivation

Viral growth depends on easy sharing. Many existing tools support sharing via platform links, but the campaign pages lack share-optimized images (OG tags/thumbnails) that render correctly when pasted into X, WhatsApp, or other apps, hurting click-through rates.

Proposed Design

  1. Auto-generate an Open Graph image per campaign: title, creator, progress bar, "Get funded" CTA, rendered to a PNG served at a deterministic URL
  2. Ensure campaign page already includes OG meta tags referencing that image (title, description, image, url)
  3. Add a Share modal with: copy link, social buttons (X, LinkedIn, WhatsApp, Telegram), and a QR code of the campaign URL
  4. Support a share-to-contribute deep link that pre-selects an amount (?amount=50)
  5. Track share clicks to attribute subsequent contributions to a share source when possible

Acceptance Criteria

  • Each campaign has a generated OG image served at a stable URL
  • Campaign page includes correct OG title, description, image, and url meta tags
  • Share modal offers copy-link and social share buttons
  • QR code renders the campaign URL and is scannable
  • Deep link with amount preselects that contribution amount
  • Share modal is accessible from both creator dashboard and public campaign page
  • OG image generation works for campaigns without custom images (falls back to defaults)
  • Tests cover: OG meta tags, deep-link amount parsing, share URL generation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programbackendBackend / API workenhancementNew feature or requestfrontendFrontend / UI work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions