HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
KudoAI
chatgpt.js
JavaScript2023–2023
KudoAI / chatgpt.js · Archived

chatgpt.js

🤖 A powerful, lightweight JavaScript library + interactive CLI for ChatGPT

2Distinct people
3Mentions
0Explicit recommenders
2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

🤖 A powerful, lightweight JavaScript library + interactive CLI for ChatGPT

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 hour3 dated mentions

Observed mentions: 2023-07-08 07:15:11 UTC to 2023-07-09 09:02:51 UTC.

012023-07-08 07:00:00 UTC to 2023-07-08 08:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJul 8, 07:002023-07-08 08:00:00 UTC to 2023-07-08 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-07-08 09:00:00 UTC to 2023-07-08 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 10:00:00 UTC to 2023-07-08 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 11:00:00 UTC to 2023-07-08 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 12:00:00 UTC to 2023-07-08 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 13:00:00 UTC to 2023-07-08 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 14:00:00 UTC to 2023-07-08 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 15:00:00 UTC to 2023-07-08 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 16:00:00 UTC to 2023-07-08 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 17:00:00 UTC to 2023-07-08 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 18:00:00 UTC to 2023-07-08 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 19:00:00 UTC to 2023-07-08 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 20:00:00 UTC to 2023-07-08 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 8, 20:002023-07-08 21:00:00 UTC to 2023-07-08 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 22:00:00 UTC to 2023-07-08 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-08 23:00:00 UTC to 2023-07-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 00:00:00 UTC to 2023-07-09 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 01:00:00 UTC to 2023-07-09 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 02:00:00 UTC to 2023-07-09 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 03:00:00 UTC to 2023-07-09 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 04:00:00 UTC to 2023-07-09 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 05:00:00 UTC to 2023-07-09 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 06:00:00 UTC to 2023-07-09 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 07:00:00 UTC to 2023-07-09 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 08:00:00 UTC to 2023-07-09 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-09 09:00:00 UTC to 2023-07-09 10:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 9, 09: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
Jul 8, 07:002023-07-08 07:00:00 UTC2023-07-08 08:00:00 UTC110
Jul 8, 08:002023-07-08 08:00:00 UTC2023-07-08 09:00:00 UTC101
Jul 8, 09:002023-07-08 09:00:00 UTC2023-07-08 10:00:00 UTC000
Jul 8, 10:002023-07-08 10:00:00 UTC2023-07-08 11:00:00 UTC000
Jul 8, 11:002023-07-08 11:00:00 UTC2023-07-08 12:00:00 UTC000
Jul 8, 12:002023-07-08 12:00:00 UTC2023-07-08 13:00:00 UTC000
Jul 8, 13:002023-07-08 13:00:00 UTC2023-07-08 14:00:00 UTC000
Jul 8, 14:002023-07-08 14:00:00 UTC2023-07-08 15:00:00 UTC000
Jul 8, 15:002023-07-08 15:00:00 UTC2023-07-08 16:00:00 UTC000
Jul 8, 16:002023-07-08 16:00:00 UTC2023-07-08 17:00:00 UTC000
Jul 8, 17:002023-07-08 17:00:00 UTC2023-07-08 18:00:00 UTC000
Jul 8, 18:002023-07-08 18:00:00 UTC2023-07-08 19:00:00 UTC000
Jul 8, 19:002023-07-08 19:00:00 UTC2023-07-08 20:00:00 UTC000
Jul 8, 20:002023-07-08 20:00:00 UTC2023-07-08 21:00:00 UTC000
Jul 8, 21:002023-07-08 21:00:00 UTC2023-07-08 22:00:00 UTC000
Jul 8, 22:002023-07-08 22:00:00 UTC2023-07-08 23:00:00 UTC000
Jul 8, 23:002023-07-08 23:00:00 UTC2023-07-09 00:00:00 UTC000
Jul 9, 00:002023-07-09 00:00:00 UTC2023-07-09 01:00:00 UTC000
Jul 9, 01:002023-07-09 01:00:00 UTC2023-07-09 02:00:00 UTC000
Jul 9, 02:002023-07-09 02:00:00 UTC2023-07-09 03:00:00 UTC000
Jul 9, 03:002023-07-09 03:00:00 UTC2023-07-09 04:00:00 UTC000
Jul 9, 04:002023-07-09 04:00:00 UTC2023-07-09 05:00:00 UTC000
Jul 9, 05:002023-07-09 05:00:00 UTC2023-07-09 06:00:00 UTC000
Jul 9, 06:002023-07-09 06:00:00 UTC2023-07-09 07:00:00 UTC000
Jul 9, 07:002023-07-09 07:00:00 UTC2023-07-09 08:00:00 UTC000
Jul 9, 08:002023-07-09 08:00:00 UTC2023-07-09 09:00:00 UTC000
Jul 9, 09:002023-07-09 09:00:00 UTC2023-07-09 10:00:00 UTC101

What Hacker News says

3 sources
I'm an author so I can address some of your concerns > Why would I use this instead of some minimal implementation of the official OpenAI packages? If you're looking to use API, you wouldn't (this is client-side not server-side library) > Looking at the chatgpt.js file in the repo, a great deal of the code revolves around manipulating UI elements. Yes that's what this library is for > What does any of this have to do with interacting with an API Nothing... (who said it interacts with API?) > why would I use your UI, baked into this script, outside of something I control myself? The same reason authors of award-winning apps that use chatgpt.js do... to write less code (literally anyone uses libraries). Why do you need to control a library's code? > I'm not sold on this; seems like a wrapper around something that is much simpler in practic
Read the rest
e. It doesn't wrap anything it's original functions... > "Who has time for docs?" Perhaps you could... I dunno, use an AI or something to generate [docs] for you? A human wrote them already @ https://github.com/kudoai/chatgpt.js/blob/main/docs/userguid... the quote refers to users not me
In Chatgpt.js: An open-source, powerful client-side JavaScript library for ChatGPT

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.