Skip to content

Add sponsor checkout and Afterpack website placement - #169

Merged
filiksyos merged 6 commits into
mainfrom
feat/sponsor-checkout
Oct 8, 2026
Merged

filiksyos merged 6 commits into
mainfrom
feat/sponsor-checkout

Conversation

@filiksyos

@filiksyos filiksyos commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Website reverse uses the low-key Afterpack spot with its official locally hosted logo; codebase retains CodeRabbit.
  • Original Discord footer preserved. A low-key 'Advertise your website' / 'Claim spot' card links to /sponsor directly below example repositories/websites; no sponsor links beside the result ads.
  • Afterpack matches CodeRabbit’s embedded-ad styling, uses the official compact logo, requested two-line copy and 'Try free'.
  • Canonical /sponsor page, permanent /partner redirect, official local sponsor favicons, requested headline and lower contact.
  • Monthly USD placements: codebase $2,000, website $2,000, README $200, all three $4,200. Month-specific CTA and recurring billing remain explicit.
  • Immutable server-owned Stripe price mapping, strict input validation, retry idempotency, safe redirects/diagnostics, and manual ad placement. Removed unnecessary Prices-read preflight.
  • Existing signed Stripe/Supabase sync plus configured hourly owner notifications. No ad auto-publication; no payment claim based on redirect query.
  • Premium cancellation cannot cancel sponsor or mixed subscriptions.
  • Previous-calendar-month audience is server-only and cached hourly, displayed as '35K visitors last month', with methodology in tooltip. 250K+ lifetime remains the owner's historical figure.

Approved database change

Installed migration 20261008080556_server_only_sponsorship_audience. SECURITY INVOKER, fixed pg_catalog search path/UTC, no table grants. service_role can execute; actual anon/authenticated execution both fail permission denied. Service-role query verified September35,087. No unrelated PR168 search changes.

Verification

  • 21 sponsorship tests and 21 existing library tests passed; TypeScript, targeted lint, production webpack build passed.
  • Prior exact-head CI and Vercel deployments passed; latest cache/documentation commit is checked below.
  • Live Stripe prices/catalog and direct hosted Checkout creation verified without payment. App-hosted Checkout success remains unverified because preview requires authentication; original swallowed error cause was not proven. No real charge completed.
  • RPC installed/permissions/data verified; public production UI and notification after a legitimately paid session remain operational verification steps.

Still draft: no merge performed.

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
gitreverse Ready Ready Preview Oct 8, 2026 8:26am UTC

Request Review

@filiksyos
filiksyos marked this pull request as ready for review October 8, 2026 08:28

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@filiksyos
filiksyos merged commit 0c7adbe into main Oct 8, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 6e102ec0 Deployed Oct 8, 2026 by vercel[bot]
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