# waylaidwanderer/node-chatgpt-api

A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app.

Repository: https://github.com/waylaidwanderer/node-chatgpt-api
Canonical: https://ross.abutalabs.com/products/node-chatgpt-api
Homepage: https://www.npmjs.com/package/@waylaidwanderer/chatgpt-api
Language: JavaScript
License: MIT
License Family: permissive
Topics: chatgpt, chatgpt-api, gpt, openai, openai-api, api, api-rest, api-server, cli, nodejs, npm, javascript, bing, bing-api, bing-search, gpt-3, gpt-4, bing-chat
Last push: 2024-01-27T04:39:55+00:00

## Health v2 (maintenance only)
Score: 22/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 95
- inputs: {"age_days": 1334, "days_push": 949, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4152, forks 716 (observed 2026-08-28T04:08:36.493197+00:00)

## What it is
A Node.js client implementation for ChatGPT and Bing AI, usable as an npm module, a REST API server, or a CLI app. It wraps the official OpenAI API (gpt-3.5-turbo) and unofficial browser/reverse-proxy access to chat.openai.com and Bing Chat.

## Use cases
- talk to chatgpt from a node.js app
- run a rest api server for chatgpt
- use chatgpt from the command line
- access bing chat programmatically
- use gpt-3.5-turbo via openai api in javascript
- chat with chatgpt without a browser

## When to choose
- you need a Node.js client for the official OpenAI chat API with conversation persistence
- you want to expose ChatGPT/Bing AI behind your own REST API server
- you want a quick CLI chat client for GPT models

## When to avoid
- you need a maintained library - the last release was January 2024 and unofficial access methods are frequently patched
- you rely on automating chat.openai.com, which risks account bans and broken Cloudflare bypasses
- you need official SDK features like function calling or streaming beyond what this client supports

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, http-server, cli, chatbot, llm-inference
- domain: large-language-models, chatbots, apis, developer-tools
- platform: cli
- tags: chatgpt, bing-ai, openai-api, reverse-proxy, rest-api-server, unofficial-api, nodejs, web-server

## Member repositories
- waylaidwanderer/node-chatgpt-api (main) score 22

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.493197+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-29T18:22:53.693319+00:00, confidence not recorded.
  - readme: https://github.com/waylaidwanderer/node-chatgpt-api (fetched 2026-08-28T04:08:36.493197+00:00, sha 713b5bf75bf6)
  - homepage: https://www.npmjs.com/package/@waylaidwanderer/chatgpt-api (fetched 2026-08-29T09:14:05.440649+00:00, sha 4c8ab61d05e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
