https://github.com/doublegate/subpilot-app
Take Control of Any Recurring Finances ... a modern subscription management (monitoring / cancellation) platform ...
https://github.com/doublegate/subpilot-app
fintech nextjs plaid prisma react saas subscription-management t3-stack trpc typescript
Last synced: 11 months ago
JSON representation
Take Control of Any Recurring Finances ... a modern subscription management (monitoring / cancellation) platform ...
- Host: GitHub
- URL: https://github.com/doublegate/subpilot-app
- Owner: doublegate
- License: mit
- Created: 2025-06-21T05:56:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-09T05:25:02.000Z (12 months ago)
- Last Synced: 2025-07-14T12:53:34.124Z (12 months ago)
- Topics: fintech, nextjs, plaid, prisma, react, saas, subscription-management, t3-stack, trpc, typescript
- Language: TypeScript
- Homepage: https://subpilot.app
- Size: 7.46 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
๐ SubPilot
Enterprise-Grade Subscription Management Platform
Take control of your recurring finances with AI-powered intelligence
Production-ready โข Enterprise architecture โข Commercial launch ready
---
## ๐ฏ What is SubPilot?
SubPilot is an **enterprise-grade subscription management platform** that automatically detects, analyzes, and helps you optimize recurring payments through secure bank integration. Built on modern architecture principles with **zero-trust security**, **real-time AI assistance**, and **intelligent automation**.
> **๐ Version 1.8.8** - UI Fixes, Billing Page Restructure & Two-Factor Authentication
> **๐ Status**: Phase 4 Active - Commercial Launch Ready with Enhanced Security & Real Admin Features
> **๐๏ธ Architecture**: Enterprise microservices with intelligent orchestration
> **๐ Security**: 100% vulnerability-free with 2FA and comprehensive audit compliance
> **๐ ๏ธ Admin Panel**: Fully operational with Node.js runtime for complete feature support
> **๐จ Code Quality**: Zero ESLint errors, Zero TypeScript errors, Perfect formatting (2025-07-09)
> **๐ง Latest Update**: Admin panel Edge Runtime issues resolved, Node.js runtime enforced, All quality checks passing (2025-07-09 01:18 EDT)
### ๐ข Enterprise Features
- **๐ AI-Powered Detection** - 95%+ accuracy subscription identification using machine learning
- **๐ค GPT-4 Assistant** - Natural language subscription management and optimization
- **๐ซ Unified Cancellation** - Three-tier automation: API โ Web Automation โ Manual guidance
- **๐ Predictive Analytics** - Spending forecasts with confidence intervals and anomaly detection
- **๐ฆ Multi-Bank Integration** - Secure Plaid connectivity with encrypted token management
- **๐ณ Premium Billing** - Stripe-powered subscription tiers with self-service portal
- **๐ Enterprise Security** - Zero-trust architecture with comprehensive audit logging
- **๐ฑ Progressive Web App** - Native-like experience with offline capability
---
## ๐ ๏ธ Technology Excellence
๐จ Frontend Stack



โก Backend Stack



โ๏ธ Infrastructure



### ๐๏ธ Architecture Highlights
- **๐ง T3 Stack Foundation** - Next.js App Router, TypeScript, tRPC, Prisma, Tailwind
- **๐ค Three-Agent Intelligence** - API-first โ Automation โ Manual fallback orchestration
- **โก Edge Runtime Optimization** - Global distribution with Vercel Edge Functions
- **๐๏ธ Serverless Database** - Neon PostgreSQL with connection pooling and auto-scaling
- **๐ Zero-Trust Security** - End-to-end encryption, OWASP compliance, enterprise audit logging
- **๐งช Comprehensive Testing** - 1,049+ tests covering unit, integration, E2E, and security
---
## ๐ Quick Start Guide
### Prerequisites
```bash
Node.js 20.18+ # Required for Next.js 15
npm 10.8+ # Package management
PostgreSQL 15+ # Database (or use Neon)
Git 2.30+ # Version control
```
### โก 5-Minute Setup
```bash
# 1. Clone and install
git clone https://github.com/doublegate/SubPilot-App.git
cd SubPilot-App
npm install
# 2. Environment setup
cp .env.example .env.local
```
Configure essential environment variables:
```env
# Database - Get free tier at neon.tech
DATABASE_URL="postgresql://user:pass@host/dbname"
# Authentication
NEXTAUTH_SECRET="$(openssl rand -base64 32)"
NEXTAUTH_URL="http://localhost:3000"
# Banking Integration - Get from dashboard.plaid.com
PLAID_CLIENT_ID="your_plaid_client_id"
PLAID_SECRET="your_plaid_secret_key"
PLAID_ENV="sandbox"
# AI Features (Optional)
OPENAI_API_KEY="your_openai_api_key"
```
```bash
# 3. Initialize and start
npm run db:push # Setup database schema
npm run dev # Start development server
```
๐ Open [http://localhost:3000](http://localhost:3000) - You're ready!
---
## ๐ Documentation & Resources
๐ Getting Started
๐ Complete Setup Guide
โก Quick Reference
๐ Authentication Guide
๐ฆ Bank Integration
๐๏ธ Architecture & API
๐๏ธ System Architecture
๐ tRPC API Reference
๐๏ธ Database Schema
๐ค Cancellation System
### ๐ Project Management
- [๐ฏ Project Status](./docs/PROJECT-STATUS.md) - Current development state
- [๐
Project Roadmap](./docs/PROJECT_ROADMAP.md) - Phase timeline and milestones
- [๐ Changelog](./CHANGELOG.md) - Version history and improvements
- [๐ค Contributing Guide](./CONTRIBUTING.md) - How to contribute
---
## ๐ฏ Core Platform Features
### ๐ก Intelligent Subscription Management
### ๐ Smart Detection Engine
- ML-powered transaction analysis
- 95%+ accuracy subscription identification
- Pattern recognition for variable amounts
- Automatic categorization and tagging
### ๐ค AI-Powered Assistant
- GPT-4 natural language interface
- Conversation-based management
- Intelligent recommendations
- Proactive optimization suggestions
### ๐ซ Unified Cancellation System
- API-first provider integration
- Browser automation with Playwright
- Manual instruction generation
- Real-time progress tracking
### ๐ Advanced Analytics
- Predictive spending forecasts
- Anomaly detection and alerts
- Interactive calendar visualization
- Confidence interval analysis
### ๐ข Enterprise Security & Compliance
- **๐ Zero-Trust Architecture** - End-to-end encryption with AES-256-GCM
- **๐ก๏ธ Comprehensive Audit Logging** - Security event tracking and compliance reporting
- **โก Advanced Rate Limiting** - Multi-tier DDoS protection with premium benefits
- **๐ Session Management** - Fingerprinting, concurrent limits, anomaly detection
- **๐ Input Validation** - XSS/SQL injection prevention with comprehensive schemas
- **๐จ Threat Detection** - Real-time security monitoring and automated response
### ๐ณ Premium Business Features
- **๐ฐ Stripe Billing Integration** - Subscription tiers with self-service portal
- **๐ Real-Time Synchronization** - Webhook-based instant data updates
- **๐ Predictive Analytics** - Advanced forecasting with confidence intervals
- **๐พ Multi-Format Export** - CSV, JSON, PDF, Excel data export capabilities
- **๐ฅ Team Management** - Multi-user accounts with role-based permissions
- **๐ API Platform** - Third-party integration capabilities for enterprises
---
## ๐งช Development & Testing
### Available Commands
```bash
# Development
npm run dev # Start development server
npm run dev:all # Dev server + Prisma Studio + Mailhog
npm run build # Production build
npm run start # Start production server
# Database Operations
npm run db:push # Push schema changes
npm run db:studio # Open Prisma Studio GUI
npm run db:migrate # Create migrations
npm run db:seed # Populate with test data
npm run db:reset # Reset database (โ ๏ธ CAUTION)
# Code Quality & Testing
npm run lint # ESLint analysis
npm run lint:fix # Auto-fix ESLint issues
npm run type-check # TypeScript compilation check
npm run format # Prettier formatting
npm test # Run all tests
npm run test:watch # Watch mode testing
npm run test:e2e # End-to-end tests
npm run test:coverage # Generate coverage report
```
### Quality Assurance Standards
- **๐ฏ 100% TypeScript Safety** - Zero compilation errors across entire codebase
- **โ
Comprehensive Testing** - 1,049+ tests with unit, integration, E2E, and security coverage
- **๐ง Modern ESLint Rules** - Enterprise-grade code quality with zero linting errors
- **๐จ Prettier Formatting** - Consistent code style across all files
- **๐ Security Testing** - 123 dedicated security tests covering all attack vectors
- **๐ Performance Monitoring** - 95/100 Lighthouse score with Core Web Vitals optimization
---
## ๐ Production Deployment
### Vercel (Recommended)
[](https://vercel.com/new/clone?repository-url=https://github.com/doublegate/SubPilot-App)
1. **Fork this repository**
2. **Import to Vercel**
3. **Configure environment variables**
4. **Deploy automatically**
### Docker Deployment
```bash
# Using Docker Compose (includes PostgreSQL)
docker-compose up -d
# Custom Docker build
docker build -t subpilot-app .
docker run -p 3000:3000 --env-file .env.local subpilot-app
```
### Manual Deployment
Comprehensive deployment guides available:
- [๐ Production Deployment Guide](./docs/PRODUCTION_DEPLOYMENT.md)
- [๐ณ Docker Configuration](./docs/DOCKER_SETUP.md)
- [โ๏ธ Cloud Platform Guides](./docs/CLOUD_DEPLOYMENT.md)
---
## ๐ Project Status & Metrics
๐๏ธ Development



๐งช Quality



โก Performance



๐ Security



### ๐ฏ Current Status: Production Ready
- โ
**Enterprise Architecture** - Microservice design with intelligent orchestration
- โ
**Zero Technical Debt** - 100% code quality compliance across entire codebase
- โ
**Security Hardened** - Comprehensive audit with 100% vulnerability remediation
- โ
**Performance Optimized** - 95/100 Lighthouse score with Core Web Vitals excellence
- โ
**Commercial Ready** - Revenue model with Stripe billing and enterprise features
- ๐ **Phase 4 Active** - Launch and marketing initiatives underway
---
## ๐บ๏ธ Roadmap & Future Vision
### ๐ Phase 4: Commercial Launch (Current)
### ๐ Launch Initiatives
- [ ] Marketing site development
- [ ] SEO optimization and content strategy
- [ ] Partnership program establishment
- [ ] Customer success infrastructure
### ๐ฑ Platform Expansion
- [ ] Native iOS application
- [ ] Native Android application
- [ ] API marketplace development
- [ ] White-label solutions
### ๐ข Enterprise Deployment
- [ ] Advanced team management
- [ ] Corporate billing systems
- [ ] Custom integration framework
- [ ] Multi-tenant architecture
### ๐ Global Expansion
- [ ] Multi-currency support
- [ ] International banking APIs
- [ ] Localization framework
- [ ] Regional compliance features
### ๐ฎ Future Enhancements
- **๐ค Advanced AI** - Enhanced ML models for prediction and automation
- **๐ฆ Banking Partnerships** - Direct integrations with financial institutions
- **๐ณ Virtual Card Integration** - Trial management with disposable cards
- **๐ Advanced Analytics** - Business intelligence and reporting platform
- **๐ Ecosystem Integration** - Budgeting apps, financial planners, tax software
---
## ๐ค Contributing & Community
We welcome contributions from developers, designers, and financial technology enthusiasts!
### ๐ How to Contribute
1. **Fork the repository**
2. **Create feature branch** (`git checkout -b feature/amazing-feature`)
3. **Follow our development standards** (TypeScript, tests, documentation)
4. **Submit pull request** with comprehensive description
### ๐ Development Standards
- **Code Quality** - Maintain 100% TypeScript safety and ESLint compliance
- **Testing** - Write comprehensive tests for all new features
- **Documentation** - Update relevant docs and API references
- **Security** - Follow security best practices and audit guidelines
### ๐ Recognition
- [Contributors](https://github.com/doublegate/SubPilot-App/graphs/contributors) - Thank you to all contributors!
- [Security Researchers](./SECURITY.md) - Responsible disclosure recognition
- [Community Leaders](./docs/COMMUNITY.md) - Active community participants
---
## ๐ License & Legal
This project is licensed under the **MIT License** - see [LICENSE](LICENSE) for details.
### ๐ Security & Privacy
- **Privacy Policy** - [View our privacy commitments](./PRIVACY.md)
- **Security Policy** - [Report vulnerabilities responsibly](./SECURITY.md)
- **Terms of Service** - [Platform usage terms](./TERMS.md)
- **Data Protection** - GDPR compliant with user-controlled data management
---
๐ Ready to Transform Your Subscription Management?
๐ Live Demo โข
๐ Documentation โข
๐ฆ Releases โข
๐ค Contribute
Built with โค๏ธ and enterprise-grade excellence
SubPilot Team โข Production Ready Since 2025
---