Inspiration
Two creators post the same idea in the same week. Same trend, about the same length. One gets tens of thousands of views and the other gets a few hundred. Nobody can tell them why.
Analytics dashboards say what happened to your own video, but nothing about everyone else posting the same idea. Raw view counts make it worse: a creator with 2M subscribers will always look like the winner, even when a 5K-subscriber creator's Short did far better for its size.
Our first name for the project was The Algorithm, because that's who every creator is really posting for. We wanted a tool that lets creators see what it's doing, and be honest about what nobody outside YouTube can see.
The algorithm doesn't always get you. But now you can get it.
What it does
Paste a YouTube Short link and Wave:
- Finds other Shorts on the same idea and lays them out as waves flowing from yours, in performance lanes. Closer means more similar, and bigger means more views.
- Removes creator size with one toggle. Each Short is compared with its own creator's usual reach, so a small creator's breakout stands out instead of being buried under big accounts.
- Explains why the idea is moving right now, using You.com, with sources you can click.
- Builds a playbook from the Shorts that broke out: their hooks, typical length vs. yours, posting timing, hashtags, and one concrete experiment for your next post.
- Keeps evidence separate. What we observed, what might explain it, and what public data can't tell us are always shown apart.
- Shares your wave as a ready-to-post image card for LinkedIn or X.
How we built it
Stack: Next.js 15 (App Router), React 19 and TypeScript, with plain CSS. The wave map is hand-written SVG with no chart libraries. There's no database and no login.
Pipeline (one server route, POST /api/analyze):
- Find: We pull the Short's metadata from the YouTube Data API v3. Then we build two search queries, one from the title keywords and one from the top meaningful hashtag plus keywords, and keep only results that are 180 seconds or shorter.
- Score similarity: We score each candidate against your Short:
$$ \text{similarity} = 0.5\,J(\text{title keywords}) + 0.3\,J(\text{hashtags}) + 0.2\left(1 - \min!\left(\tfrac{|\Delta t|}{60},\,1\right)\right) $$
Here \( J \) is Jaccard overlap, and generic tags like #shorts, #viral and #fyp are ignored.
- Remove creator size: For every channel we fetch its last ~10 Shorts and compare each video with that creator's median:
$$ \text{outperformance} = \frac{\text{views}}{\operatorname{median}(\text{creator's recent Shorts})} $$
If a channel doesn't have enough recent Shorts, we fall back to \( \text{views} / \max(\text{subscribers}, 100) \). The floor keeps tiny accounts from breaking the scale. Each video then lands in a lane: Below usual (<0.5×), *Around usual*, *Strong* (1.5–3×) or *Outlier* (>3×).
- Explain with You.com:
- The Web Search API finds recent coverage of the idea. We keep only results with real URLs.
- The Research API writes a 2–3 sentence "why it's moving now" summary with citations.
- A second Research API call turns our computed numbers for the top and bottom five Shorts into patterns, timing and unknowns. It sees only those numbers, never made-up metrics. If it fails or runs past 12 seconds, Wave falls back to a numbers-only verdict.
Challenges we ran into
- YouTube quota. One
search.listcall costs 100 of our 10,000 daily units, so a few live demos could have used up the day. We cache every response as JSON and preload demo Shorts, so a repeat run costs zero quota and works offline. - Fair comparison. Dividing by subscribers was our first idea, but subscriber counts are often hidden and don't reflect how much reach a creator actually gets. So we moved to each creator's own recent median, with subscribers as a fallback.
- Finding "the same idea" from public metadata only. Titles are messy and hashtags are full of noise. Weighting keywords, real hashtags and video length gave much better matches than any one of them alone.
- Keeping AI honest. It's easy for a model to invent retention or "the algorithm favored X." We grounded the verdict in our own numbers, required real source URLs, and added an Unknown section on the results page.
- Time. We had about three hours, with three people working in one repo. A shared data contract (
lib/types.ts) and one GitHub issue per task kept us from overwriting each other's work.
What we learned
- Raw views mostly reflect how big the creator already is. Once you remove creator size, the real breakouts are often small creators, and those are the ones worth learning from.
- Saying "we can't see this" builds trust instead of weakening the product.
- You.com was most useful for context, meaning why an idea is moving this week, which YouTube metrics alone can't tell you.
- A demo needs a safety net. Caching plus a mock mode meant the demo couldn't fail on stage.
What's next
- Track ideas over time, so creators get an alert when one in their niche starts moving
- Add TikTok and Instagram Reels
- Build a creator dashboard that runs Wave on every new upload automatically
Built With
- css
- github
- next.js
- node.js
- react
- svg
- typescript
- you.com
- you.com-research-api
- you.com-search-api
- youtube-data-api