HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
steven-tey
chathn
TypeScript2023–2023
steven-tey / chathn

chathn

Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.

4Distinct people
6Mentions
0Explicit recommenders
1.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval6 dated mentions

Observed mentions: 2023-06-25 18:49:12 UTC to 2023-06-27 06:07:47 UTC.

012342023-06-25 18:00:00 UTC to 2023-06-25 21:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 25, 18:002023-06-25 21:00:00 UTC to 2023-06-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 00:00:00 UTC to 2023-06-26 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 03:00:00 UTC to 2023-06-26 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 06:00:00 UTC to 2023-06-26 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 09:00:00 UTC to 2023-06-26 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 12:00:00 UTC to 2023-06-26 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 26, 12:002023-06-26 15:00:00 UTC to 2023-06-26 18:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2023-06-26 18:00:00 UTC to 2023-06-26 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-26 21:00:00 UTC to 2023-06-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-27 00:00:00 UTC to 2023-06-27 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-27 03:00:00 UTC to 2023-06-27 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-27 06:00:00 UTC to 2023-06-27 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 27, 06:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 25, 18:002023-06-25 18:00:00 UTC2023-06-25 21:00:00 UTC110
Jun 25, 21:002023-06-25 21:00:00 UTC2023-06-26 00:00:00 UTC000
Jun 26, 00:002023-06-26 00:00:00 UTC2023-06-26 03:00:00 UTC000
Jun 26, 03:002023-06-26 03:00:00 UTC2023-06-26 06:00:00 UTC000
Jun 26, 06:002023-06-26 06:00:00 UTC2023-06-26 09:00:00 UTC000
Jun 26, 09:002023-06-26 09:00:00 UTC2023-06-26 12:00:00 UTC000
Jun 26, 12:002023-06-26 12:00:00 UTC2023-06-26 15:00:00 UTC000
Jun 26, 15:002023-06-26 15:00:00 UTC2023-06-26 18:00:00 UTC413
Jun 26, 18:002023-06-26 18:00:00 UTC2023-06-26 21:00:00 UTC000
Jun 26, 21:002023-06-26 21:00:00 UTC2023-06-27 00:00:00 UTC000
Jun 27, 00:002023-06-27 00:00:00 UTC2023-06-27 03:00:00 UTC000
Jun 27, 03:002023-06-27 03:00:00 UTC2023-06-27 06:00:00 UTC000
Jun 27, 06:002023-06-27 06:00:00 UTC2023-06-27 09:00:00 UTC101

What Hacker News says

6 sources
1. Solved by feeding text version of front page into response - https://github.com/steven-tey/chathn/blob/main/app/api/chat/... . It can not even read linked articles. What you see can be replaced with 4 buttons: get_top_stories + get_story + get_story_with_comments + summarize_top_story. 2. "secret browser" automatically triggers generally applicable conspiracy & common journalistic statements. If you try to ask more specific questions, it immediately fallbacks to: "As an AI language model, I don't have access to real-time data or the ability to browse external websites like Hacker News".
In ChatHN: Chat with Hacker News using OpenAI function calling
OP here – this is a PoC that is limited to the function/API endpoints you define for it: https://github.com/steven-tey/chathn/blob/main/app/api/chat/... > what's the most popular post on hacker news ever? In this case we'll have to define a "timeframe" variable in the `get_top_stories` function that takes in values like "now", "week", "alltime" etc. to make that work > list profitable sideproject stories posted to hacker news Not sure if HN has an API for this, maybe we can reverse engineer the Algolia search to achieve this > how many post the user tiborsaas have on hacker news? we'll need to add a `get_user` function for that
In ChatHN: Chat with Hacker News using OpenAI function calling
steventey·Jun 25, 2023Submission

Show HN: ChatHN – Chat with Hacker News using natural language

Hi again Hacker News! OpenAI recently launched "Function Calling", which is a way for developers to describe functions to GPT-3.5/4 and have the model intelligently choose to output a JSON object containing arguments to call those functions. I decided to tinker around with it this weekend and build an MVP that uses OpenAI Functions + Vercel AI SDK to "chat" with the Hacker News API using natural language, in real time! It's fairly basic for now (supported functions: https://github.com/steven-tey/chathn/blob/main/app/api/chat/...) but just wanted to launch this as a proof of concept (PoC)! Hope y'all like this :)
14 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.