New Project
Back to Templates

ChatHN – Chat with Hacker News

AI chatbot that uses OpenAI Functions and Vercel AI SDK to interact with the Hacker News API with natural language.

DeployView Demo
ChatHN

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.

GitHub Reposteven-tey/chathn
LicenseView License
Use Cases
AI
Stack
Next.jsTailwind

Related Templates

Back to Templates
DeployView Demo

ChatGPT Plugin Starter: WeatherGPT

The ultimate ChatGPT Plugin starter template. WeatherGPT is a ChatGPT Plugin to get the weather of any given location.
ChatGPT Plugin Starter: WeatherGPT

Novel – AI-powered Notion-style editor

A Notion-style WYSYWIG editor with AI-powered autocompletions, built with Tiptap, OpenAI, and Vercel AI SDK.
Novel – AI-powered Notion-style editor

Chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
Chatbot