Overview
OnlyAutomator is a comprehensive suite of tools designed for OnlyFans creators to optimize their presence, analyze performance metrics, and maximize revenue.Web Application
Dashboard & analytics interface built with Next.js
Chrome Extension
Data collector & OnlyFans integration
Microservice
Backend processor & data scraper
Database
Supabase schema and data structure
Getting Started
Follow these steps to set up the entire OnlyAutomator ecosystem for development.Prerequisites
1
Install Node.js
Install Node.js 18.x or higher from nodejs.org
2
3
Set Up Supabase
Create a Supabase account and project for your database
Clone Repositories
Web Application
Web Application
The web application requires a connection to either a local or remote instance of the microservice.
Chrome Extension (Current)
Chrome Extension (Current)
- Open Chrome and go to
chrome://extensions/
- Enable “Developer mode”
- Click “Load unpacked” and select the
dist
folder
Microservice (AWS EC2)
Microservice (AWS EC2)
For production, use PM2 to manage the process:
Microservice (Contabo)
Microservice (Contabo)
Chrome Extension (Legacy)
Chrome Extension (Legacy)
This is the legacy version of the extension and is no longer actively maintained. We recommend using the v2 version for all new development.
Development Workflow
1
Set up the microservice
Start by setting up the microservice as it’s required by both the web application and extension
2
Configure the database
Set up your Supabase database using the database schema
3
Run the web application
Start the web application and ensure it can connect to the microservice
4
Set up the Chrome extension
Install the Chrome extension and connect it to your development environment
Quick Links
Architecture
Understand how all components work together
API Reference
Detailed API documentation for all endpoints
Development Guide
In-depth development guidelines and best practices
Database Schema
Explore the database structure and relations
Email System
Learn about the email marketing automation
Contributing
Guidelines for contributing to the project
Environment Variables
Each repository has specific environment variables that need to be configured. Here’s a quick summary:- Web Application
- Chrome Extension
- Microservice
Common Issues
Extension not connecting to microservice
Extension not connecting to microservice
Make sure your CORS configuration in the microservice allows connections from your extension.In the microservice
.env
:Web application can't connect to Supabase
Web application can't connect to Supabase
Verify your Supabase URL and anon key in the
.env.local
file. Also ensure that your IP is allowed in Supabase’s API settings.Microservice crashes during startup
Microservice crashes during startup
The microservice requires Chrome/Chromium to be installed for Puppeteer. On Linux servers, you may need to install additional dependencies: