#89 · Primary category: AI Chatbots

chatgpt.js

ai artificial-intelligence bot chat chatbot chatgpt clientside conversational-ai conversational-bots frontend gpt gpt-5 javascript kudoai library machine-learning ml nlp openai

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

Project last updated:08/10/26

GitHub Stars

2.0K

Forks

173

Contributors

35

License

Other

Why we included this project

Building a ChatGPT-powered feature usually means either standing up a backend proxy or scraping the chat UI's internals. chatgpt.js lives in the browser and wraps the whole conversation flow behind a client-side API, so your own code never has to track ChatGPT's changing markup or session state. The same library includes a CLI that talks to the same providers from a terminal, useful for scripted tasks like drafting commit messages or making ASCII art. And because several popular ChatGPT enhancement extensions are built on it, the API has proven itself under real maintenance, which is reassuring when you are betting a small project on it.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category