|
1 year ago | |
---|---|---|
.github | 1 year ago | |
.vscode | 1 year ago | |
Singularity | 1 year ago | |
gpt4free | 1 year ago | |
gui | 1 year ago | |
testing | 1 year ago | |
unfinished | 1 year ago | |
.dockerignore | 1 year ago | |
.gitignore | 1 year ago | |
CONTRIBUTING.md | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
docker-compose.yaml | 1 year ago | |
poetry.lock | 1 year ago | |
pyproject.toml | 1 year ago |
README.md
I am busy for the next weeks for various reasons, so the code may get deprecated, but starting back full speed soon with plenty new features
What can I do to contribute ?
you reverse a site from this list: sites-to-reverse, and add it to ./testing
or refractor it and add it to ./gpt4free
countdown until major update
![countdownmail.com](https://i.countdownmail.com/2kdr2o.gif)
You may join our discord: discord.gg/gpt4free for further updates.
![gpt4free logo](https://user-images.githubusercontent.com/98614666/233799515-1a7cb6a3-b17f-42c4-956d-8d2a0664466f.png)
Legal Notice
This repository is not associated with or endorsed by providers of the APIs contained in this GitHub repository. This project is intended for educational purposes only. This is just a little personal project. Sites may contact me to improve their security or request the removal of their site from this repository.
Please note the following:
-
Disclaimer: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is not claiming any right over them nor is it affiliated with or endorsed by any of the providers mentioned.
-
Responsibility: The author of this repository is not responsible for any consequences, damages, or losses arising from the use or misuse of this repository or the content provided by the third-party APIs. Users are solely responsible for their actions and any repercussions that may follow. We strongly recommend the users to follow the TOS of the each Website.
-
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.
-
Indemnification: Users agree to indemnify, defend, and hold harmless the author of this repository from and against any and all claims, liabilities, damages, losses, or expenses, including legal fees and costs, arising out of or in any way connected with their use or misuse of this repository, its content, or related third-party APIs.
-
Updates and Changes: The author reserves the right to modify, update, or remove any content, information, or features in this repository at any time without prior notice. Users are responsible for regularly reviewing the content and any changes made to this repository.
By using this repository or any code related to it, you agree to these terms. The author is not responsible for any copies, forks, or reuploads made by other users. This is the author's only account and repository. To prevent impersonation or irresponsible actions, you may comply with the GNU GPL license this Repository uses.
![](https://media.giphy.com/media/LnQjpWaON8nhr21vNW/giphy.gif)
Related gpt4free projects
🎁 Projects | ⭐ Stars | 📚 Forks | 🛎 Issues | 📬 Pull requests |
gpt4free | ||||
gpt4free-ts | ||||
ChatGPT-Clone | ||||
ChatGpt Discord Bot |
Table of Contents
To do list
- Add a GUI for the repo
- Make a general package named
gpt4free
, instead of different folders - Live api status to know which are down and which can be used
- Integrate more API's in
./unfinished
as well as other ones in the lists - Make an API to use as proxy for other projects
- Make a pypi package
Current Sites
Website s | Model(s) |
---|---|
forefront.ai | GPT-4/3.5 |
poe.com | GPT-4/3.5 |
writesonic.com | GPT-3.5 / Internet |
t3nsor.com | GPT-3.5 |
you.com | GPT-3.5 / Internet / good search |
sqlchat.ai | GPT-3.5 |
bard.google.com | custom / search |
bing.com/chat | GPT-4/3.5 |
italygpt.it | GPT-3.5 |
deepai.org | GPT-3.5 / chat support |
Best sites
gpt-4
gpt-3.5
Install
Download or clone this GitHub repo
install requirements with:
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
Install ffmpeg
sudo apt-get install ffmpeg
Connect VPN if needed and get proxy (Optional)
echo "$http_proxy" # http://127.0.0.1:8889/
Set proxy in gpt4free/you/init.py (Optional)
diff --git a/gpt4free/you/__init__.py b/gpt4free/you/__init__.py
index 11847fb..59d1162 100644
--- a/gpt4free/you/__init__.py
+++ b/gpt4free/you/__init__.py
@@ -38,6 +38,7 @@ class Completion:
if chat is None:
chat = []
+ proxy = '127.0.0.1:8889'
proxies = {'http': 'http://' + proxy, 'https': 'http://' + proxy} if proxy else {}
client = Session(client_identifier='chrome_108')
To start gpt4free GUI
Note: streamlit app collects heavy analytics even when running locally. This includes events for every page load, form submission including metadata on queries (like length), browser and client information including host ips. These are all transmitted to a 3rd party analytics group, Segment.com.
Move streamlit_app.py
from ./gui
to the base folder then run:
streamlit run streamlit_app.py
or python3 -m streamlit run streamlit_app.py
cp gui/streamlit_app.py .
streamlit run streamlit_app.py
Docker
Build
docker build -t gpt4free:latest .
Run
docker run -p 8501:8501 gpt4free:latest
Deploy using docker-compose
Run the following:
docker-compose up --build -d
ChatGPT clone
Currently implementing new features and trying to scale it, please be patient it may be unstable
https://chat.g4f.ai/chat This site was developed by me and includes gpt-4/3.5, internet access and gpt-jailbreak's like DAN
Run locally here: https://github.com/xtekky/chatgpt-clone
Copyright:
This program is licensed under the GNU GPL v3
Most code, with the exception of quora/api.py
and deepai/__init__.py
(by ading2210), has been written by me, xtekky.
Copyright Notice:
xtekky/gpt4free: multiple reverse engineered language-model api's to decentralise the ai industry.
Copyright (C) 2023 xtekky
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.