I run GTA VIKI, a community site for GTA fans. Our mod directory has two sorting options: newest and most downloaded. Working on it got me wondering what a third button, Trending, should actually do.
Imagine two GTA 6 vehicle mods. These numbers are made up, but the decision is one I’d have to make.
┌─────────────────────────┬───────────┬──────────┬─────────┐ │ Mod │ Downloads │ Last 24h │ Last 7d │ ├─────────────────────────┼───────────┼──────────┼─────────┤ │ An established car pack │ 10,000 │ 12 │ 95 │ │ A drift handling mod │ 600 │ 180 │ 420 │ └─────────────────────────┴───────────┴──────────┴─────────┘ I’d put the drift mod first. If I opened the site tomorrow and its downloads had dropped to zero, though, I’d expect it to start slipping. How quickly should that happen?
The simplest version I’d try gives each download from the last 24 hours three points and each download from the previous six days one point.
function trendingScore(downloadsLast24h, downloadsLast7d) {
const downloadsPrevious6d = downloadsLast7d - downloadsLast24h;
return 3 * downloadsLast24h + downloadsPrevious6d;
}
That puts the car pack at 119 and the drift mod at 780. So far, that feels right.
Here’s the part that bothers me. Say a small mod gets 40 downloads when its creator shares a clip. At 23 hours and 59 minutes, those downloads are worth 120 points. Two minutes later, they’re worth 40. Nobody uninstalled anything. The clock alone knocked 80 points off the score.
I’d still ship the simple version first. If players kept seeing mods disappear halfway through browsing, that would be a good reason to let each download lose weight gradually as it ages.
If you clicked “Trending” on a GTA 6 mod site tonight, which would you expect to see first: a mod that got 40 downloads in the last hour, or one that’s been getting 10 an hour all day?


