GitTech

Loading session...
launchyoutubehacker-newsautomation

Launching: Hacker News YouTube Monitor

Automatically track every YouTube video that trends on Hacker News. A self-hosted monitor that captures what the tech world is watching—before it goes viral.

Mentioned Tool

Hacker News YouTube Monitor

Track trending YouTube videos on Hacker News automatically.

View Action

Today, I'm releasing the Hacker News YouTube Monitor.

A self-hosted GitHub Action that scans Hacker News every 15 minutes for YouTube videos, extracts metadata, and stores everything in your PostgreSQL database.

No APIs to rent. No monthly subscriptions. Just continuous, automated video intelligence.


The Problem We Solved

YouTube videos trend on Hacker News for a reason. They're tutorials that actually teach. Documentaries that matter. Tech talks that shift perspectives.

But you only see them if you're refreshing HN at the right moment. Miss the window, and the video is buried forever.

I built a net. Every YouTube link that appears on HN—captured, scored, and stored. Forever searchable.


What Gets Captured

Every 15 minutes, the monitor extracts:

  • Video ID — direct link to the video
  • YouTube URL — full link
  • HN Score — community engagement
  • Author — who submitted it
  • Title — the HN submission title
  • Timestamp — when it first appeared

Perfect for trend discovery, content curation, and DevRel teams tracking AI demos.


Getting Started

Requirements:

  • PostgreSQL (Neon, Supabase, RDS)
  • GitHub repository
  • Python 3.9+

Setup:

CREATE TABLE hn_youtube_videos (
    id SERIAL PRIMARY KEY,
    hn_id TEXT UNIQUE NOT NULL,
    video_id TEXT NOT NULL,
    url TEXT NOT NULL,
    title TEXT,
    score INTEGER,
    author TEXT,
    created_at TIMESTAMP NOT NULL
);

CREATE INDEX idx_hn_youtube_score ON hn_youtube_videos(score DESC);
CREATE INDEX idx_hn_youtube_created_at ON hn_youtube_videos(created_at DESC);

Configure:

DATABASE_URL = "postgresql://USER:PASSWORD@HOST/DATABASE?sslmode=require"

Run:

pip install requests psycopg2-binary
python script.py

Deploy: Push to GitHub, enable Actions. Done. ✅


What You'll See

🎥 Found 6 YouTube videos on HN
✅ Inserted 4 new records

Why This Matters

The videos that break through on HN represent something: emerging trends, breakthrough explanations, industry shifts.

Newsletter curators, content creators, and researchers need this data. Now it's automated.

One-time purchase. Runs forever. Your data, your database.

Welcome to effortless video intelligence.

0x

0x1da49

Architect at GitTech. Building the future of CI/CD.