Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

MDP43140/LiteGPT

Repository files navigation

Important message: Recently BaiChat servers (backend used for chatgpt, old ones) is being abused, and as a result, everytime you try to send something, LiteGPT is stuck, throws an error "text is not defined" in console, and server replied with ```{"message":"503 Server is busy, please try again later","data":null,"status":"Failed}``` the same also affects tgpt. This project might be deprecated if the only option for API calls must be pay-per-api-call

LiteGPT

LiteGPT is a simple & lightweight ChatGPT web client. It uses BAI Chat for the backend (no API key required) Inspired by aandrew-me/tgpt

Can be accessed from here

Features:

  • Lightweight, Simple, Fast (no external libraries/frameworks needed).
  • Remembers previous context/history.
  • self-hostable, no installation required (because its written in Web languages, just open the file/site).
  • Multiple chats (although should be noted that its not quite stable yet, but for the most part it should work).

Disadvantages:

  • Not as fast as tgpt (obviously its written in Web languages such as HTML,CSS,JS, and the browser uses lots of RAM).
  • CORS sucks! (yeah you guess it, because its doing cross-origin requests, most browser block the request. but this can be fixed by saving the index.html file and opening it locally).

Size comparison:

  • ChatGPT web client: 2.8mb
  • BAI Chat web client: 3.23mb
  • tgpt terminal client: 7.51mb (compiled binary for linux-amd64)
  • tgpt terminal client: 6kb (source code, library and compiler not included)
  • GPT Lite web client: 20kb

Legal Notice

This repository uses third-party APIs for educational purposes only and is not associated with or endorsed by the API providers. This is just a little personal project.

  • Disclaimer: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is not claiming any right over them.
  • Responsibility: The author of this repository is not responsible for any consequences arising from the use or misuse of this repository or the content provided by the third-party APIs and any damage or losses caused by users' actions.
  • Educational Purposes Only: This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations

About

Lightweight ChatGPT web client, inspired by tgpt

Resources

License

Stars

Watchers

Forks

Languages