chathn
chathn copied to clipboard
Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.

ChatHN
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
Introduction
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.
https://github.com/steven-tey/chathn/assets/28986134/9c0ad554-f4e5-4e98-8771-5999ddf79235
Deploy your own
You can deploy your own version of ChatHN with 1-click:
Setting Up Locally
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)
Tech Stack
ChatH is built on the following stack:
- Next.js – framework
- OpenAI Functions - AI completions
- Vercel AI SDK – AI streaming library
- Vercel – deployments
- TailwindCSS – styles
Contributing
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.
Author
- Steven Tey (@steventey)
License
Licensed under the MIT license.