Hey fellows, what's going on?
FreeGPT.js
I'm just trying to say, I made a cool repo. It's a ChatGPT library in JavaScript, I call it as FreeGPT.js!
It is literally a piece of code, althought a simple function, but it is a unlimited GPT 3.5 model! You are allowed to try it, come on!
Repo link - https://github.com/ashishagarwal2023/freegptjs
Demo - https://ashishagarwal.is-a.dev/freegptjs/
Please give me suggestions and I will be happy. It is available on jsDelivr also, and here's a way you can use it:
<script src="https://cdn.jsdelivr.net/gh/ashishagarwal2023/freegptjs/src/freegpt.min.js"></script>
Load in your head, then call it in body:
(async () => {
let response = await gpt.ask("Explain variables in javascript");
console.log(response); // you got it!
})();
And its it!
Wrapping up
Now as you saw my project, don't forget to give a star and follow me on github!
Repo link - https://github.com/ashishagarwal2023/freegptjs
Demo - https://ashishagarwal.is-a.dev/freegptjs/
It is based on a You.com's GPT 3.5 Model, I reverse-engineered, which was literally not authenicated - no tokens, its free!
The reason I made it using JavaScript for CDN is: it has Cloudflare security so NodeJS/Python was not able to get the API or scrap it. (using a free scraper, because who pays?)
Top comments (2)
This is insane!!!
the demo link doesn't work