Spaces:
Running
Running
File size: 3,439 Bytes
fb6d5bb 6af1651 870ae37 140bf8a 870ae37 140bf8a 870ae37 04ddfd3 1d3f458 04ddfd3 870ae37 1d3f458 140bf8a 1d3f458 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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# freeGPT WebUI with Jailbreak :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-%EF%B8%8F)
- [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)
- [Auto Proxy](#auto-proxy-)
- [Enable Auto Proxy](#enable-auto-proxy)
- [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
- [x] Auto Proxy
- [ ] 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
```
## Auto Proxy π
The application includes an auto proxy feature that allows it to work with multiple free proxy servers.
The freeGPT API refuses some connections, especially when hosted in the cloud (Azure, AWS, Google Cloud).
Auto proxy solves this problem automatically for you.
When enabled, the application will automatically fetch and test proxy servers, updating the list of working proxies every 30 minutes.
### Enable Auto Proxy
To enable it, just go to the `config.json` file and change the value of the "use_auto_proxy" to `true`.
```
"use_auto_proxy": true
```
![use-auto-proxy-gif](https://github.com/ramonvc/gptfree-jailbreak-webui/assets/13617054/f83c6217-411c-404c-9f4c-8ae700a486d1)
## 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
```
|