File size: 2,618 Bytes
870ae37
6af1651
 
870ae37
 
 
 
 
 
 
 
 
 
 
04ddfd3
870ae37
 
 
 
 
 
 
 
04ddfd3
 
 
 
 
 
 
 
 
 
 
 
870ae37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# GPTfree Jailbreak WebUI :unlock:
This project showcases an unlocked version of ChatGPT with WebUI. <br> 🌟 <strong>NOT REQUIRE ANY API KEY</strong> 🌟 <br>
Experience the power of ChatGPT with a user-friendly interface, completely free of charge.

## Incorporated Projects :busts_in_silhouette:
I highly recommend visiting and supporting both projects.

### WebUI
The application interface was incorporated from the [chatgpt-clone](https://github.com/xtekky/chatgpt-clone) repository.

### API freeGPT
The free GPT API was incorporated from the [freeGPT](https://github.com/Ruu3f/freeGPT) repository.

## Table of Contents  
- [To-Do List](#to-do-list)  
- [Getting Started](#getting-started-white_check_mark)  
  - [Cloning the Repository](#cloning-the-repository-inbox_tray)  
  - [Install Dependencies](#install-dependencies-wrench)  
- [Running the Application](#running-the-application-rocket)  
- [Docker](#docker-)  
  - [Prerequisites](#prerequisites)  
  - [Running the Docker](#running-the-docker)  

##

## To-Do List βœ”οΈ

- [x] Integrate the free GPT API into the WebUI
- [x] Create Docker support
- [ ] Add the GPT-4 model
- [ ] Enhance the user interface
- [ ] Improve the Jailbreak functionality
- [ ] Enable editing and creating Jailbreaks in the WebUI
- [ ] Migrate the interface to React.js (?)

## Getting Started :white_check_mark:  
To get started with this project, you'll need to clone the repository and have [Python](https://www.python.org/downloads/) installed on your system.  
  
### Cloning the Repository :inbox_tray:
Run the following command to clone the repository:  

```
git clone https://github.com/ramonvc/gptfree-jailbreak-webui.git
```

### Install Dependencies :wrench: 
Navigate to the project directory:
```
cd gptfree-jailbreak-webui
```

Install the dependencies:
```
pip install -r requirements.txt
```
## Running the Application :rocket:
To run the application, run the following command:
```
python run.py
```

Access the application in your browser using the URL:
```
http://127.0.0.1:1338
```
or
```
http://172.17.0.2:1338
```

## Docker 🐳
### Prerequisites
Before you start, make sure you have installed [Docker](https://www.docker.com/get-started) on your machine.

### Running the Docker
Build the Docker image:
```
docker-compose build
```

Run the application using Docker Compose:
```
docker-compose up
```

Access the application in your browser using the URL:
```
http://127.0.0.1:1338
```
or
```
http://172.17.0.2:1338
```

When you're done using the application, stop the Docker containers using the following command:
```
docker-compose down
```