Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

HackerTube: YouTube built from videos recommended by HN

说明与用途

HackerTube 是一个基于 Hacker News 评论推荐的视频的 YouTube 风格网站,使用 Claude Code 和 Opus 5.5 在两小时内完成,成本低且基础设施需求少。

问题

Build a YouTube‑like site using only videos recommended by Hacker News, while keeping costs low and automating content curation.

结果

The project was completed in about two hours, required only a YouTube API key, a VPS, and a domain, and cost roughly $227 USD in token usage when caching was applied.

工作流

  • 1. Scrape all HN comments 2007‑2026 and extract YouTube links.
  • 2. Filter links: keep only those referenced by ≥3 users in ≥3 distinct months.
  • 3. Use Claude to read each comment and classify it as recommendation, reference, joke, or critique.
  • 4. Claude writes a card for each video: summary, reason for popularity, category, and current relevance.
  • 5. Rank videos by number of months they were recommended, not by view count.
  • 6. Generate thumbnails using the 50% frame of each video.
  • 7. Deploy the site with a simple front‑end and vector search (bge‑small embeddings).

证据

Karpathy เขียนว่าเว็บนี้ใช้เวลาทำราวสองชั่วโมง

来源

ขั้นที่สองคือการกรองด้วยกฎที่คนกำหนด วิดีโอจะผ่านก็ต่อเมื่อ มีคนอย่างน้อยสามคนลิงก์มันพร้อมความเห็นจริง และลิงก์นั้นกระจายอยู่ในอย่างน้อยสามเดือนต่างกัน

来源

ขั้นที่สาม ให้ Claude อ่านคอมเมนต์ทุกอันพร้อมชื่อกระทู้ แล้วตัดสินว่าเจ้าของคอมเมนต์กำลัง แนะนำ อ้างอิง เล่นมุก หรือวิจารณ์ วิดีโอนั้น

来源

อินพุต 504,000,000 โทเคน (แคชไว้ราว 90%) เอาต์พุต 7,600,000 โทเคน สัดส่วนการใช้งาน เกิน 90% เป็น Sonnet อ่านและติดป้ายคอมเมนต์ ราว 1 ล้าน เป็นงานจริงของ Opus 5.5

来源

เมื่อแบ่งอินพุต 504 ล้านโทเคนเป็น Sonnet 503 ล้านและ Opus 1 ล้าน แล้วคิดแคช 90% ตามที่เขาบอก ผลลัพธ์คือประมาณ 227 ดอลลาร์สหรัฐ

来源

  • 记录日期: 2026-11-03T11:14:09.179Z