File size: 5,984 Bytes
5f93e91
d816f87
 
0853189
5f93e91
4cb3214
5f93e91
fce2dfe
5f93e91
4cb3214
c3cf8cc
24f10a3
0853189
027cc87
6681199
 
e430481
1be1e44
 
 
 
 
261b39e
 
 
 
 
 
d3eebd2
027cc87
 
 
 
 
 
 
 
 
0853189
24f10a3
0853189
6681199
 
 
 
 
 
 
 
 
 
 
 
 
 
81e0330
a67ffd8
8f76adb
 
a67ffd8
78662c7
a67ffd8
 
8f76adb
a67ffd8
 
 
8f76adb
0d25200
24f10a3
1be1e44
a9d4b38
633bcd8
0aa328d
789b209
 
 
da890d8
 
 
ab538ac
5f93e91
027cc87
 
 
 
 
1be1e44
 
 
 
 
 
 
 
 
 
 
 
63a1ee4
 
 
 
 
1be1e44
63a1ee4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# GPT4free - use ChatGPT, for free!!

<img width="1383" alt="image" src="https://user-images.githubusercontent.com/98614666/233799515-1a7cb6a3-b17f-42c4-956d-8d2a0664466f.png">

Have you ever come across some amazing projects that you couldnt use **just because you didn't have an OpenAI API key?** 

**We've got you covered!** This repository offers **reverse-engineered** third-party APIs for `GPT-4/3.5`, sourced from various websites. You can simply **download** this repository and use the available modules, which are designed to be used **just like OpenAI's official package**. **Unleash ChatGPT's potential for your projects, now!** You are welcome ; ).

By the way, thank you so much for `2k` stars and all the support!!


## Table of Contents

- [To do list](#todo)
- [Current Sites](#current-sites)
- [Best Sites for gpt4](#best-sites)
- [How to install](#install)
- [Legal Notice](#legal-notice)
- [Copyright](#copyright)


- [Usage Examples](./README.md)
  - [`quora (poe)`](./quora/README.md)
  - [`phind`](./phind/README.md)
  - [`t3nsor`](./t3nsor/README.md)
  - [`ora`](./ora/README.md)
  - [`writesonic`](./writesonic/README.md)
  - [`you`](./you/README.md)
  - [`sqlchat`](./sqlchat/README.md)
  
## Todo <a name="todo"></a>

- [ ] add a GUI for the repo 
- [ ] make a general package like `openai_rev`, instead of different folders
- [ ] live api status to know which are down and which can be used
- [ ] integrate more api's in `./unfinished` aswell as other ones in the lists
- [ ] make an api to use as proxy for other projects
- [ ] make a pypi package

## Current Sites <a name="current-sites"></a>

| Website                                              | Model(s)                        |
| ---------------------------------------------------- | ------------------------------- |
| [ora.sh](https://ora.sh)                             | GPT-3.5 / 4                     |
| [poe.com](https://poe.com)                           | GPT-4/3.5                       |
| [writesonic.com](https://writesonic.com)             | GPT-3.5 / Internet              |
| [t3nsor.com](https://t3nsor.com)                     | GPT-3.5                         |
| [you.com](https://you.com)                           | GPT-3.5 / Internet / good search|
| [phind.com](https://phind.com)                       | GPT-4 / Internet / good search  |
| [sqlchat.ai](https://sqlchat.ai)                     | GPT-3.5                         |
| [chat.openai.com/chat](https://chat.openai.com/chat) | GPT-3.5                         |
| [bard.google.com](https://bard.google.com)           | custom / search                 |
| [bing.com/chat](https://bing.com/chat)               | GPT-4/3.5                       |

## Best sites  <a name="best-sites"></a>

#### gpt-4
- [`/ora`](./ora/README.md) 
- here is proof / test: [`ora_gpt4_proof.py`](./testing/ora_gpt4_proof.py)
- why ?, no streaming compared to poe.com but u can send more than 1 message
- update: you need to use session token now and there is a limit, accounts are only google so no creator for now

#### gpt-3.5
- [`/sqlchat`](./sqlchat/README.md)
- why ? (streaming + you can give conversation history)

#### search
- [`/phind`](./phind/README.md)
- why ? its not sure if they use gpt, but rather claude but they have an amazing search and good reasoning model

## Install  <a name="install"></a>
- download or clone this GitHub repo

install requirements with:
```sh
pip3 install -r requirements.txt
```
## To start gpt4free GUI
To start gpt4free GUI run the following command :
`streamlit run streamlit_app.py`

## ChatGPT clone
> currently implementing new features and trying to scale it, please be patient it may be unstable     
> https://chat.chatbot.sex/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

## Legal Notice <a name="legal-notice"></a>

This repository uses third-party APIs and AI models and is *not* associated with or endorsed by the API providers or the original developers of the models. This project is intended **for educational purposes only**.

Please note the following:

1. **Disclaimer**: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is *not* claiming any right over them.

2. **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.

3. **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.

## Copyright: 
This program is licensed under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt)     

Most code, with the exception of `quora/api.py` (by [ading2210](https://github.com/ading2210)), has been written by me, [xtekky](https://github.com/xtekky).

### Copyright Notice: <a name="copyright"></a>
```
xtekky/openai-gpt4: 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/>.
```