Inspiration
Every day, millions of people interact with trending content on YouTube, but most analytics platforms only show surface-level metrics like views and likes. They fail to explain why certain content becomes viral, what audience behavior is emerging, and where hidden market opportunities exist.
We built TrendOps to solve this problem.
Our goal was to create an AI-powered trend intelligence platform capable of transforming raw YouTube trending data into actionable strategic insights for creators, startups, brands, and researchers. Instead of manually scrolling through trending pages, users can instantly identify content themes, audience clusters, regional subcultures, and business opportunities.
One of the most interesting discoveries during development was identifying how regional Indian music content — especially Haryanvi music — was massively outperforming mainstream expectations in engagement metrics. That insight validated the real-world value of our platform.
What it does
TrendOps is an AI-powered YouTube trend intelligence and market analysis platform.
The system:
- Fetches live YouTube trending data
- Scores engagement across videos
- Extracts important keywords using NLP
- Clusters related content themes using machine learning
- Generates executive summaries and startup insights using Google Gemini
The final output helps users:
- Detect emerging trends early
- Understand audience behavior
- Discover niche market opportunities
- Generate content strategies
- Analyze regional digital culture shifts
TrendOps turns noisy internet data into structured business intelligence.
How we built it
We designed TrendOps using a modular multi-agent architecture built with FastAPI and Python.
Core Pipeline
Governance Agent
- Validates regions, categories, and rate limits
- Ensures safe execution flow
Data Agent
- Connects to the YouTube Data API v3
- Fetches live trending metadata
Analytics Agent
- Runs TF-IDF keyword extraction
- Uses K-Means clustering for semantic grouping
- Calculates engagement scores
Intelligence Agent
- Uses Google Gemini to generate strategic insights
- Produces startup ideas, summaries, and content strategies
The platform was deployed on a production AWS EC2 environment with Nginx reverse proxying, HTTPS via Let's Encrypt SSL, and persistent systemd-managed services for high availability.
Tech Stack
- Python 3.11
- FastAPI
- Google Gemini API
- YouTube Data API v3
- NumPy
- TF-IDF NLP Pipeline
- K-Means Clustering
- HTML/CSS Dashboard UI
- Nginx
- EC2 Deployment
We deployed the project on a production EC2 instance with HTTPS, Nginx reverse proxying, and persistent systemd services.
Challenges we ran into
One of the biggest challenges was designing a reliable real-time analytics pipeline while staying within YouTube API quota limits.
We also faced:
- Handling noisy and inconsistent video metadata
- Improving clustering quality with limited data
- Managing LLM latency and fallback handling
- Production deployment issues involving Nginx, SSL, and systemd configuration
- Preventing API key exposure while maintaining easy local setup
Another major challenge was generating insights that were actually meaningful instead of generic AI summaries. We refined prompts and analytics scoring multiple times to improve output quality.
What we learned
During this project, we learned:
- How unsupervised NLP pipelines work in production
- Practical use cases for TF-IDF and clustering
- Multi-agent architecture design patterns
- Real-world API orchestration
- Cloud deployment and reverse proxy configuration
- AI observability and execution tracing
Most importantly, we learned how powerful AI becomes when combined with structured analytics instead of raw prompting alone.
Future Scope
We plan to expand TrendOps into a multi-platform intelligence engine supporting:
- TikTok
- Instagram Reels
- Twitter/X
- Temporal trend tracking
- Predictive virality scoring
- Automated business opportunity alerts
- Exportable investor reports
Our long-term vision is to build a real-time cultural intelligence platform for the internet economy.
Built With
- amazon-web-services
- css3
- docker
- ec2
- fastapi
- google-gemini-api
- html5
- javascript
- jinja
- k-means-clustering
- linux
- nginx
- numpy
- python-3.11
- rest
- systemd
- tf-idf
- uvicorn
- youtube-data-api-v3

Log in or sign up for Devpost to join the conversation.