Karpathy's TristanTube, a 47K-video viewer reportedly built in 3 minutes
Andrej Karpathy turned Tristan Hume's 2026 YouTube tier list into TristanTube, a YouTube-style viewer for 47,339 videos from 156 channels. Sina Tech reports Claude Code built it in about three minutes. How it works and how to make your own.
Updated November 20, 2026: Expanded with how the feed is weighted, the data format, the reported prompt and how to build a similar viewer.
On November 1, Tristan Hume published a new version of his YouTube tier list, six years after the first one. Within about a week Andrej Karpathy turned it into TristanTube, a YouTube-style site for browsing the regular-video history of every channel on the list. Sina Tech, republishing a report from the Chinese outlet AI信息Gap, says Karpathy built it with Claude Code in about three minutes. That report is our only source for the build time, and nothing we read says the site came from a single prompt.
The list behind it
Hume first ranked his favourite interesting YouTube channels in 2020. The 2026 version sorts 156 channels into five tiers: 5 in S, labelled masterpieces, 14 in A, 12 in B, 33 in C and 92 in D. Applied Science and Clickspring sit in S tier, Primitive Technology in A. Each channel gets a write-up, and Hume argues that the best YouTube channels are some of the most awesome content on the internet for learning interesting things. Sina Tech notes that Hume works on performance at Anthropic.
What TristanTube does
TristanTube draws on the full upload history of all 156 channels, regular videos only, with Shorts and livestreams excluded: 47,339 videos at the time the data file was built. Sina Tech puts that at more than 11,000 hours, or 475 days of non-stop playback. By tier, that is 640 videos from S channels, 1,552 from A, 2,352 from B, 10,242 from C and 32,553 from D. The left side lists every channel by tier, and the home page is a For You feed. The About page explains how the feed picks videos:
- A channel is chosen at random, weighted by tier: S counts 10 times, A 6, B 4, C 2.5 and D 1. Channels with thousands of uploads get no extra share, so they do not crowd out small ones.
- Two random videos are drawn from that channel and the one with more views wins, which tilts gently toward popular videos.
- No video repeats in a session, and Reshuffle starts a fresh feed.
There are a few keyboard shortcuts: Shift+N plays a random video (or the next one in Up next while you are watching), slash jumps to search, and T opens TV mode. TV mode is the lean-back option: full screen, one random video after another with no clicking. In it, keys 1 to 9 jump to 10% through 90% of a video and 0 returns to the start, N goes to the next video and P to the previous one, the arrow keys seek 10 seconds, Space pauses and M mutes. Esc or T exits, and clicking the video pauses it.
How it is built
All the video data comes from one file, videos.json, linked from the About page at karpathy.ai/tristan-tube. The channel list was parsed from Hume's post, and each channel's uploads were listed with yt-dlp. Each channel record holds its name, URL, tier, tag, blurb, the video Hume featured and a video count; each video is a compact array of YouTube ID, title, duration, views and channel index. The channel write-ups are Hume's own words, quoted from his post, and videos play through YouTube's embedded player. Because the file is a snapshot, the totals will drift as channels keep uploading.
The site links to no source repository. Sina Tech reports that Karpathy no longer remembered his exact prompt and shared a rough version from memory in the comments: he gave Claude the links to Tristan's favourite channels and asked for a YouTube-style viewer for their videos, with an about page, dark mode and a lean-back TV mode. The report does not say which Claude model he used this time. Per the same report, his earlier project, HackerTube, took about two hours with Claude Opus 5.5: Claude analysed some 43 million Hacker News comments from nearly 20 years to find 6,454 frequently recommended videos. Karpathy's own steps were creating a Google Cloud API key, setting up a cloud server and buying a domain; Claude handled server updates, security hardening, deployment and optimisation. The sources we read contain no independent check of the three-minute figure.
Build your own
If you have a YouTube channel list of your own, the same pattern should carry over, though we have not tested it: collect the list, fetch the video metadata into a single JSON file, then ask your agent for the viewer. Bulk listing with yt-dlp can be slow for large channels and may run into YouTube's limits or terms, so check those before you start. If you reuse someone else's descriptions, credit them as TristanTube credits Hume. A prompt along these lines is a good start:
Try it with your AI. Give this to Claude Code in an empty folder, together with your list of YouTube channel or playlist links:
Here is a list of YouTube channels I like, grouped into tiers. Use yt-dlp to list every
regular upload from each channel (skip Shorts and livestreams) and save one videos.json
with a channels array and a compact videos array. Then build a static YouTube-style
viewer for it: a home feed that picks a channel at random weighted by tier and then a
video from that channel, a channel page per channel, search, dark mode, an about page
that documents the data format, and a full-screen TV mode with keyboard shortcuts. Play
videos with YouTube's embedded player.Our take
TristanTube is a small project, but it is a neat example of what a personal app looks like now: a blog post becomes a working product quickly, and the most thoughtful part is the feed weighting, a few lines of logic rather than a recommendation engine. Treat the three-minute figure as reported, not verified. Publishing the data file alongside the site, as Karpathy did, is the part more people should copy.
Built by Andrej Karpathy, based on Tristan Hume's channel list
Source: About TristanTube, My YouTube tier list, six years later (Tristan Hume), Karpathy builds a YouTube in 3 minutes with Claude Code (Sina Tech, in Chinese)
This story first appeared in the claudefox daily briefing for November 8, 2026.