Skip to content

Remove all monetization features and keep SafeDose free and open source#406

Draft
Copilot wants to merge 5 commits intomainfrom
copilot/remove-references-to-charging
Draft

Remove all monetization features and keep SafeDose free and open source#406
Copilot wants to merge 5 commits intomainfrom
copilot/remove-references-to-charging

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 10, 2025

Overview

This PR removes all monetization, pricing, and subscription features from SafeDose, transitioning it to a fully free and open-source model focused on long-term safety and reliability—similar to Waymo's approach.

What Changed

Removed Files (18 total)

  • Pricing & Payment Pages: app/pricing.tsx, app/success.tsx
  • Pricing Components: All files in components/pricing/ directory
  • Stripe Integration: All API endpoints for checkout, webhooks, portal, and subscription management
  • Configuration: lib/stripeConfig.js, lib/stripeConfig.server.js
  • Documentation: STRIPE_SETUP.md, pricing_subscription_flow.md, and related testing documentation

Updated Core Features

Usage Model Simplified

  • Anonymous users: 3 scans (to prevent abuse)
  • Signed-in users: Unlimited scans (no more plan tiers)
  • Removed all premium/subscription checks from useUsageTracking hook

User Interface Updates

  • LimitModal.tsx & LogLimitModal.tsx: Removed "Upgrade" buttons and replaced with safety-focused messaging
  • IntroScreen.tsx: Removed upgrade links and pricing page redirects
  • settings.tsx: Removed entire subscription management section
  • All modals now emphasize long-term safety rather than prompting upgrades

Configuration & Analytics

  • app.config.js: Removed all Stripe environment variables
  • lib/analytics.ts: Removed payment-related events (VIEW_PRICING_PAGE, INITIATE_UPGRADE, UPGRADE_SUCCESS, CANCEL_SUBSCRIPTION, etc.)
  • types/env.d.ts: Removed Stripe type definitions

Documentation

  • Updated markdown files to reflect free and open-source nature
  • Marked legacy subscription documentation as deprecated with historical context

Why This Matters

SafeDose is now committed to being 100% free and open source, with a focus on:

  • Long-term safety: No monetization pressure distracting from the core mission
  • Accessibility: Everyone gets the same unlimited features
  • Transparency: Open source development with community input
  • Sustainability: Building trust through reliability, not revenue

This aligns SafeDose with the Waymo philosophy: prioritizing safety and iterative improvement over rushing to monetize.

Testing

  • Code review completed with no issues found
  • TypeScript compilation errors fixed
  • All monetization references removed from codebase
  • Anonymous user limits remain functional to prevent abuse

Migration Notes

Users with existing accounts will automatically get unlimited scans. No migration or data changes are required.

Original prompt

This section details on the original issue you should resolve

<issue_title>Remove anything that implies we make money or plan to charge. Just keep it open source and free, and focused on long-term safety like Waymo.</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #405


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 10, 2025

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

Project Deployment Preview Comments Updated (UTC)
safe-dose Ready Ready Preview Comment Oct 10, 2025 10:31pm

Copilot AI changed the title [WIP] Remove indications of monetization from project Remove all monetization features and keep SafeDose free and open source Oct 10, 2025
Copilot AI requested a review from rodneyg October 10, 2025 22:29
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.

Remove anything that implies we make money or plan to charge. Just keep it open source and free, and focused on long-term safety like Waymo.

2 participants