# KudoAI/chatgpt.js

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

Repository: https://github.com/KudoAI/chatgpt.js
Canonical: https://ross.abutalabs.com/products/chatgptjs
Homepage: https://chatgptjs.org
Language: JavaScript
License Family: other
Topics: ai, artificial-intelligence, chatgpt, nlp, bot, chat, chatbot, clientside, conversational-ai, conversational-bots, frontend, gpt, javascript, library, machine-learning, ml, openai, kudoai, gpt-5
Archived: true
Last push: 2026-08-10T08:03:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 95, longevity 90
- inputs: {"age_days": 1267, "days_push": 23, "days_rel": 37, "gap_med": 2.0, "n_releases_24m": 51}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2042, forks 173 (observed 2026-08-28T04:06:08.655980+00:00)

## What it is
A lightweight client-side JavaScript library (plus interactive CLI) for interacting with ChatGPT from the browser or Node.js. It provides a simple API for sending prompts and receiving conversational AI responses without managing OpenAI sessions manually.

## Use cases
- interact with ChatGPT from JavaScript
- build a chatbot on my website
- send prompts to ChatGPT from the browser
- automate ChatGPT conversations in Node.js
- add conversational AI to a userscript or extension

## When to choose
- you want a lightweight client-side wrapper around ChatGPT
- you're building browser extensions or userscripts that talk to ChatGPT

## When to avoid
- you need an officially supported OpenAI SDK with guaranteed API stability
- you need server-side enterprise features like streaming usage accounting

## Facets
- artifact type: library
- maturity: active
- function: http-client, chatbot, sdk
- domain: large-language-models, chatbots, artificial-intelligence, frontend
- platform: browser
- tags: chatgpt, openai, client-side, unofficial-api, conversational-ai, nodejs, javascript

## Member repositories
- KudoAI/chatgpt.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.655980+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:58:17.354473+00:00, confidence not recorded.
  - readme: https://github.com/KudoAI/chatgpt.js (fetched 2026-08-28T04:06:08.655980+00:00, sha 09aa64cf208e)
  - homepage: https://chatgptjs.org (fetched 2026-08-29T10:38:30.908220+00:00, sha 9bb206497307)
- Data as of 2026-08-30T08:39:29.467469+00:00.
