Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.
Introduction · Deploy Your Own · Setting Up Locally · Tech Stack · Contributing · License
ChatHN is an open-source AI chatbot that uses OpenAI Functions and the Vercel AI SDK to interact with the Hacker News API with natural language.
ChatHN.mp4
You can deploy your own version of ChatHN with 1-click:
To set up ChatHN locally, you'll need to clone the repository and set up the following environment variables:
OPENAI_API_KEY
– your OpenAI API key (you can get one here)
ChatH is built on the following stack:
- Next.js – framework
- OpenAI Functions - AI completions
- Vercel AI SDK – AI streaming library
- Vercel – deployments
- TailwindCSS – styles
Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
- Steven Tey (@steventey)
Licensed under the MIT license.