hackernews-frontpage

Scrape Hacker News front page stories into a JSON list with rank, title, URL, points, and comment count.

127k|19.1k|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/garrytan/gstack --skill hackernews-frontpage-garrytan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-frontpage
Source: https://github.com/garrytan/gstack/tree/main/browser-skills/hackernews-frontpage
Command: npx skills add https://github.com/garrytan/gstack --skill hackernews-frontpage-garrytan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Hacker News is a valuable source of information. This Skill simplifies the process of scraping and retrieving the latest stories directly from the Hacker News front page.

Core Features & Use Cases

  • Scraping HN Stories: Fetches the top stories from the Hacker News front page.
  • JSON Output: Provides the scraped data in a structured JSON format.
  • Use Case: Ideal for applications that need to provide real-time Hacker News content without manually visiting the site.

Quick Start

Run the command: $B skill run hackernews-frontpage

Frequently Asked Questions about hackernews-frontpage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Hacker News front page stories into JSON?

You can scrape Hacker News front page stories into JSON by running a script that parses the website HTML and extracts rank, title, URL, points, and comment count into a structured list.

What data fields are included when retrieving top Hacker News stories?

Retrieving top Hacker News stories provides a JSON list containing the rank, title, URL, points, and comment count for each post on the front page.

Can I get real-time Hacker News content without manually visiting the site?

Yes, you can get real-time Hacker News content programmatically by scraping the front page and returning the latest stories as a structured JSON list for your applications.

Does web scraping Hacker News require any external API dependencies?

Web scraping Hacker News requires no external API dependencies, relying instead on custom HTML parsing logic to directly retrieve and structure the front page content.

What is the best way to automate Hacker News content retrieval for an application?

The best way to automate Hacker News content retrieval is to run a scraping script that fetches the front page, parses the HTML, and outputs a structured JSON list of top stories.

Are there limitations to scraping the Hacker News front page with custom HTML parsing?

Scraping the Hacker News front page with custom HTML parsing is limited to the stories currently visible on the front page and may break if the underlying website HTML structure changes.