Discover emerging product opportunities by combining TikTok trend signals with Google search data — enabling faster, data-driven product decisions.
TrendSense is a trend intelligence prototype that aggregates TikTok and Google trend signals to identify and rank emerging food product opportunities, and classify them into develop vs distribute recommendations.
Businesses—especially small and mid-sized brands—struggle to identify emerging product trends early enough to act on them.
Key challenges include:
- Trend signals are fragmented across platforms (TikTok, Google, etc.)
- Raw data is difficult to interpret without technical expertise
- Decisions are often reactive rather than data-driven
- Lack of a centralized system to validate and prioritize opportunities
As a result, companies miss early-stage opportunities or invest in low-demand products.
TrendSense aggregates and processes trend data from multiple sources to generate actionable product insights.
The platform:
- Combines TikTok keyword signals with Google search trends
- Cleans and filters raw trend data
- Ranks opportunities based on signal strength and relevance
- Classifies opportunities into:
- Develop → New product opportunity
- Distribute → Existing product/category alignment
- Presents results through an interactive dashboard
This enables faster, data-backed decision-making for product strategy.
- 📊 Multi-source trend aggregation (TikTok + Google Trends)
- 🧠 Opportunity ranking and scoring engine
- 🔍 Intelligent filtering of data that does not match minimum criteria
- ⚖️ Business decision classification (Develop vs Distribute)
- 🖥️ Interactive dashboard for exploration and insights
- 🔗 REST API backend powering frontend UI
- Data Ingestion Layer
Collects raw trend data from TikTok and Google Trends. Each data source is processed independently through separate pipelines, with outputs later combined for ranking and insights. - Processing Pipeline
Cleans, filters, and standardizes raw signals to produce high-quality inputs for ranking. - Ranking & Scoring Engine
Ranks opportunities based on combined signal strength (e.g., frequency, growth, consistency) and generates an overall opportunity score to identify actionable product opportunities. - Opportunity Classification Logic
Classifies ranked opportunities into actionable categories:- Develop → New product opportunities
- Distribute → Existing product alignment opportunities
- Backend (Flask)
Handles API requests and exposes processed data via endpoints/api/dashboardand/api/browse. - Frontend (React + Vite)
Displays dashboard views, ranked opportunities, and keyword insights
- TikTok Trend Signals
- Derived from curated datasets capturing early-stage consumer interest.
- Google Search Trends
- Used to validate demand and measure search interest over time.
Note: A combination of real and curated datasets was used for this hackathon prototype.
GET /api/health
Simple health check to confirm the backend is running.
{
"status": "ok"
}
GET /api/dashboard
Returns aggregated insights for the main dashboard view, including:
- Top products (ranked opportunities)
- Trending keywords
- Opportunity highlights
- Summary stats
GET /api/browse
Returns the full ranked list of product opportunities.
- Combines TikTok + Google Trends data
- Filters non-food items
- Deduplicates and ranks by signal score
Each item includes:
- Name, category, score
- Opportunity type (Develop / Distribute)
- Approval status, ingredients, metadata
Frontend
- React
- Vite
Backend
- Python
- Flask
Data
- Google Trends
- TikTok datasets
- Collect trend data
- Clean and filter non-relevant or duplicate entries
- Calculate trend signals using keyword popularity (TikTok) and search interest (Google Trends)
- Rank opportunities using a combined score that prioritizes both rapid growth and sustained demand
- Classify opportunities into Develop or Distribute based on trend strength and market saturation
- Serve results via Flask APIs
- Display insights in an interactive dashboard
Prerequisites
Make sure you have installed
- Python 3.9+
- Node.js (v16+ recommended)
- npm
Initial setup
Create and activate a virtual environment
Install dependencies using pip install -r requirements.txt
Backend
cd backend
python app.py
Backend will run at http://127.0.0.1:5000
Frontend
cd frontend
npm install
npm run dev
Frontend will run at http://localhost:5173/
Open http://localhost:5173/ to view the application.
Notes
- The frontend is configured to proxy API requests to the Flask backend
- Make sure the backend is running before starting the frontend.
- Cleaning and filtering trend data
- Designing ranking logic across multiple sources
- Aligning cross-platform signals (TikTok vs Google)
- Real-time data ingestion
- ML-based trend prediction
- Cloud deployment
- Improved UI/UX



