What does HackerNews think of chatgpt-api?

Node.js client for the unofficial ChatGPT API. 🔥

Language: TypeScript

I just pushed an update to the `chatgpt` NPM package with support for the official ChatGPT API: https://github.com/transitive-bullshit/chatgpt-api
That package recommends using a ChatGPT proxy. This proxy has the ability to access ChatGPT in a way that OpenAI hasn’t been able to stop, but it requires a configuration file that is not open source.

Everyone using this proxy needs to provide an OpenAI ChatGPT access token to the server. Let me break this down:

Using the ChatGPT npm package enables an opaque third party access to your credentials to use ChatGPT — or exactly what a botnet / social media manipulation operation would need / want for a convincing bot. They just have to distribute load among all the active access tokens they’ve collected from users.

DO NOT use this library.

DO NOT trust code from authors who either don’t see this obvious vector or are in on it.

To recommend using an opaque third party proxy with no encryption is not acceptable. This lets someone peep into your conversations with the bot on top of the other malicious uses with credential hijacking. And while OpenAI is peeping as well, they are at least using the data to advance AI and most researchers have a deep relationship with the ethics of their field.

Here is the repo in question: https://github.com/transitive-bullshit/chatgpt-api

Supposedly there is a hidden model that you can use via the API that actually is ChatGPT. One of the libraries mentioned in these comments is using it.

Edit: this one https://github.com/transitive-bullshit/chatgpt-api

There is a stealth chat model which ChatGPT uses under the hood that OpenAI is testing w/ some YC companies & partners.

To see it in action, check out the wrapper here https://github.com/transitive-bullshit/chatgpt-api

> Because I wish it worked as good as you said it did so I wasn't working right now.

It's all in the prompting; I use [0] and a version of [1] with some other tooling to instruct it, add my style and other context in the session and have /chatcommands that add (quite elaborate) prompts to get it to do what I want.

I use different iterations of this playground for many things I do.

[0] https://github.com/transitive-bullshit/chatgpt-api [1] https://github.com/tluyben/chatgpt-playground