Build your own HackerTube: the guide and the exact prompt
The short version
HackerTube (hackertube.org) is a YouTube-style site where every video was recommended in a Hacker News comment. Per its builder's post (31 Oct 2026), Hacker News comments from 2007 to 2026 were downloaded, spam was removed, and the set was narrowed to 40,000 comments that recommend a YouTube video. That gave 6,454 videos across 150 topics, with no account needed to watch.
The builder used Claude Code and puts the build at about two hours. That is their own count; nobody else has timed it. The only parts done by hand were a YouTube API key, a server and a domain. The site's data exports, so you can hand it to your own agent and build your version.
Copy these prompts
Start with the builder's own request, then the two that make it yours.
1. The exact prompt
The builder's request to Claude Code, as quoted in the post:
Let's write our own YouTube clone based on whatever videos have been recommended on Hacker News.
2. Your version from the export
Take the HackerTube data export (linked on the site). Build me a version that only shows videos under 10 minutes, sorted by topic. Before you write any frontend code, show me 20 random videos from the filtered set so I can check them.
3. Your version from a community you trust
Find every comment on <a forum or subreddit I trust> that links to a YouTube video. Remove spam and self-promotion, keep only the comments that clearly tell someone to watch the video, and remove duplicates. Show me 20 random kept comments and 20 random dropped ones before you build anything. Then build a YouTube-style site from what is left.
Prompts 2 and 3 are my adaptations, not quotes from the post.
How it was made
| Step | What happened | Who did it |
|---|---|---|
| 1 | Download the Hacker News comments (a public dataset, per the post) | Claude Code |
| 2 | Remove spam from the comments | Claude Code |
| 3 | Keep only the 40,000 comments that recommend a YouTube video | Claude Code |
| 4 | Pull each video's details with a YouTube API key | The builder made the key; Claude Code did the calls |
| 5 | Build the site, deploy it and tune it | Claude Code |
| 6 | Boot a server and buy the domain | The builder, by hand |
What the site does
- A YouTube-style home grid with Home, Longs, Liked, History, Watch later, Categories, Playlists and Settings.
- "ForYou" recommendations with no user accounts. The state lives in your browser.
- Keyboard shortcuts.
- A data export, so you can build on the same set.
Where the signal hides
A plain link scraper gets most of this wrong. The recommendations sit in:
- Comments that paste a link with no context at all.
- Replies like "this talk changed how I think about X", where the praise and the link are a sentence apart.
- Old threads where the link is buried under a long argument.
- And the noise looks the same: spam and self-promotion are also "a comment with a YouTube link".
That is why the filter is the product. Getting the model to answer one narrow question per comment ("is this telling someone to watch this video?") does more than any amount of frontend.
Know before you run it
- You need three things your agent cannot do for you: a YouTube Data API key (Google Cloud), a server and a domain. The post gives no cost for any of them.
- "About two hours" is the builder's number, for someone who already works in Claude Code every day.
- 6,454 videos is the count the post reports. The live site may change.
- "Nobody hand-picked these" means a pipeline found them. A spam filter and a "does this recommend a video" filter both ran, so it is not every video ever linked on Hacker News.
- Check the community's rules and the YouTube API terms before you build on their data.
Steal this for your app
- Look for curation that already exists. Years of people recommending things in comments is a dataset nobody has organised yet.
- Make the model answer one yes or no question per item, then read a random sample before you trust it.
- Clean the data before any UI. A nice site on a noisy set is still a noisy site.
- Do the account and payment steps yourself, and let the agent do the rest.
Run this on your codebase
I have a set of raw items (comments, posts or messages) that I want to turn into a curated list.
1. Write a filter that asks one yes or no question per item and stores the answer with a one-line reason.
2. Run it on 200 items and show me 20 kept and 20 dropped at random, with reasons.
3. List the patterns where it was wrong and suggest a tighter question.
Don't build any UI yet. Give me the sample first.
Source: the builder's post (karpathy.bearblog.dev/hacker-tube) and hackertube.org, checked 4 Nov 2026.