npm run devThis will:
- Check if configuration exists
- Run Python setup if needed
- Start the development server with hot reload
- Windows: Run
start.bat - Linux/Mac: Run
./start.sh
- Run the Python setup script:
python setup_experiences.py - Follow the prompts to configure your chat experiences
- Start the application:
npm start
npm run dev- If no configuration exists, Python setup will run automatically
- After setup, the development server starts with hot reload
- Configuration is saved and remembered for future runs
npm run dev- Configuration is loaded automatically
- Development server starts immediately
- No setup required
npm run dev:direct- Bypasses configuration check
- Starts development server directly
- Use only if you're sure configuration exists
- Enter number of experiences: Choose how many chat channels you want to monitor (1-10)
- Enter experience IDs: For each channel, enter the experience ID from your Whop dashboard
- Configuration saved: The settings are saved to
src/config/experiences.json - Node.js starts: The bot automatically starts after successful configuration
- Go to your Whop dashboard
- Navigate to "Chat experiences" or "Experiences"
- Find the chat channels you want to monitor
- Copy the experience ID (usually starts with
exp_)
🔧 EXPERIENCE CONFIGURATION SETUP
============================================================
This bot will only process image messages from the channels you configure here.
You can find experience IDs in your Whop dashboard under Chat experiences.
The Node.js application will NOT start until you complete this setup.
How many chat experiences do you want to allow? (1-10): 3
You will now enter 3 experience ID(s).
Example: exp_abc123def456
Enter experience ID 1/3: exp_abc123def456
✅ Added: exp_abc123def456
Enter experience ID 2/3: exp_def456ghi789
✅ Added: exp_def456ghi789
Enter experience ID 3/3: exp_ghi789jkl012
✅ Added: exp_ghi789jkl012
============================================================
✅ CONFIGURATION SAVED SUCCESSFULLY!
============================================================
Valid experiences configured:
1. exp_abc123def456
2. exp_def456ghi789
3. exp_ghi789jkl012
Configuration saved to: /path/to/src/config/experiences.json
The Node.js application will now start...
============================================================
🚀 Starting Node.js application...
- "No experience configuration found": Run the Python setup script first
- Invalid experience ID: Check that the ID exists in your Whop dashboard
- Permission errors: Ensure you have write access to the project directory
To change your configuration:
- Delete
src/config/experiences.json - Run the setup script again
- Enter your new experience IDs