Thanks to visit codestin.com
Credit goes to github.com

Skip to content

athuler/fools-gold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fool's Gold

Tracking the scores for Game Changer's Fool's Gold.

In Game Changer's episode "Fool's Gold" (Season 7, Episode 8, released July 14, 2025), 10 videos were posted across various social media platforms.

Video Scoring

Each video sums their number of views, likes, and comments it received across all social media platforms. Users are able to toggle between a combined score (view + likes + comments), total views, total likes, or total comments.

Threads Instagram TikTok YT Shorts Tumblr Bluesky
Kings Link Link Link Link Link Link
Car Wash Link Link Link Link Link Link
Glue Link Link Link Link Link Link
Cracks Link Link Link Link Link Link
Dimension 20 Link Link Link Link Link Link
Puppy Bowl Link Link Link Link Link Link
Breast Milk Link Link Link Link Link Link
Hair Link Link Link Link Link Link
Holes Link Link Link Link Link Link
Brennan Link Link Link Link Link Link

Note

We are purposefully not scoring Twitter engagement

Player Scoring

  • Trapp: Glue, Cracks, 0.5 * Puppy Bowl, 0.5 * Holes, 1/3 * Brennan
  • Jordan: Kings, Hair, 0.5 * Car Wash, Breast Milk, 1/3 * Brennan
  • Rekha: Dimension 20, 0.5 * Car Wash, 0.5 * Puppy Bowl, 0.5 * Holes, 1/3 * Brennan

Page Layout

This is a one page website with the following sections:

  1. Video Ranking Displays the ranking of all videos with a toggle to toggle between modes (combined, total views, ...)
  2. Player Ranking Displays the ranking of all players with a toggle to toggle between modes (combined, total views, ...)
  3. Historical Trends Display using two linegraphs how the scores of the videos and players have changed since July 15th, 2025.
  4. Video Links A table-like view where users can click through to each video on each platform.

Tech Stack

  • Frontend: ?
  • Backend: Python
  • Infrastructure: Google Cloud Run
  • Data Storage: Google Cloud Storage

Data Storage

The engagement data are saved as a single JSON file in the following format:

{
    "kings":[
        {
            "timestamp":123456,
            "total_views": 123,
            "total_likes": 123,
            "total_comments": 123,
            "views_threads": 123,
            "likes_threads": 123,
            "comments_threads": 123,
            "views_instagram": 123,
            ...
        },
        {"timestamp":1234212, ...}
    ],
    "car_wash": ...,
    ...
}

When loading the page, if it has been more than 4 hours since the last data point, new social data are fetched for each video and social platform and added to the JSON file. Otherwise, the latest social data from the JSON file is used.

Run

source venv/bin/activate && gunicorn --bind 0.0.0.0:8080 --workers 1 --timeout 120 --log-level info --access-logfile - --error-logfile - --capture-output --preload app:app