hn-time-capsule  by karpathy

Analyzing historical discussions with LLMs for prescience

Created 1 month ago
543 stars

Top 58.6% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

A Hacker News time capsule project that pulls the HN frontpage from exactly 10 years ago, analyzes articles and discussions using an LLM to evaluate prescience with the benefit of hindsight, and generates an HTML report. It aims to identify prescient commenters and explore LLMs' ability to synthesize historical knowledge, serving researchers and enthusiasts interested in long-term trend analysis and online community foresight.

How It Works

The project fetches the Hacker News frontpage from ten years prior, retrieves article content and comments, and then employs a Large Language Model (LLM) to analyze outcomes with hindsight. The LLM grades commenters based on how their statements aged, aggregating these into a "Hall of Fame" to track prediction track records. This approach leverages LLMs to automatically scour historical human discussions and synthesize insights about foresight and prediction.

Quick Start & Requirements

  • Installation: uv sync
  • Prerequisites: OpenAI API key (set in .env file as OPENAI_API_KEY=your-key-here).
  • Usage: Run stages via uv run python pipeline.py [stage_name] (e.g., all, fetch, analyze). Options include --limit for testing and --date for specific historical analysis. LLM API costs apply during the analyze stage.

Highlighted Details

  • Generates an HTML report summarizing analyses and grades.
  • Identifies "Most prescient" and "Most wrong" commenters for each article.
  • Creates a "Hall of Fame" aggregating commenter grades over time.
  • The project was largely "vibe coded" in a few hours using Opus 4.5.

Maintenance & Community

The author explicitly states that "99% of this repo was vibe coded in a few hours with Opus 4.5. Code is provided as is and I don't intend to support it." This indicates a lack of ongoing maintenance or community support.

Licensing & Compatibility

  • License: MIT
  • Compatibility: Permissive MIT license allows for broad use, including in commercial or closed-source projects, with standard attribution requirements.

Limitations & Caveats

The project is provided "as is" with no intention of support, reflecting its "vibe coded" nature. Significant costs may be incurred due to extensive LLM API calls during the analysis phase. The accuracy and quality of the analysis are dependent on the LLM's capabilities and the quality of the historical data.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
223 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Casper Hansen Casper Hansen(Author of AutoAWQ), and
8 more.

storm by stanford-oval

0.1%
28k
LLM system for automated knowledge curation and article generation
Created 1 year ago
Updated 3 months ago
Feedback? Help us improve.