HackerTube: YouTube built from videos recommended by HN

(karpathy.bearblog.dev)

226 points | by karpathy 1 hour ago

56 comments

  • murm 8 minutes ago
    It's so refreshing browsing this compared to YouTube, it feels like I don't have to constantly be on high alert at being baited into some trap. Makes you wonder what kind of internet could be possible if all these tech giants weren't just optimizing for engagement and addiction.
  • reorder9695 1 hour ago
    I find it amazing how close the front page of this is to what I actually watch/want to watch on YouTube. I guess I shouldn't be surprised, but it feels like an unpersonalised feed (besides being based on Hacker News) shouldn't have a significantly better hitrate for me than YouTube's "personalised" feed.
    • rileymat2 30 minutes ago
      I am not sure the personalize algorithm is based on what you want to watch, but what will keep you watching. That’s a measurable KPI.
  • mixtureoftakes 1 hour ago
    I wish there was a way to sort by recency, if i'm mainly interested in finding obscure gems from like last 6 to 12 months of ai and tech updates
    • mattbis 3 minutes ago
      plus one when in programming mode; i have playlists on YT; but this helps to focus... and mostly I find HN has very interesting things that spawn a ton of thoughts...

      people like us don't have that much time...

    • karpathy 49 minutes ago
      added a few minutes ago!
      • kkotak 45 minutes ago
        Don't see it.
        • karpathy 42 minutes ago
          first do a search, then on top you'll see "Filter". might try to make more prominent from main page
          • macote 39 minutes ago
            Yes, please, I couldn't figure it out as well.
            • karpathy 3 minutes ago
              added! now can be done via Filter on the main page.
      • mixtureoftakes 31 minutes ago
        thanks!
    • Aboutplants 54 minutes ago
      Yeah, this is the first thing I looked for and when I couldn’t find it I easily decided it’s something I would never come back to. Add this feature and it’s something I would come to frequently
    • mtVessel 55 minutes ago
      Seconded! (please)
  • minimaxa 6 minutes ago
    You know what I like about this? It's 100% pure nerd content, no sneaky influencer videos or clickbaity news.

    It does need a new-to-old sort though, which is easy to add in.

    If you watched all of these videos, you would be the smartest, most annoying person ever. Lol

  • Flere-Imsaho 28 minutes ago
    What a smart idea!

    Just randomly found this video from CGP Grey:

    "What Happened to Horses Is Happening to Us"

    https://hackertube.org/watch/7Pq-S557XQU

    From...2014 It's surprisingly accurate. I wonder why he stopped making youtube videos.

    • Jtarii 21 minutes ago
      His last video was ~1 year ago which by the standards of late career youtubers isn't that long ago.

      Hbomberguy's last video was 3 years ago for instance.

    • scrollaway 21 minutes ago
      I don’t like that he keeps renaming it. This is “Humans Need Not Apply” and it even has its own Wikipedia page under that name!

      And yes it’s deeply true. I remember watching this at the time and it was one of the reasons I got into AI. (That, and watching Person of Interest).

      I even kept re-linking it every year around Christmas, watching it on a yearly basis. And then …

  • cliche 5 minutes ago
    This is very cool. I’ve been thinking a lot recently about owning your algorithms and what rss could have been.

    Is there a file / feed of the data driving this?

  • twalichiewicz 1 hour ago
    Interesting project, but have you considered publishing the curated videos as automatically maintained playlists (organized by topic, popularity, or recency) on a YouTube channel?

    To me the most valuable part of this is the curation pipeline. I'd love to have access to those recommendations without needing to adopt an entirely separate viewing experience.

    • karpathy 56 minutes ago
      I like the idea of playlists, might even work to ask Claude to make a few. Did you have in mind the ability to create and publish them on the site somehow?
      • twalichiewicz 47 minutes ago
        I was actually thinking of publishing them directly to YouTube, under a HackerTube channel, with playlists automatically generated and maintained by your existing curation pipeline.
      • waschl 46 minutes ago
        Having HackerTube videos as playlists inside YT makes the video selection available on any device with YouTube app on it, like TVs etc.
  • zahirbmirza 19 minutes ago
    Very interesting. I find that my youtube feed is nicely curated to my interests. Adapting my interests with the algo well. Discovery is mostly en pointe. It is only when I use an unlogged-in browser that I see the world outside the Matrix. That is a slopfest indeed.

    What I would really like, now that you have opened up this amazing concept, is an ability to feed my own algo this entire collection. Inject all those videos into my own saved playlist. That would be anotherr cool use of this collection. Is there a way of doing that? Like some sort of algo plant food.

  • sarmadgulzar 37 minutes ago
    Wow, this is genuinely so good. I just browsed it for a few minutes and the difference between this and the YouTube homepage is astounding.
  • jumploops 1 hour ago
    I’m always surprised how bad YouTube’s recommendation algorithm seems to be.

    Maybe it’s because I don’t watch enough videos, but it’s sort of like Amazon, in that it will suggest the exact same content/topic.

    I rarely use TikTok, only to view links people send me (similar to YouTube), but the recommended content is miles ahead, making it much more difficult to close compared to YT.

    • ssl-3 13 minutes ago
      My YouTube feed is pretty good; it's full of technical discourse on topics that I enjoy learning about, ranging from electronics hacking to civil engineering. That's probably the result of a long number of years of continuous training:

      Good video, with a positive combination of presentation quality and a topic I enjoy? Watch it -- maybe now or later, but it gets watched. Thumbs up. Maybe even subscribe. That's what I'm there for.

      Mediocre video, whether due to content or presentation? Watch parts of it, but probably not with any sense of completeness. No rating.

      Bad video, with content I don't enjoy or with off-putting presentation? Stop watching. Thumbs down, and/or back out to use three-dot menu and "Not interested"

      Bad ragebait scaremongering video with emotionally-distressing title? No watching at all. Three-dot menu and "Don't recommend this channel."

      ---

      I get a lot of good stuff. Some mediocre stuff. Very little bad stuff. Almost zero ragebait.

      It works well enough that an unfiltered, logged-out view of YouTube is completely and utterly appalling by comparison. That place is fucking awful without training.

      (And no ads, because ads have never been a thing for me on YouTube and I experience no compulsion to change that.)

    • gleenn 1 hour ago
      Do you have web activity turned off or use a separate old style Youtube account? Mine is also bad but I think it's because of those for me.
    • thijson 1 hour ago
      I was thinking it would be good if there was something similar for kids. They seem to fall into a whirlpool of trash content.
    • renegat0x0 1 hour ago
      For YouTube nerds I curate a list of channels. Size of list 3993 feeds: - https://github.com/rumca-js/awesome-database-top/blob/main/l...

      From that list 731 are blocked in my rss feed. I do read and cache rest.

      I sometimes check through website what new has entered the system. It is surprising to see something there new. It is so exiting to see something outside of my bubble.

      YouTube algorithm has a lot to comb through, but I am too surprised how suggestion are bland, and unattractive. I am also surprised how difficult is to find new channels through YouTube search.

    • smokel 1 hour ago
      I suspect they know perfectly well when they can't make money from someone, so they deliberately serve up boring crap to save on hosting costs.
    • globular-toast 1 hour ago
      Bad by what metric? They're interested in getting you to watch ads, they couldn't care less what you want.
  • aizk 53 minutes ago
    Nitpick, maybe adding the youtube dislike counter estimation for videos might be a nice touch (yes it's an estimate but it's pretty decent). Though on second thought, perhaps these videos don't need them.
  • privacyishuman 1 hour ago
    I like this a lot. I was just thinking about a site where you could share your YouTube cookies and then use anybody's curated algorithm because you can curate it quite fast in signed out mode.

    Could you block all the trackers from loading from https://www.youtube-nocookie.com on your side?

  • pkal 15 minutes ago
    It might be neat to integrate DeArrow to fetch thumbnails instead of just arbitrarily picking picking a 50% screenshot. It could also be used to replace the titles on the server side.
  • codingisfreedom 49 minutes ago
    Out of curiosity - was this created using claude code? Cli or gui? I am not even remotely getting that kind of thoroughness from claude with opus 5.5 or anything really. It seems to want to stop as soon as it thinks it figured things out and then the rest of the conversation is just itself saying that its previous claims were wrong.

    Really having a bad time with LLMs lately.

    • jstanley 14 minutes ago
      Perhaps try telling it you're Andrej Karpathy and then see how much it wants to impress you?
    • macote 34 minutes ago
      Claude Code, I found it in About

      > HackerTube was built by Claude Opus 5.5, Anthropic's AI model, working in Claude Code: the data pipeline, the search and recommendations, and this site.

    • wyre 43 minutes ago
      I haven't used CC in a while, but I would bet this is sol that made this.

      however I still get the same issues with sol getting more apologetic and is more likely to stop working when i tell it is wrong, instead of fixing course and trudging ahead.

      • surround 40 minutes ago
        In the first paragraph Karpathy says he used Opus 5.5. The parent comment is asking if he used a different harness besides claude code.
  • GodelNumbering 1 hour ago
    This is such a good use of tech! Although I have heard in the past that youtube is quick to ban any use of its content on a third party site. I hope I am wrong and this stays.
  • imjonse 13 minutes ago
    It would be nice to have some context for each video, a summary of the comments that recommended it in the thumbnail tooltip?
  • cromka 1 hour ago
    I pay for YT premium but noticed the quality of recommendations is subpar yet I still end up wasting time watching it. So I decided I need to limit my feed to my subscribed videos only, which YT app makes annoyingly difficult.

    How does HN handle this? I suppose downloading videos for consuming outside YT own app works, but what's the best solution for this, especially with Apple TV as a player?

    • 0fflineuser 26 minutes ago
      Personnaly I disabled recommendations/watch history/etc... so the youtube homepage is blank, there is absolutely nothing on it.

      I first started by moving all my subscriptions to grayjay(where I also disabled the home page), that way I just click the subscriptions tab and there is everything there, you can even create subscription groups if needed.

      Then as I had some issues with grayjay desktop(not the mobile app which works great) I then simply moved all my subscriptions to miniflux and newsrafts(which I now rarely use). I use feedflow on android and reminiflux on desktop as I don't like the miniflux frontend. So now if there is a new channel I want to follow I just add the channel rss feed to miniflux/newsraft.

      So for apple tv I guess you could use a RSS app but I am not sure the user experience would be great, so using grayjay could be an option as you can stream the video to the TV's but that would require another device (phone/computer) as it's not available on ios/apple tv.

      I guess a good starting point would be to simply disable everything in your youtube settings to start off (watch history, recommandations, etc...).

    • nwmck 1 hour ago
      I have an extension that blocks all recommendations and forces me to subscribe to the creators I like and search for content myself. Recommendations aren’t optimized for your benefit. Cutting out the recommendations really helps to not get sucked in.
    • aeriose 1 hour ago
      YouTube constantly cycles the same content + videos it’s so annoying
  • beaconflint 1 hour ago
    Recency sort needs a pick between comment date and upload date, since a 2012 talk linked last month is exactly the gem you'd want.
  • gosen 1 hour ago
    Nice idea, thanks Andrej! When will you add HackerTube Shorts? (kidding :D)
    • karpathy 46 minutes ago
      NEVER. More inclined to add HackerTube Longs :D
      • sarmadgulzar 34 minutes ago
        You haven't posted on YouTube in a year or so. Working on any long-form videos we can expect to see anytime soon?

        Anyway, loved your "GPT from scratch" video btw!

      • twalichiewicz 37 minutes ago
        You can make the ultimate anti-short attention span player by intercepting all keyboard/mouse inputs to prevent navigating away and requiring you to watch the whole video ◡.
      • gosen 43 minutes ago
        yes! I'd love that :D
  • Doohickey-d 50 minutes ago
    Someone did something similar for the current front page: https://hn.video

    There was also another one with a more youtube-like UI, which I can't find anymore.

  • mirekrusin 13 minutes ago
    No login/account? What a blasphemy. Feel in love from the first site.
  • ninjahawk1 1 hour ago
    Really cool idea, you might consider bundling taps when you click a video so it auto-plays instead of opening up the native web browser for youtube. That would make it feel more like the official client. Could easily hide it behind a “buffering” screen.
  • zahirbmirza 13 minutes ago
    Gosh, the videos HN have recommended are amazing. What a community this is.
  • sc970 1 hour ago
    How many tokens (or $) does something like this take to make?
    • karpathy 1 hour ago
      I'm on subscription but I had Claude add it up: 504M input tokens (90% cached), 7.6M output tokens. 90+% of that was Sonnet calls to label the comments, all of the actual work, the app and deploy etc was ~1M tokens of Opus 5.5, I compacted context once. i.e. very small project by modern standards.
      • mips_avatar 1 hour ago
        I wish someone would make a decision model that’s as good as sonnet but like 10-100x cheaper. Because for this project which is a pretty small dataset you’re spending ~$300 on sonnet usage. like jev can probably do this task but it’s not smart enough to reliably be used
        • gambiting 32 minutes ago
          GLM 5.3 Flash is incredibly cheap and imho as good as or better than Sonnet. I used it recently to fix an old server that my family had running serving some websites, and by fix it I mean I got it to log in over ssh, figure out what's running there, copy it out, log in to a brand new droplet on DO, set up a fresh instance of apache with everything patched up to latest, copy that ancient content over, make sure it runs with latest PHP which required several rounds of fixes, optimize the system so it runs on the smallest 512MB droplet, harden the system so that ideally no one ever needs to look at it for another 10 years - it took about an hour, and cost a grand total of 4 american.... _cents_

          I use Opus at work since we have a nearly unlimited AI budget, but for personal projects I just use GLM 5.3 and I don't see much difference between that and Opus.

      • mixtureoftakes 1 hour ago
        Yeah i'm pretty sure this is doable multiple times on a 20 dollar subscription, just wow
  • liquicity 1 hour ago
    Nice idea will watch though some - I made something similar but for food vids (filters over YouTube chefs - such as only vids with ingredients)

    https://mealplannr.io/discover

  • doginasuit 39 minutes ago
    You may want to change the logo, it is a different color but close enough to cause confusion. Not sure what a trademark court would say but it would definitely be enough to draw intimidation from Google if they wanted to.
    • karpathy 30 minutes ago
      ty i think this is right
  • jahala 1 hour ago
    This is great, would love filters for duration and sort by upload date
    • gpugreg 1 hour ago
      Sorting would certainly be great. I'd especially welcome sorting by some kind of quality metric. The "thumbs down" count is not available via API anymore, but you could use thumbs up per views as a proxy, although that might require some reweighing, since videos with many views usually have fewer thumbs up.

      You could also add another layer of voting on hackertube.org, so you'd get a more hackernews-focused voting signal.

    • karpathy 54 minutes ago
      added and pushed!
      • dgrcode 3 minutes ago
        would be nice to be able to filter by hackernews upvotes on the recommending post

        edit: and have the filter persist while navigating between topics

  • zahrevsky 1 hour ago
    Do you plan to update the site with new videos and comments?
  • farrelle25 1 hour ago
    What a great idea. Does anyone know of a way of 'getting' / downloading all those URLs (maybe with the video title)..? I'm afraid of the site disappearing.
    • karpathy 1 hour ago
      The site won't disappear (imminently, as I'd like to use it personally!) but head over to the about/ section and download the .zip with the underlying data, which I put up for this purpose.
  • flir 53 minutes ago
    I wonder how "spam and low grade content" is defined.

    (I'll just put this https://www.youtube.com/watch?v=dv5Uk9UUx_M here)

  • iugtmkbdfil834 1 hour ago
    I currently use downloaded and curated youtube videos on my local server ( mostly for my kid so that I don't have to deal with youtube autoplay or her clicking something kid would ), but this is just a reminder of much google has changed for the worse.
  • mi_lk 42 minutes ago
    One of the better ones but in all honesty a random ass vibed site that's on front page because Karpathy
    • iugtmkbdfil834 41 minutes ago
      It is true and it is worth pointing out. Still, you have to admit that what he did here shows the distance of how easy it is to get from prompt to a working prototype if you have a clear idea of what you want to do (edit: his blog claims 3h.. which seems like a neat outcome if it includes gathering hn info from scratch ).
  • gpugreg 1 hour ago
    How do the categories work? I'd download the video transcripts and embed the text (maybe summarized first). This way you could support custom categories via embedding similarity.
  • kiuiras 1 hour ago
    It would be great to have an option to sort videos by upload date, so it's easier to discover recent content.
  • mhrmsn 1 hour ago
    Interesting idea! Also funny that the fourth recommendation for me was a video with Andrej himself :D
  • morphle 1 hour ago
    Some of the Alan Kay lectures are on hackertube
  • ciefa 55 minutes ago
    Seeing Prejudice by Tim Minchin on the front page makes me very, very happy.

    Love Tim Minchin <3

  • whattheheckheck 13 minutes ago
    Build something to fix the wicked problems of the world.

    https://en.wikipedia.org/wiki/Wicked_problem

    Or https://www.un-ilibrary.org/content/databases/25202804

    The rules are the ai can't say the only winning move is to not play and it can't choose to kill everyone.

  • skyberrys 54 minutes ago
    What is a 50% thumbnail?
    • fasterik 51 minutes ago
      I'd never heard this term either, but I'm assuming it means that if the video is N frames long, it uses frame N/2 as the thumbnail.
      • karpathy 44 minutes ago
        correct. it means the thumbnail is sourced from exactly halfway in the video, so you get a representative frame.
        • em-bee 2 minutes ago
          i'd prefer to see the original thumbnail though so that i can recognize the video if i have seen it on youtube already. i also expect that the kind of videos that tend to be recommended on HN are less prone to have clickbait thumbnails.
        • waschl 40 minutes ago
          You may want to have a look at DeArrow https://dearrow.ajay.app/
        • karpathy 38 minutes ago
          The average thumbnail on YouTube these days is some guy looking like HOLY SHIT, tearing his hair in amazement looking at something with an arrow pointing at some detail. "TOP 10 XYZ. YOU'LL NEVER BELIEVE #6". Like and subscribe. Utterly repulsive.
  • victor9000 41 minutes ago
    Could this not just be a playlist?
    • sixtyj 2 minutes ago
      It is 14,139 videos.

      You can open categories and see playlists for each of them.

  • saikiran91 55 minutes ago
    I can't find it on GitHub. Is it open source?
    • furyofantares 52 minutes ago
      Remarkably the source is so small I can just post it here.

      > Let's write our own YouTube clone based on whatever videos have been recommended on Hacker News.

    • rvz 52 minutes ago
      > Is it open source? If not, I'm not going to use it.

      Don't even use GitHub then as that is also closed source as well as this.

  • mwambua 41 minutes ago
    > I'm sure this algorithm works well for the median person on the internet, but it definitely does not work for me

    I see this sentiment expressed a lot regarding a variety of ways the internet has been enshittified. Are we really sure the median person would prefer this to better content if they were presented with an alternative?

    And even if they would - what are the ethics of knowingly feeding slop to the masses?

  • gambiting 37 minutes ago
    >>Opus downloaded all comments of HackerNews

    I'm actually surprised this was that easy to do, ngl

  • sejje 1 hour ago
    > Media, journalism & propaganda

    Amen, we should label it correctly more often. Hard to miss it nowadays, I guess.

  • chalmovsky 17 minutes ago
    I found this gem there: Rails Conf 2012 Keynote: Simplicity Matters by Rich Hickey (https://hackertube.org/watch/rI8tNMsozo0)

    And lol ... Can you imagine how savage this is, with Rich's disgust with ORM and entangled concepts and like the audience sits there with their ActiveRecord and 10 levels deep inheritance and rails 'easy way' of doing stuff. Probably was a bigger shocker than dHH's keynote this year. lol

  • mbed92 54 minutes ago
    Really cool idea. I also realized recently that whenever I enter YT, I enter "nshittified wall of slop"...
  • mentalgear 1 hour ago
    Appreciate the effort, yet I think there is a place this is needed even more:

    > It was Friday night at 11pm, I was tired, I went to YouTube to watch something and realized that I was looking at an enshittified wall of slop.

    Please do the same thing on Social Media: Facebook, 'X', reddit, instagram, etc . Maybe find a 'hacker signal' that identifies quality content across those platforms and have them aggregated for the public so we don't have to spend time in the fascist network prisons.

    The greatest trick - if it even can be pulled - would be setting it up in a way that it can't be sued out of existence by the angry platform overlords - if you can do this, then you are truly a genius, sir.

    Free the people.

  • vfclists 1 hour ago
    Where is the source, so I can roll my own specialized video site?
    • sejje 1 hour ago
      Well, some portion of it was just served to you over HTTP.

      It's very likely that your agents can just build the rest, if the backend source isn't provided.

    • farrelle25 58 minutes ago
      I think the core data is available here: https://hackertube.org/data
    • karpathy 52 minutes ago
      I didn't publish the server because it's a vibe coded mess, but if you point your Opus 5.5 at the zip and ask for YouTube-like site it will be basically instant. This part was like 3 min.

      EDIT: one caveat is that i couldn't distribute the YouTube data so you'd have to create a (free) API key for that part. Luckily it's only ~1 min of hassle.

  • karpathy 8 minutes ago
    [dead]
  • Yash16 1 hour ago
    [dead]