Real-time social media analytics platform that tracks sentiment, predicts viral content, and analyzes human behavior patterns across Reddit and news sources.
- Live Sentiment Analysis - Real-time mood tracking
- Viral Content Predictions - AI-powered engagement forecasting
- Behavioral Insights - Human pattern analysis
- Interactive Dashboard - Mobile-responsive analytics interface
pip install -r requirements.txtReddit API (Free)
- Go to Reddit Apps
- Click "Create App" → select "script"
- Copy Client ID and Client Secret
NewsAPI (Free)
- Register at NewsAPI
- Copy your API Key
Add your API keys to app/config.py:
reddit_client_id = "your_reddit_client_id"
reddit_client_secret = "your_reddit_client_secret"
newsapi_key = "your_newsapi_key"python run.pyThe dashboard will open at http://localhost:8501
- Data Collection: Reddit + NewsAPI → SQLite database
- Analytics: VADER sentiment analysis + engagement algorithms
- Interface: Streamlit dashboard with real-time updates
social_pulse_analytics/
├── collectors/ # Data gathering from APIs
├── analyzers/ # Sentiment analysis and trend detection
├── dashboard/ # Interactive web interface
├── app/ # Core models and configuration
├── data/ # SQLite database
└── logs/ # Application logs
- Reddit: 60 requests/minute (unlimited daily)
- NewsAPI: 1,000 requests/day (free tier)
Collection runs every 30 minutes with smart rate limiting.
- Portfolio Projects - Demonstrate real-time data processing
- Market Research - Track sentiment and trends
- Social Psychology - Study information spread patterns
- Content Strategy - Predict viral potential
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details.
Built to understand human nature through data.