chathn  by steven-tey

AI chatbot for Hacker News interaction via natural language

created 2 years ago
1,169 stars

Top 33.9% on sourcepulse

GitHubView on GitHub
Project Summary

ChatHN enables natural language interaction with the Hacker News API, powered by OpenAI Functions and the Vercel AI SDK. It's designed for users who want to query and explore Hacker News content conversationally, leveraging AI for a more intuitive experience.

How It Works

The chatbot utilizes OpenAI Functions to understand user queries and map them to specific Hacker News API calls. The Vercel AI SDK handles the streaming of AI responses, providing a dynamic and interactive chat experience. This approach allows for flexible querying of Hacker News data through natural language commands.

Quick Start & Requirements

  • Install locally by cloning the repository.
  • Requires OPENAI_API_KEY environment variable.
  • See Deploy Your Own for deployment options.

Highlighted Details

  • Built with Next.js, OpenAI Functions, and Vercel AI SDK.
  • Features AI streaming for responsive interactions.
  • Styling handled by TailwindCSS.

Maintenance & Community

  • Project maintained by Steven Tey (@steventey).
  • Contributions are welcomed via issues and pull requests.

Licensing & Compatibility

  • Licensed under the MIT license.
  • Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

The project relies on external APIs (OpenAI, Hacker News) and Vercel for deployment, which may incur costs or have associated limitations. Local setup requires obtaining an OpenAI API key.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.