Key Features
OnlyFans Integration
The extension integrates with the OnlyFans platform:- API Integration: Securely connects with OnlyFans APIs using authenticated user sessions
- Fan Data Management: Organizes information about subscribers
- Message Enhancement: Improves messaging capabilities with templates
- UI Integration: Adds helpful overlay elements to the OnlyFans interface
Authentication Process
The extension uses a secure method to integrate with OnlyFans through the following process:-
Request Interception: The background service worker intercepts network requests to the OnlyFans API endpoint
/api2/v2/users/me
-
Data Collection: When a user is logged into OnlyFans, the extension captures:
- HTTP Request Headers (containing authentication tokens)
- Cookies (including session data)
- LocalStorage & SessionStorage data
-
Secure Transmission: This authentication data is securely transmitted to the OnlyAutomator backend via HTTPS:
- Backend Validation: The OnlyAutomator backend validates the authentication data and establishes a secure connection between the user’s OnlyFans account and OnlyAutomator services
- Status Feedback: The extension receives connection status (connected, pending, or error) and updates the UI accordingly
- User credentials are never directly stored in the extension
- Authentication works through legitimate OnlyFans API interactions
- All data is transmitted securely to prevent interception
- The extension only operates with properly authenticated sessions
Backend Data Processing Flow
The data flows through the OnlyAutomator infrastructure in multiple directions, with different patterns for different operations:1. Initial Data Collection (Write Flow)
When a user connects their OnlyFans account:-
Extension to Web Application:
- The extension intercepts OnlyFans API requests and captures authentication data
- This data is sent to the web application via
/api/v2/account-connect
-
Web Application to Supabase:
- The web application validates and processes the received data
- The data is stored directly in the Supabase database
-
Web Application to Microservice:
- After storing the data, the web application triggers the microservice via
/api/process-account/{accountId}
- This only happens during the initial account connection or synchronization
- After storing the data, the web application triggers the microservice via
-
Microservice Processing:
- The microservice performs complex data processing tasks
- Results are stored back in the Supabase database
2. Data Retrieval (Read Flow)
When the extension needs to display data:- Extension to Web Application:
- The extension requests data from the web application (e.g.,
/api/v2/get-account
)
- The extension requests data from the web application (e.g.,
- Web Application to Supabase:
- The web application queries the Supabase database directly
- Web Application to Extension:
- The retrieved data is returned to the extension
- No microservice involvement is required for simple data retrieval
3. Data Updates (Update Flow)
When users make changes via the extension:- Extension to Web Application:
- The extension sends update requests (e.g.,
/api/v2/update-note
)
- The extension sends update requests (e.g.,
- Web Application to Supabase:
- The web application updates the data directly in Supabase
- For simple updates, the microservice is not involved
- Fast data retrieval for UI elements
- Secure handling of sensitive authentication data
- Efficient processing through appropriate service utilization
- Separation of concerns between components
- Real-time data availability across the platform
Fan Relationship Management
The extension helps manage fan interactions:- Fan Notes: Store notes about subscribers for easy reference
- Fan Preferences: Track preferences and interests
- Location Data: Manage fan geographical information
- Spending Data: View messaging and tipping history
Creator Tools
The extension offers several productivity tools:- Message Templates: Save and reuse common messages
- PPV Time Graphs: View message monetization patterns by time
- Quick Reminders: Set alarms for important tasks
- Massive PPV: Send Pay-Per-View messages to multiple subscribers
- CRM Panel: Directly manage fan relationships from OnlyFans interface
User Interface
The extension provides an interface accessible from the browser toolbar:Popup Interface
Content Page Overlay
When users are on OnlyFans, the extension provides overlay components:- CRM Panel: Fan management panel showing notes and preferences
- Scripts Popover: Quick access to message templates and automated scripts
- PPV History Dialog: Track and analyze message pricing patterns
- Massive PPV Dialog: Interface for sending PPV to multiple subscribers
- Alarm Popover: Set and manage reminder alarms
Technical Implementation
Architecture
The extension is built as a modern React application with TypeScript:Data Flow
Directory Structure
The extension follows a modern React application structure:Authentication Flow
The extension securely connects with OnlyFans by intercepting API requests to authenticate with the OnlyAutomator backend:- When a user visits OnlyFans, the extension detects login status
- The extension intercepts requests to the OnlyFans API endpoint
/api2/v2/users/me
- Authentication data (headers, cookies, localStorage) is captured
- This data is securely transmitted to the OnlyAutomator backend
- The backend validates and establishes the connection
- No credentials are stored directly in the extension
- The extension only works with authenticated OnlyFans sessions
- Data synchronization happens securely through the backend