# Hacker News - Complete Archive

- **ID:** 256
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/open-index/hacker-news
- **Authors:** OpenIndex
- **Venue:** OpenIndex (HuggingFace)
- **Published:** 2026
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** odc-by
- **License family:** Permissive (auto-classified)
- **Topics:** Web / Tech Discussion
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/256

## Summary

A complete, live-updated archive of every Hacker News item (stories, comments, Ask HN, Show HN, job postings, polls) since October 2006, totaling ~48.8 million items and growing with 5-minute live updates. Stored as monthly Parquet files sorted by item ID, it is designed for querying with DuckDB, loading with the datasets library, or processing with any Parquet-compatible tool for NLP and community analysis tasks.

## Attributes

- **Purpose:** Providing a complete, queryable archive of Hacker News content for text generation, feature extraction, text classification, and analysis
- **Scale:** ~48.8M items, 10M-100M rows, live-updated every 5 minutes (2006-10 to present)
- **Used for:** Text generation, feature extraction, text classification, community/tech discussion analysis
- **Time period:** 2006-10 to present (live-updated)
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Repository:** open-index/hacker-news (Hugging Face)
- **Created:** Mar 14, 2026 (Hugging Face)
- **Last updated:** Aug 23, 2026 (Hugging Face)
- **Downloads (last month):** 63,070 (Hugging Face)
- **Likes:** 343 (Hugging Face)
- **Size:** 10M to 100M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation, feature-extraction, text-classification, question-answering (Hugging Face)

## Dataset profile

- **Scale:** Card 49,222,877 items committed. YAML/datasets-server default train 49.2M / 16 columns / 239 parquet / 12.4 GB; today train 49.2K / 1,143 files / 22.3 MB. size_categories 10M<n<100M. usedStorage Unknown. Hub overview 146.7K downloads / 341 likes at check. gated=false. Card type mix: comment 42,969,077 (87.2%) / story 6,253,170 (12.7%) / job 18,204 / pollopt 15,876 / poll 2,260. 84.1% of stories have an external URL; mean 23.4 comments/story; max 9,275 comments; highest score 6,015; 176,012 stories with 100+ points / 2,169 with 1,000+.
- **Format:** Zstd-22 parquet, one file per calendar month under data/{year}/{year}-{month}.parquet plus today/YYYY/MM/DD/HH/MM.parquet live blocks. Columns: id, deleted, type (1=story 2=comment 3=poll 4=pollopt 5=job), by, time, text, dead, parent, poll, kids, url, score, title, parts, descendants, words. stats.csv per month; stats_today.csv per 5-min block.
- **Type:** Raw-text forum pretrain corpus / HN API items + thread graph
- **License:** ODC-By-1.0 (card). Original posts remain under their authors' rights / Y Combinator HN terms. Independent mirror, not YC-endorsed.
- **Cost:** Free
- **Languages:** English 100% (card language:en). HN is an English-language forum; occasional non-English titles/comments possible. No LID table. Per-language percents Unknown without aggregating parquet.
- **Modality:** Text-only (HTML comments + titles + URLs + numeric scores). No images in the parquet.
- **Domain:** Hacker News forum; technology / startup discussion; comments; pre-training; community dynamics
- **Time period:** Card: 2006-10 through 2026-08-14 21:15 UTC. HF createdAt 2026-03-14; lastModified 2026-08-14 (live). Discord posted 2026-03-20. Historical months from ClickHouse HN mirror; live items every 5 minutes from the HN Firebase API; midnight UTC month refetch. Not a one-shot dump.
- **Purpose:** Complete HN item archive for LM pre-training/fine-tuning on technical discussion, trend/sentiment analysis, IR, and ranking — every story, comment, Ask HN, Show HN, job, and poll
- **Used for:** None named beyond the card use-cases. Hub overview 146.7K downloads / 341 likes at check. Discord posted the HF URL.
- **Authors:** Open Index mirror (independent; not affiliated with Y Combinator or ClickHouse). Content by HN users; top story submitters on the card include rbanffy 37,748 / Tomte 26,721 / tosh 25,581. Preview row 0 is pg (Paul Graham) item id 1. Usernames in the by field; no profile/karma dump.
- **Bias:** Software-engineer / startup / US-tech forum (card). GitHub 213,238 / YouTube 138,984 / Medium 125,656 dominate linked domains. Power-law scores (median story score 0). Moderation flagging shapes dead items. Distinct from already-cataloged Usenet Corpus 1980–2013 / INFINI-NEWS / discord-chat (different communities) and FineWeb (web pages, not threaded forum items).
- **Text quality:** Card: no extra filter; deleted and dead items kept. Preview rows 0–2 are the real first HN stories (id 1 Y Combinator by pg, score 57; Student's Guide to Startups; Woz Interview). Residual: text is raw HTML not Markdown; preview words=[] on titled stories despite the card tokenizer; scores are ClickHouse sync snapshots; today/ 5-minute blocks can overlap the current-month parquet until midnight UTC rollover. Not independently re-threaded here.
- **Sample size:** default train 49.2M (card 49,222,877). today 49.2K is the current-day 5-min live window, not extra unique history — do not add to 49.2M. No val/test. type is a column not a Hub config: comment 42,969,077; story 6,253,170; job 18,204; pollopt 15,876; poll 2,260. Card year n (not configs): 2006 62; 2007 93.8K; 2008 320.9K; 2009 608.4K; 2010 1.0M; 2011 1.4M; 2012 1.6M; 2013 2.0M; 2014 1.8M; 2015 2.0M; 2016 2.5M; 2017 2.7M; 2018 2.8M; 2019 3.1M; 2020 3.7M; 2021 4.2M; 2022 4.4M; 2023 4.6M; 2024 3.7M; 2025 3.9M; 2026 2.8M. stats.csv 2026-08 count 163,387 as of 2026-08-14T21:51:08Z.
- **Long context:** Mixed. Stories are short titles+URLs; comment threads reconstruct via parent/kids (max 9,275 descendants). Exact token histogram Unknown without parquet inspect.
- **Intermediate steps:** Yes (month SQL from ClickHouse Playground; DuckDB Parquet Zstd 22 sorted by id; 5-min Firebase poll; midnight UTC month refetch + delete today/ blocks). No content rewrite. Independent community mirror.
- **Idea quality:** High
- **Novelty:** High (public complete live-updated HN archive on Hub vs already-cataloged Usenet/news crawls)
- **Text conversion:** Ready parquet; load_dataset('open-index/hacker-news', split='train', streaming=True) or DuckDB hf://datasets/open-index/hacker-news/data/*/*.parquet. ~12.4 GB default. Quote "by" in DuckDB. Prefer default monthly files over concatenating today/ (overlap Unknown until rollover).
- **Collection method:** Download
- **Static:** No (live 5-minute pipeline; HF lastModified 2026-08-14; card last updated 2026-08-14 21:53 UTC).
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/open-index/hacker-news
- Related: https://huggingface.co/datasets/open-index/hacker-news
- Related: https://news.ycombinator.com
- Related: https://github.com/HackerNewsAPI/HN-API
- Related: https://hacker-news.firebaseio.com/v2
- Related: https://sql.clickhouse.com
- Related: https://opendatacommons.org/licenses/by/1-0/

## Research notes

- Operated by Y Combinator since 2007. One of the most complete and regularly updated mirrors of Hacker News data on HuggingFace. Includes stats.csv for completeness verification.
- Discord posted this HF pointer (message 1484613202309283951). gated=false; public; CuratorBote listed data/2006–2026 monthly parquet plus today/ live blocks and stats.csv. Catalog Hub/card ~49.2M; do not sum default+today. type integers not strings. Cite Open Index 2026 HF dataset / HN Firebase API / ClickHouse playground. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Substituted ahead of Hub-gated nvidia/Nemotron-CC-v2 / Common Pile and skipped open-index/open-github (2015 GH Archive slice).

## Similar entries

- [tech-news-daily](https://papers.projxon.ai/entries/365) (dataset, #365)
- [Internet Archive Dataset](https://papers.projxon.ai/entries/104) (dataset, #104)
- [ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks](https://papers.projxon.ai/entries/729) (paper, #729)
- [ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks](https://papers.projxon.ai/entries/745) (paper, #745)
- [Introducing Navigator n1.5: the most capable computer-use model for the web](https://papers.projxon.ai/entries/1106) (post, #1106)
- [Vals Web Search Index: Evaluating Search for Real Work](https://papers.projxon.ai/entries/1214) (benchmark, #1214)
