Skip to content

Gift article sharing for paying subscribers#1414

Draft
ovbm wants to merge 15 commits into
mainfrom
gift-article
Draft

Gift article sharing for paying subscribers#1414
ovbm wants to merge 15 commits into
mainfrom
gift-article

Conversation

@ovbm

@ovbm ovbm commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Lets members share up to 10 articles per month via gift links. Recipients get 14 days of paywall-free access. Resharing the same article in a month doesn't consume additional allowance.

  • New backend module @orbiting/backend-modules-gift-articles with giftArticleLinks table, GraphQL queries (giftArticleStatus, validateGiftToken) and mutation (createGiftArticleLink)
  • Gift button replaces share button for members in the ActionBar, with callout menu showing remaining allowance and share options (copy link, Facebook, Bluesky, WhatsApp, Telegram, E-Mail)
  • Native share support on mobile devices
  • Recipient-side paywall bypass via ?gift=TOKEN query param, with personalized paynote showing granter info for public profiles
  • Expired gift links show a friendly message with subscribe CTA
  • When allowance is exhausted, falls back to regular share with disclaimer
  • Gift-to-conversion attribution via existing UTM/meta JSONB mechanism — gift_token flows through sessionStorage into trial/pledge payloads automatically
Screenshot 2026-06-18 at 13 53 13 Screenshot 2026-06-18 at 13 28 16

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
www-republik-love Ready Ready Preview Jun 18, 2026 2:19pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
admin-republik-ch Skipped Skipped Jun 18, 2026 2:19pm
publikator-republik-ch Skipped Skipped Jun 18, 2026 2:19pm

Request Review

@vercel vercel Bot temporarily deployed to Preview – publikator-republik-ch June 18, 2026 10:07 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 10:07 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 10:07 Inactive
@ovbm ovbm temporarily deployed to api-republik-love June 18, 2026 10:19 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 11:12 Inactive
@vercel vercel Bot temporarily deployed to Preview – publikator-republik-ch June 18, 2026 11:12 Inactive
@vercel vercel Bot temporarily deployed to Preview – www-republik-love June 18, 2026 11:12 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 11:12 Inactive
@ovbm ovbm temporarily deployed to api-republik-love June 18, 2026 11:12 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 11:33 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 11:33 Inactive
This reverts commit 94920f1.
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 11:38 Inactive
@vercel vercel Bot temporarily deployed to Preview – publikator-republik-ch June 18, 2026 11:38 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 11:38 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 11:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 11:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – publikator-republik-ch June 18, 2026 11:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – publikator-republik-ch June 18, 2026 14:14 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin-republik-ch June 18, 2026 14:14 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 18, 2026 14:14 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant