Newsroom Wire

CN China11-02 16:03⏱ 8 min read

Karpathy Rebuilt YouTube in Two Hours With Claude, So Everyone Can Have Their Own Internet

Karpathy Rebuilt YouTube in Two Hours Wi

AI is reverse-engineering everything — from software and games to the entry points of information.

At 11 p.m. on Friday, AI maestro Karpathy opened YouTube looking for a video to watch.

The homepage was all exaggerated thumbnails and topics he had seen countless times. Unable to take the algorithmic recommendations, the next day he simply opened Claude and built himself a new YouTube.

The whole thing took two hours, using Claude Opus 5.5 at Medium reasoning effort.

Like REA, the reverse-engineering tool that has been blazing lately, the video site is essentially a direct replica of YouTube's full web layout: the left navigation bar shows liked videos, history, and watch-later; the right-side recommendation stream matches YouTube's thumbnail sizes, publish times and view counts.

His prompt was a single sentence: 'Hi Claude good morning how are you I'm fine thanks please build me a YouTube-style site but limited to videos that have been repeatedly recommended on HN over the years, please. Don't make any mistakes.'

Two hours of workflow later, HackerTube went live. Every video on it comes from YouTube; Karpathy just used Claude to write a filtering mechanism whose rule is: only videos that have been discussed and recommended on Hacker News over the years.

You can search it like YouTube, browse by themes — art, software engineering, history, ideas, business, games and more — and even get personalized recommendations from those 6,454 videos.

On each video's detail page you can also see the comments from Hacker News, how many HN users recommended it, and over what span of time.

Social media lit up with excitement over the project. For one thing, Karpathy noted he used only Claude Code — at Opus 5.5's Medium thinking level, no less — to clone a YouTube.

But some netizens noted that Claude has had very tight usage limits lately, especially after REA took off: reverse-engineering software keeps slamming into safety guardrails — how is it Karpathy could use Opus to reverse-engineer YouTube?

A HKUST PhD even said he merely asked Claude to submit a task and run an analysis, only to be flagged by Claude as a 'training competitor,' with Opus 5.5 downgraded to Opus 5.

Beyond the reverse-everything model capability, what people care about more is that we now each have a chance to use AI to rebuild our own gateways to information.

A customized Douyin, or a customized Bilibili, containing only curated videos;

Netizens are already building along similar lines: one made Hacker Papers, organizing 1,000-plus arXiv papers from Hacker News; another identified more than 15,000 books from Hacker News posts and built a dedicated book-recommendation site.

Many replies argue that HackerTube's real innovation is replacing watch time, click-through rates and thumbnail A/B testing as ranking signals with years of active recommendations from real users — swapping the platform's recommendation algorithm for human recommendation signals.

On YouTube, the recommender decides what deserves to be seen mainly through clicks, watch duration, retention and engagement.

For HackerTube, the initial filtering signal is years of active recommendations from Hacker News users — one person deciding a video is worth sharing with another, and actually pasting the link.

So in the AI category, the first recommended video is Karpathy's own programming course: building a small automatic-differentiation engine step by step, then constructing and training neural networks, explaining how backpropagation works.

This anti-'algorithm-manipulated' design also shows in the site requiring no login — viewing state is stored in the local browser. And the thumbnails that decide whether you click get radically reworked: instead of uploaders' carefully optimized covers, it simply grabs a middle frame from the video.

And as a video site, beyond one-way consumption, HackerTube lets you export the underlying data and hand it to your own AI agent to rebuild another version.

HackerTube's distribution mechanism, then, pulls the algorithm's object of service from platform growth back to personal preference. After the project launched, discussion on X quickly outgrew 'AI coding demo.'

One representative view: HackerTube shows 'Claude fighting for the user' — as short video and recommender systems keep fighting for attention, a personal agent can stand on the user's side, filtering out low-quality content.

Others saw an underdeveloped market: personal recommendation algorithms.

Content filtering and recommendation have historically been almost entirely platform-controlled; the recommender is effectively platform infrastructure. We can accept, block or fine-tune, but rarely swap out the whole system. Now a single developer, with Claude Code, can turn a trusted community's data into their own information gateway.

Per Karpathy's own account, he essentially sent one sentence to Claude Code and waited for it to finish on its own.

He used the Mac desktop version of Claude Code, default model Opus 5.5, reasoning at Medium. He says he no longer does traditional engineering work like reading and writing code or running commands in a terminal; he drives Claude through conversation.

In this project, the only things he did by hand were creating a Google Cloud API key for querying video metadata, spinning up a VPS, and buying a domain. Code writing, data processing, deployment, security hardening and optimization all went to Claude.

So netizens began debating: for agent projects like this, is terminal-style Claude Code still the best interface? Is a desktop app now better suited to sustained agent collaboration?

And should model reasoning effort always be maxed out, or kept lower with repeated critique and revision?

There is probably no single answer, but Karpathy's workflow at least shows AI coding's division of labor shifting from 'the model completes a few lines of code' to 'the human states the goal and handles a bit of external account and permission work; the agent completes the rest of the engineering chain.'

HackerTube did not rebuild video hosting, uploading, rights management, creator revenue sharing, or a global CDN. It still relies on YouTube's videos and metadata, and stands on nearly two decades of Hacker News community material.

Hence the all-time play-count leaderboards are filled with videos a decade or more old: Pinkfong's 'Baby Shark,' that children's ditty endlessly chanting 'doo doo doo'; PSY's 'Gangnam Style'; the video everyone uses for Rickrolling; and so on.

More precisely, it is a personalized curation and recommendation layer built on top of existing platforms.

Like YouTube, it will face similar limits: HN users' tastes cannot represent all viewers; a tech community's idea of quality is not universal quality; comment-based recommendations are shaped by era, circle and community preference.

Some actual users found irrelevant results still mixed into searches, with human picking still needed at the end.

Then there is maintenance. In the replies someone reminisced about his old paper tool arxiv-sanity; Karpathy said he misses it too, but maintaining it then was far too much work and he had to shut it down — today, he thinks, it would be far easier.

Indeed: today, almost anything can be reverse-engineered. From replicating software interfaces and features, to decompiling and porting classic games, even re-implementing gameplay, to reverse-engineering the TV — more and more projects that once demanded large amounts of professional development are being handed to AI agents.

A netizen 'reverse-engineered' an Android TV version: hackertube.tv.

Strictly speaking, HackerTube does not reverse YouTube's code or crack its recommendation algorithm. Karpathy kept YouTube's content and, using years of Hacker News recommendation data, rebuilt a set of filtering, ranking and presentation mechanisms.

He did not rebuild it, but the process did disassemble the parts of the video medium that most affect personal experience: how content is discovered, how it is ranked, and who is serving whom between user and recommender.

To some degree we can read this as a kind of reverse engineering — of something higher up: the product form YouTube represents, its way of organizing information, and the relationship between content and users.

The significance of this change will not stop at copying an existing product; it starts letting everyone explore how those once-closed systems can become understandable, modifiable, and creatable again.

For content platforms like YouTube, Bilibili and WeChat official accounts, we may still depend on the content and infrastructure they provide — but we need not fully accept the information gateways they designed.

As reverse-engineering capability expands from the code layer to products, information structures, even the medium itself, the way we use the internet may change with it.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…