Inspiration
The internet moves faster than anyone can keep up with. Trends explode overnight and disappear the next day. Creators, students, brands, and even businesses often rely on guessing what’s trending — but guessing is not a strategy.
I wanted to build something simple, fast, and powerful that gives instant clarity: Is the topic you care about rising, stable, or declining?
That led to TrendPulse AI — a real-time trend direction predictor that helps users make smarter posting, learning, and business decisions in seconds.
What it does
TrendPulse AI predicts the momentum of any keyword as:
Rising Stable Declining
Users can enter any topic (e.g., “AI jobs”, “K-pop comeback”, “NFT art”, “Cybersecurity jobs”), and TrendPulse AI instantly returns:
Trend Direction Trend Score (0–100) Confidence Level Best Posting Time Related Keywords 7-Day Trend Graph
It turns noisy Internet data into simple, actionable insights anyone can understand in seconds.
How we built it
Frontend (Lovable)
- Designed a simple, premium, minimal UI
- Built input bar, Analyze button, and result sections
- Added a line graph to visualize 7-day trends
- Integrated backend using Lovable’s no-code API blocks
- Ensured a clean and responsive layout for all devices
Backend (Render + FastAPI)
- Used pytrends to fetch real Google Trends data
- Built a custom mathematical model to calculate the trend slope
- Generated score, confidence, and recommended posting time
- Added related keyword suggestions using pytrends
- Implemented caching to avoid Google rate limits
- Deployed on Render for a stable, always-on backend
- Exposed a single public /analyze endpoint for the frontend
Everything runs serverlessly, lightweight, and fast — perfect for a hackathon environment.
Challenges we ran into
- Google Trends rate limiting
Frequent calls were blocked (especially on Replit). We solved this with:
- caching
- minor cooldowns
- reusing TrendReq sessions
- Trend noise
Many keywords fluctuate daily. We fixed this by smoothing values and setting slope thresholds.
- Time pressure
Building the backend, logic, and frontend in one sprint was intense — but breaking the project into micro-phases helped ship fast.
- Graph integration
Mapping the backend’s numeric array into Lovable’s line graph required careful formatting.
Accomplishments that we're proud of
- Built a complete analytics tool in under 24 hours
- Created a clean, intuitive interface anyone can understand
- Developed a real trend prediction model using math, not guesswork
- Seamlessly integrated frontend (Lovable) and backend (Render)
- Achieved instant and stable results with caching + optimization
- Delivered an MVP that genuinely feels like a startup-grade product
What we learned
- Real-world trend data is noisy and unpredictable
- Simple, interpretable models can outperform complex ML in hackathons
- Clean UI is as important as accurate logic
- Effective time management equal to fast MVP delivery
- How FastAPI, pytrends, and Lovable can work together efficiently
- How to transform an idea into a functional product rapidly
What's next for TrendPulse
- Forecasting future trends using Prophet/ARIMA
- Multi-region trend comparison
- AI-powered hashtag suggestion engine
- Sentiment analysis from social media signals
- Creator recommendations (“What should I post today?”)
- Mobile app version
- Chrome extension for instant trend checks anywhere online
Built With
- css
- html
- lovable
- python
- pytrends
- render
- replit
- typescript
Log in or sign up for Devpost to join the conversation.