← all repositories

KudoAI/chatgpt.js

A JavaScript library for programmatically interacting with ChatGPT from browsers or Node.js.

2k stars JavaScript Chat AssistantsLanguage Models
chatgpt.js
Velocity · 7d
+1.7
★ / day
Trend
steady
star history

chatgpt.js is an open source JavaScript library that provides a convenient API wrapper for ChatGPT (OpenAI’s conversational AI). It can be used in both client-side browsers and server-side Node.js environments to send messages, manage conversations, and handle responses from ChatGPT. The library abstracts the complexity of interacting with OpenAI’s API into a straightforward interface.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.