ChatGPT Scraper Deobfuscated
Create a free ChatGPT client without API key, no limit, and 100% free.
This package is a copy of the original package chatgpt-scraper, remade and removed the obfuscated code due to vulnerability issues. Many people started to suspect about obfuscated codes on npm packages, so I remade some of them with human readable code to make them safe.
Credits to: vihangayt_npm
Install
npm install chatgpt-scraper-deobfuscated
How to use?
Note: The function returns a Promise
type, so you should use it in an async function with await keyword.
const { ChatGPT } = require('chatgpt-scraper-deobfuscated');
const output = await ChatGPT(prompt);
Example
const { ChatGPT } = require('chatgpt-scraper-deobfuscated');
const output = await ChatGPT('Hello');
console.log(output);
Output
{
response: {
type: 'assistant',
content: 'Hello! How can I assist you today?'
},
input: {
type: 'user',
content: 'Hello'
},
time: 1574
}
License
The GPL-3.0 license.