ChatHN is an open-source chatbot that lets users explore Hacker News through natural-language questions. It connects an OpenAI model to the official Hacker News API through function calling, allowing the model to retrieve live structured data when needed. Built-in functions can fetch top stories, open a specific story, include leading comments, and prepare the current top discussion for summarization. Responses are streamed through the Vercel AI SDK so the interface can display generated text progressively. The application uses Next.js for the web framework and Tailwind CSS for presentation. It can be run locally with an OpenAI API key or deployed to Vercel through a streamlined setup. ChatHN demonstrates how tool-enabled language models can turn a conventional public API into a conversational research interface.

Features

  • Natural-language Hacker News exploration
  • Live top-story retrieval
  • Story and comment fetching
  • AI-generated discussion summaries
  • Streaming conversational responses
  • Local and one-click Vercel deployment

Project Samples

Project Activity

See All Activity >

Categories

Chat

License

MIT License

Follow ChatHN

ChatHN Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ChatHN!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Chat Software

Registered

2026-07-30