HackerTube: YouTube built from videos recommended by HN
HackerTube is a quirky spin on the classic video platform, stitching together a feed that’s curated entirely from links shared on Hacker News. The idea is simple: scrape the URLs that appear in HN discussions, pull the associated YouTube videos, and present them in a single, endless stream. For developers who already spend time browsing the front page for tech news, it turns that habit into a passive video playlist without ever leaving the community.
The backend is a modest Node.js service that polls the HN API, extracts any YouTube links, and stores the video IDs in a Redis queue. A lightweight Express server then serves a minimal HTML page that loads the YouTube iframe player and cycles through the queue, advancing every few minutes. Because the list is constantly refreshed, the content stays fresh and reflects the topics that the community is actually talking about.
From a security standpoint, HackerTube deliberately strips all query parameters and only embeds videos that are publicly accessible. This prevents malicious redirects and keeps the embed sandboxed. The project also respects YouTube’s terms of service by using the official embed API and throttling requests to avoid hitting rate limits. Adding a simple “skip” button lets users move past a video they don’t care about without breaking the queue.
For coders looking for a fun side project, HackerTube offers a clean example of API integration, data pipelines, and real‑time UI updates. It’s also a reminder that the best content often lives where the community already congregates—just repackaged in a way that makes consumption effortless. Give it a try, tweak the refresh interval, or swap out the source feed for another subreddit; the skeleton is flexible enough to become any community‑driven video aggregator.
Source: HackerTube: YouTube built from videos recommended by HN