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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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

3 days ago