mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
8825666512
Add RYS Premium subscription system Introduce optional paid tier with sign-in, Stripe billing, and premium feature gating. Core features remain free. Includes Node.js server for auth, payments, and license management. Extension changes: - Sign-in flow with magic link email - Premium/upgrade/account modals with branded UI - Premium feature gating (60+ advanced settings) - Password lock and scheduling (premium) - Fix "hide all but first row" for YouTube's new flat homepage DOM - Hide sidebar ad panels by default - Enable "Hide all Shorts" by default Server: - Magic link auth with rate limiting - Stripe checkout, webhooks, and billing portal - JWT-based license tokens - AWS SES transactional emails (welcome, sign-in, cancellation) - Grandfathered donor support Also adds CI workflow, server test suite, and extension unit tests.
19 lines
377 B
Bash
19 lines
377 B
Bash
# Server
|
|
PORT=3000
|
|
BASE_URL=https://yourserver.com
|
|
|
|
# JWT
|
|
JWT_SECRET=your-random-secret-here-min-32-chars
|
|
|
|
# Stripe
|
|
STRIPE_SECRET_KEY=sk_test_...
|
|
STRIPE_PRICE_MONTHLY=price_...
|
|
STRIPE_PRICE_YEARLY=price_...
|
|
STRIPE_WEBHOOK_SECRET=whsec_...
|
|
|
|
# AWS SES
|
|
AWS_REGION=us-east-1
|
|
AWS_ACCESS_KEY_ID=your-access-key
|
|
AWS_SECRET_ACCESS_KEY=your-secret-key
|
|
EMAIL_FROM=noreply@yourdomain.com
|