- Heat Lounges: Join real-time surf community chat with live PortugueseโEnglish translation
- Hype Meter: Pump up the excitement with interactive crowd energy tracking (0-100%)
- Fantasy Live: Compete with Griffin Colapinto as your Power Surfer (2x multiplier)
- Prop Pick'em: Make instant surf predictions with streak tracking and rewards
- Co-Watch Parties: Create private watch sessions with friends and synchronized reactions
- Clip Creator: Generate 30-second highlight reels with one-click sharing (Simulated)
- Multi-Language Community: Experience global surf community (EN/PT/ES) with automatic translation
- Production Features: Real PubNub Functions, DeepL API, user authentication, content moderation
- Mobile/Tablet Optimized: WSL ocean-blue design with Pipeline Masters heat experience
- Heat Lounges: Real-time surf community chat with global presence tracking (PubNub Chat SDK)
- Live Translation: PortugueseโEnglish automatic translation via DeepL API (PubNub Functions)
- Hype Meter: Interactive crowd excitement tracking using PubNub Signals (0-100% with decay)
- Fantasy Live: Power Surfer multipliers with real-time leaderboard updates (Griffin Colapinto 2x)
- Co-Watch Parties: Private synchronized chat and viewing sessions with friend invitations
- Multi-Language Support: Global community (EN/PT/ES) with automatic content translation
- User Presence: Real-time online/offline status and activity tracking (PubNub Presence)
- Message Reactions: Emoji reactions and user interactions (PubNub Chat SDK)
- Content Moderation: Real-time filtering, user ban/mute capabilities (PubNub Functions + PubNub BizOps)
- Prop Pick'em: Instant surf predictions with 30-90s voting windows and streak tracking
- Clip Creator: 30-second highlight generation with real-time processing notifications (Simulated)
- Fantasy Scoring: Live head-to-head competition with position tracking and animations
- Achievement System: XP rewards, streaks, and community leaderboards
- Real PubNub Functions: Translation, moderation, clip processing, analytics (4 deployed functions)
- External APIs: DeepL translation, video processing services, analytics webhooks
- Security: Access Manager, rate limiting, content filtering, secure private channels
- Performance: <100ms message delivery, <200ms translation, sub-second clip processing
You'll need a PubNub account with specific features enabled for the WSL platform:
-
Sign up for a PubNub account and create a new app for WSL
-
Enable these features on your keyset:
- โ Stream Controller (for channel management)
- โ Presence (for real-time user tracking)
- โ Message Persistence (for chat history)
- โ App Context (Objects) (for user/channel metadata)
- โ PubNub Functions (for translation, moderation, analytics)
- โ Mobile Push (for notifications)
- โ Access Manager (for production security)
-
Copy your Publish Key, Subscribe Key, and Secret Key
For full production features, you'll also need:
- DeepL API Key: Premium translation service (free tier: 500K chars/month)
- Video Processing Service: For clip generation (Mux/AWS MediaConvert)
- OAuth Providers: Google, Facebook, Apple ID for user authentication
- Clone and Setup
git clone <repository-url>
cd WSL
- Frontend Setup
cd web
# Create environment file
cp .env.example .env
# Add your PubNub keys to .env:
# NEXT_PUBLIC_PUBNUB_PUBLISH_KEY=your_publish_key
# NEXT_PUBLIC_PUBNUB_SUBSCRIBE_KEY=your_subscribe_key
npm install
npm run dev
# Navigate to localhost:3000
- Backend Setup (In separate terminal)
cd backend
# Create environment file
cp .env.example .env
# Add your PubNub keys to .env:
# PUBNUB_PUBLISH_KEY=your_publish_key
# PUBNUB_SUBSCRIBE_KEY=your_subscribe_key
# PUBNUB_SECRET_KEY=your_secret_key (for Access Manager)
npm install
npm run generator
For full production features (translation, authentication, clip processing):
- Configure External APIs in backend/.env:
DEEPL_API_KEY=your_deepl_api_key
VIDEO_PROCESSING_API_KEY=your_video_service_key
-
Deploy PubNub Functions: See
/backend/functions/PRODUCTION_DEPLOYMENT_GUIDE.md
-
Environment Variables: Complete setup guide in
/Cursor_Helper/TECHNICAL_SETUP.md
This WSL platform includes extensive documentation and transformation resources in /Cursor_Helper/
:
PROJECT_ANALYSIS.md
- Complete technical breakdown of the WSL platformCHECKPOINT_CURRENT_STATUS.md
- Current project status and completion summaryWEEK_3_COMPLETION_SUMMARY.md
- Production implementation details
TRANSFORMATION_FRAMEWORK.md
- Methodology for adapting this demo to other industriesPROMPT_TEMPLATES.md
- Ready-to-use AI prompts for developmentWSL_PLANS_COMPARISON.md
- 5 different implementation approaches analyzed
WSL_UI_GUIDELINES.md
- Complete design system and mobile-first componentsWSL_DEMO_WALKTHROUGH_WEEK_2.md
- Step-by-step presentation guideWSL_PROGRESS_TRACKER.md
- 21-day development timeline and completion status
TECHNICAL_SETUP.md
- Environment setup, dependencies, and external servicesPRODUCTION_ENV_SETUP.md
- Production deployment configuration- Backend functions with deployment guides for PubNub Console
This framework supports adaptation for various industries:
- Entertainment & Media: Concerts, TV shows, gaming tournaments
- Education & Training: Webinars, conferences, corporate training
- Business & Finance: Trading platforms, sales events, customer support
- Healthcare & Wellness: Telemedicine, fitness classes, support groups
โ PRODUCTION COMPLETE: Full 3-week transformation delivering:
- ๐โโ๏ธ 7 WSL Widgets: Heat Lounges, Hype Meter, Fantasy Live, Prop Pick'em, Co-Watch Parties, Clip Creator, Stream
- ๐ Real Translation: PortugueseโEnglish via DeepL API (<200ms response)
- ๐ Authentication: OAuth with PubNub App Context user management
- โก 4 PubNub Functions: Translation, moderation, clip processing, analytics
- ๐จ WSL Design: Ocean-blue mobile-first UI optimized for surf community
- ๐ฑ Production Ready: Scalable architecture supporting 10,000+ concurrent users
- Technical Support: devrel@pubnub.com
- WSL Partnership: Contact PubNub sales for WSL platform demonstrations
- Custom Transformations: Reference
/Cursor_Helper/TRANSFORMATION_FRAMEWORK.md
- Issues: Raise an issue in this repository
Ready to make waves in real-time community engagement! ๐๐ค