Skip to content

I have been building a SaaS Platform which is fully free for managing tracking subscription managements for every type of users. It is coming to an end but not done yet.

Notifications You must be signed in to change notification settings

muratyigitartuk/Subscription-Management-APP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

πŸ’³ Subscrybe - Advanced Subscription Management Platform

Take control of your subscriptions with AI-powered insights and smart analytics. This is just the README file the Platform will be published as soon as everything is ready, so it includes mock sites or links for now, everything will be updated.

License: Proprietary TypeScript React Vite Tailwind CSS Firebase

πŸ”— Quick Links

Live Demo Download Documentation Support


πŸ“‹ Table of Contents

✨ Overview

Subscrybe is a comprehensive subscription management platform that helps users track, analyze, and optimize their recurring subscriptions. Built with modern web technologies, it offers AI-powered insights, advanced analytics, and seamless integrations with multiple services.

🎯 Key Highlights

  • πŸ€– AI-Powered Insights - Smart cost optimization and usage pattern recognition
  • πŸ“Š Advanced Analytics - 12+ chart types with predictive forecasting
  • πŸ’° Budget Management - Category-based budgets with real-time alerts
  • 🎁 Trial Management - Auto-cancel functionality with value tracking
  • πŸ“± Mobile-First Design - Responsive interface optimized for all devices
  • πŸ”’ Enterprise Security - Advanced encryption and security monitoring
  • 🌐 Multi-Platform - Web, mobile, and browser extension support

πŸ“Έ Screenshots

🏠 Dashboard Overview

Dashboard Real-time subscription overview with AI-powered insights

πŸ“Š Advanced Analytics

Analytics Comprehensive analytics with 12+ chart types and predictive forecasting

πŸ’° Budget Management

Budget Management Category-based budgets with real-time alerts and optimization suggestions

πŸ‘₯ Family Sharing

Family Sharing Multi-user subscription management with cost splitting

πŸ“± Mobile Experience

Mobile View

Fully responsive design optimized for mobile devices

πŸš€ Features

🏠 Core Dashboard

  • Real-time Overview - Live subscription metrics and spending analysis
  • Interactive Charts - Recharts-powered visualizations with 12+ chart types
  • Smart Notifications - Contextual alerts for renewals, price changes, and optimization opportunities
  • Quick Actions - One-click subscription management and bulk operations

πŸ“Š Advanced Analytics

  • Cost Optimization Analysis - AI-powered savings recommendations
  • Usage Pattern Recognition - Behavioral insights and trend analysis
  • Renewal Prediction - Smart forecasting for upcoming renewals
  • Budget Variance Tracking - Real-time budget performance monitoring
  • Duplicate Detection - Automatic identification of redundant services
  • Price Change Monitoring - Historical price tracking and alerts

πŸ’° Budget Management

  • Category-based Budgets - Flexible budget allocation by service type
  • Real-time Alerts - Instant notifications for budget overruns
  • Spending Forecasts - Predictive spending analysis
  • Budget Optimization - AI-suggested budget adjustments

🎁 Trial Management

  • Auto-cancel Setup - Automated trial cancellation before billing
  • Value Tracking - ROI analysis for trial subscriptions
  • Conversion Insights - Trial-to-paid conversion analytics

πŸ‘₯ Family Sharing

  • Multi-user Support - Shared subscription management
  • Permission Controls - Granular access management
  • Cost Splitting - Automatic expense allocation

πŸ”” Smart Notifications

  • Intelligent Alerts - Context-aware notification system
  • Custom Rules - User-defined notification triggers
  • Multi-channel Delivery - Email, push, and in-app notifications

πŸ”— Integrations

  • Email Integration - Automatic subscription detection from emails
  • Calendar Integration - Usage pattern analysis from calendar events
  • Browser Extension - Real-time subscription tracking while browsing
  • Payment Processors - Stripe, PayPal, and Paddle integration
  • External APIs - Webhook support for third-party services

πŸ›  Technology Stack

Frontend

  • React 18 - Modern React with hooks and concurrent features
  • TypeScript - Type-safe development with strict mode
  • Vite - Lightning-fast build tool with HMR
  • Tailwind CSS - Utility-first CSS framework
  • Radix UI - Accessible component primitives
  • Recharts - Powerful charting library
  • React Query - Server state management
  • Zustand - Lightweight state management
  • React Hook Form - Performant form handling
  • Zod - Runtime type validation

Backend & Services

  • Firebase - Authentication and real-time database
  • Groq AI - Advanced AI analytics and insights
  • Supabase - PostgreSQL database with real-time features
  • Webhook Service - Event-driven architecture
  • Smart Analytics Engine - Custom AI-powered analytics

Development Tools

  • ESLint - Code linting and quality enforcement
  • Prettier - Code formatting
  • Husky - Git hooks for quality gates
  • Vitest - Unit and integration testing
  • Playwright - End-to-end testing
  • Storybook - Component development and documentation

Security & Monitoring

  • AES-GCM Encryption - Data protection at rest
  • XSS/CSRF Protection - Advanced security measures
  • Sentry - Error tracking and performance monitoring
  • Security Monitor - Real-time threat detection

πŸ“ Project Structure

subscrybe-site-switch-main/
β”œβ”€β”€ πŸ“ src/
β”‚   β”œβ”€β”€ πŸ“ components/          # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ πŸ“ ui/             # Base UI components (Radix UI)
β”‚   β”‚   β”œβ”€β”€ πŸ“ access/         # Access management components
β”‚   β”‚   β”œβ”€β”€ πŸ“ charts/         # Chart components
β”‚   β”‚   └── πŸ“„ Layout.tsx      # Main layout component
β”‚   β”œβ”€β”€ πŸ“ pages/              # Application pages
β”‚   β”‚   β”œβ”€β”€ πŸ“„ Landing.tsx     # Landing page
β”‚   β”‚   β”œβ”€β”€ πŸ“„ Index.tsx       # Dashboard
β”‚   β”‚   β”œβ”€β”€ πŸ“„ Subscriptions.tsx
β”‚   β”‚   β”œβ”€β”€ πŸ“„ Analytics.tsx   # (Deactivated)
β”‚   β”‚   └── πŸ“„ Settings.tsx
β”‚   β”œβ”€β”€ πŸ“ services/           # Business logic and API services
β”‚   β”‚   β”œβ”€β”€ πŸ“„ apiService.ts   # Core API service
β”‚   β”‚   β”œβ”€β”€ πŸ“„ integrationService.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ smartAnalytics.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ webhookService.ts
β”‚   β”‚   └── πŸ“„ notificationService.ts
β”‚   β”œβ”€β”€ πŸ“ hooks/              # Custom React hooks
β”‚   β”‚   β”œβ”€β”€ πŸ“„ useFirebaseAuth.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ useBudgetManagement.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ useTrialManagement.ts
β”‚   β”‚   └── πŸ“„ useUsageTracking.ts
β”‚   β”œβ”€β”€ πŸ“ utils/              # Utility functions
β”‚   β”‚   β”œβ”€β”€ πŸ“„ security.ts     # Security utilities
β”‚   β”‚   β”œβ”€β”€ πŸ“„ accessibility.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ errorHandler.ts
β”‚   β”‚   └── πŸ“„ performanceMonitor.ts
β”‚   β”œβ”€β”€ πŸ“ store/              # State management
β”‚   β”‚   └── πŸ“„ index.ts        # Zustand store
β”‚   β”œβ”€β”€ πŸ“ types/              # TypeScript type definitions
β”‚   β”‚   β”œβ”€β”€ πŸ“„ api.ts
β”‚   β”‚   β”œβ”€β”€ πŸ“„ subscription.ts
β”‚   β”‚   └── πŸ“„ analytics.ts
β”‚   └── πŸ“ styles/             # Global styles and themes
β”œβ”€β”€ πŸ“ public/                 # Static assets
β”œβ”€β”€ πŸ“ docs/                   # Documentation files
β”‚   β”œβ”€β”€ πŸ“„ SETUP_CHECKLIST.md
β”‚   β”œβ”€β”€ πŸ“„ FIREBASE_SETUP_GUIDE.md
β”‚   β”œβ”€β”€ πŸ“„ INTEGRATION_SETUP.md
β”‚   └── πŸ“„ ADVANCED_FEATURES.md
β”œβ”€β”€ πŸ“„ package.json           # Dependencies and scripts
β”œβ”€β”€ πŸ“„ vite.config.ts         # Vite configuration
β”œβ”€β”€ πŸ“„ tailwind.config.js     # Tailwind CSS configuration
β”œβ”€β”€ πŸ“„ tsconfig.json          # TypeScript configuration
└── πŸ“„ .env.example           # Environment variables template

πŸš€ Quick Start

Download for Windows Download for macOS Try Web Version

Prerequisites

  • Node.js 18+ and npm/yarn (for development)
  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Internet connection for cloud features

πŸ”§ Development Setup

Note: This is proprietary software. Development access requires authorization.

  1. Contact for access

    # Request development access at: [email protected]
  2. Install dependencies (authorized developers only)

    npm install
    # or
    yarn install
  3. Set up environment variables

    cp .env.example .env.local

    Edit .env.local with your authorized configuration values.

  4. Start development server

    npm run dev
    # or
    yarn dev
  5. Open in browser Navigate to http://localhost:5173

🎯 Essential Setup

For basic functionality, you need:

  • Firebase - Authentication and database
  • Groq AI (optional) - AI-powered insights

See SETUP_CHECKLIST.md for detailed setup instructions.

βš™οΈ Configuration

Environment Variables

Create a .env.local file with the following variables:

# Core Configuration
VITE_APP_ENV=development
VITE_DEBUG_MODE=true

# Firebase (Required)
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id

# AI Integration (Optional)
VITE_GROQ_API_KEY=your_groq_api_key
VITE_AI_ENABLED=true

# Feature Flags
VITE_FEATURE_AI_INSIGHTS=true
VITE_FEATURE_FAMILY_SHARING=true
VITE_FEATURE_ADVANCED_ANALYTICS=true

See .env.example for all available configuration options.

πŸ”§ Development

Available Scripts

# Development
npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build

# Code Quality
npm run lint         # Run ESLint
npm run type-check   # TypeScript type checking
npm run format       # Format code with Prettier

# Testing
npm run test         # Run unit tests
npm run test:e2e     # Run end-to-end tests
npm run test:coverage # Generate coverage report

Development Guidelines

  1. Code Style - Follow ESLint and Prettier configurations
  2. Type Safety - Use TypeScript strictly, avoid any types
  3. Component Structure - Use functional components with hooks
  4. State Management - Prefer React Query for server state, Zustand for client state
  5. Error Handling - Use the centralized error handling system
  6. Performance - Implement lazy loading and code splitting
  7. Accessibility - Follow WCAG 2.1 AA guidelines

πŸ— Architecture

Component Architecture

  • Atomic Design - Components organized by complexity
  • Composition Pattern - Flexible component composition
  • Render Props - Reusable logic sharing
  • Custom Hooks - Business logic abstraction

State Management

  • React Query - Server state, caching, and synchronization
  • Zustand - Client-side state management
  • Context API - Theme and user preferences
  • Local Storage - Persistent user settings

Data Flow

User Interaction β†’ Component β†’ Hook β†’ Service β†’ API β†’ Database
                                ↓
                           State Update β†’ Re-render

πŸ”Œ Services & Integrations

Core Services

API Service (src/services/apiService.ts)

  • Centralized API communication
  • Request/response interceptors
  • Error handling and retry logic
  • Type-safe API calls

Integration Service (src/services/integrationService.ts)

  • Unified service coordination
  • Health monitoring
  • Configuration management
  • Service initialization

Smart Analytics (src/services/smartAnalytics.ts)

  • AI-powered insights using Groq
  • Cost optimization analysis
  • Usage pattern recognition
  • Predictive analytics

Webhook Service (src/services/webhookService.ts)

  • External webhook processing
  • Event-driven architecture
  • Retry logic and error handling
  • Security validation

Notification Service (src/services/notificationService.ts)

  • Multi-channel notifications
  • Smart notification rules
  • Delivery tracking
  • User preferences

Advanced Integrations

Email Integration (src/services/emailIntegrationService.ts)

  • Gmail, Outlook, Yahoo support
  • Automatic subscription detection
  • Receipt parsing and analysis
  • Privacy-focused processing

Calendar Integration (src/services/calendarIntegrationService.ts)

  • Google Calendar, Outlook integration
  • Usage pattern analysis
  • Meeting-based subscription tracking
  • CalDAV protocol support

Browser Extension (src/services/browserExtensionService.ts)

  • Real-time subscription detection
  • Website tracking and analysis
  • Cross-browser compatibility
  • Privacy protection

πŸ”’ Security

Security Features

Data Protection

  • AES-GCM Encryption - Secure data storage
  • Password Security - Strength validation and secure generation
  • Session Management - Timeout and activity tracking
  • Secure Storage - Encrypted localStorage implementation

Input Protection

  • XSS Prevention - HTML sanitization and script blocking
  • SQL Injection Protection - Pattern detection and sanitization
  • CSRF Protection - Token generation and validation
  • Input Validation - Advanced threat detection

Security Monitoring

  • Real-time Threat Detection - SecurityMonitor class
  • Failed Login Tracking - Brute force protection
  • Suspicious Activity Alerts - Automated threat response
  • Security Event Logging - Comprehensive audit trail

Implementation

// Security utilities usage
import { SecurityMonitor, encryptData, validateInput } from '@/utils/security';

// Initialize security monitoring
const monitor = new SecurityMonitor();

// Encrypt sensitive data
const encrypted = encryptData(sensitiveData);

// Validate user input
const isValid = validateInput(userInput, 'email');

⚑ Performance

Optimization Features

Code Splitting

  • Route-based Splitting - Lazy-loaded pages
  • Component Splitting - Dynamic imports for heavy components
  • Vendor Splitting - Optimized chunk strategy
  • Tree Shaking - Dead code elimination

Caching Strategy

  • React Query - Intelligent server state caching
  • Service Worker - Offline functionality
  • Browser Caching - Optimized asset caching
  • Memory Management - Efficient state cleanup

Performance Monitoring

  • Web Vitals Tracking - Core performance metrics
  • Bundle Analysis - Size optimization
  • Runtime Monitoring - Performance bottleneck detection
  • Error Tracking - Performance-related error monitoring

Performance Metrics

  • First Contentful Paint - < 1.5s
  • Largest Contentful Paint - < 2.5s
  • Cumulative Layout Shift - < 0.1
  • First Input Delay - < 100ms

πŸ§ͺ Testing

Testing Strategy

Unit Testing

  • Vitest - Fast unit test runner
  • React Testing Library - Component testing
  • Mock Service Worker - API mocking
  • Coverage Reports - Comprehensive test coverage

Integration Testing

  • Component Integration - Multi-component testing
  • Service Integration - API service testing
  • Hook Testing - Custom hook validation
  • State Management Testing - Store testing

End-to-End Testing

  • Playwright - Cross-browser E2E testing
  • User Journey Testing - Complete workflow validation
  • Visual Regression Testing - UI consistency checks
  • Performance Testing - Load and stress testing

Running Tests

# Unit tests
npm run test

# E2E tests
npm run test:e2e

# Coverage report
npm run test:coverage

# Watch mode
npm run test:watch

πŸš€ Deployment

Build Process

# Production build
npm run build

# Preview build
npm run preview

# Type checking
npm run type-check

Deployment Platforms

  • Vercel - Recommended for React applications
  • Netlify - Alternative with great DX
  • Firebase Hosting - Integrated with Firebase services
  • AWS S3 + CloudFront - Enterprise-grade hosting

Environment Configuration

# Production environment
VITE_APP_ENV=production
VITE_DEBUG_MODE=false

# Security
CORS_ORIGIN=https://yourdomain.com
JWT_SECRET=your_production_jwt_secret

# Monitoring
SENTRY_DSN=your_production_sentry_dsn

🀝 Contributing

Note: Subscrybe is proprietary software. Contributions are limited to authorized developers and partners.

πŸ”’ Contribution Access

This project is not open source. Contributions are restricted to:

  • Authorized Developers: Internal team members
  • Licensed Partners: Approved third-party developers
  • Beta Testers: Selected community members

πŸ“ How to Get Involved

For General Users:

  • πŸ› Report Bugs: Use our [official support](Will be added)
  • πŸ’‘ Suggest Features: Submit via [feature requests](Will be added)
  • πŸ“– Improve Documentation: Contact [[email protected]](Will be added)
  • 🌍 Translations: Join our [localization program](Will be added)

For Developers:

  • 🀝 Partnership Program: Apply at [[email protected]](Will be added)
  • πŸ§ͺ Beta Testing: Join our [beta program](Will be added)
  • πŸ”Œ Plugin Development: Review our [API documentation](Will be added)

πŸ“‹ Development Guidelines

For authorized contributors:

Code Standards

  • Follow TypeScript best practices
  • Use ESLint and Prettier configurations
  • Write comprehensive tests
  • Document all public APIs

Security Requirements

  • Sign Contributor License Agreement (CLA)
  • Follow security review process
  • Use approved dependencies only
  • Implement proper error handling

Review Process

  1. Create feature branch from develop
  2. Implement changes with tests
  3. Submit internal pull request
  4. Pass security and code review
  5. Merge after approval

πŸ“ž Contact for Contributions

πŸ“„ License

This project is proprietary software owned by Subscrybe. See the LICENSE file for details.

Subscrybe - Proprietary Software License

Copyright (c) 2024 Subscrybe. All rights reserved.

This software is provided free of charge for personal and commercial use,
but remains proprietary software owned by Subscrybe.

Key restrictions:
- No modification or derivative works
- No redistribution or sublicensing  
- No reverse engineering
- No use for competing products

For full terms, see the LICENSE file.
For licensing inquiries: [email protected]

πŸ“ž Support

🀝 Get Help

[Official Support](Will be added) [Email Support](Will be added)

πŸ’¬ Community & Support

  • πŸ› Bug Reports: [Report issues](Will be added)
  • ✨ Feature Requests: [Request features](Will be added)
  • πŸ’¬ Community: [Join Discord](Will be added)
  • πŸ“– Documentation: [Help Center](Will be added)
  • πŸ”§ Setup Help: [Setup Guide](Will be added)
  • πŸ“§ Direct Support: [[email protected]](Will be added)

πŸ“š Additional Resources

  • [User Guide](Will be added) - Complete user manual
  • [Video Tutorials](Will be added) - Step-by-step tutorials
  • [FAQ](Will be added) - Frequently asked questions
  • [System Status](Will be added) - Service status page
  • [Release Notes](Will be added) - Latest updates

🏒 Business & Enterprise


⭐ Try Subscrybe today - Free for personal and commercial use!

Built with ❀️ by the Indie Developer

⬆ Back to Top


Β© 2025 Subscrybe. All rights reserved.

About

I have been building a SaaS Platform which is fully free for managing tracking subscription managements for every type of users. It is coming to an end but not done yet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published