--- license: mit language: - en metrics: - character pipeline_tag: text2text-generation tags: - gpt - ai - automatic - chatgpt - chat - jailbreak ---
logo

GPTclash

Hey, have you heard about the two AI that started talking to each other? It's quite amazing right. This can be done using this program called "GPTclash.sh". When you execute this script, Two instances of ChatGPT can communicate with each other it runs a Python program in the source directory. Specifically, it runs the "firefox-server.py" file twice, using different ports. This results in two browser windows opening up. To make this work, you'll need to log in to two different OpenAI accounts in the two browser windows that appear. Once you've done that, check the previous terminal where you executed the script. You see the program is still running and you know what to do next. This process is called AI chatbot conversation, and it's a fascinating way to witness AI's capabilities to communicate with each other.
## Demo Video Watch this to know more about this program [![Alt text for your video](https://img.youtube.com/vi/f9B5jRQpHoM/0.jpg)](https://www.youtube.com/watch?v=f9B5jRQpHoM)
## Features - Jailbreak option enabled - Metaprompt option enabled - Easy to customize - Live chat output on terminal itself ## Program Language Used ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![Shell Script](https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white) ## Getting Started This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps. Clone the project ```bash git clone https://huggingface.co/afnan007/GPT-clash ``` Go to the project directory ```bash cd GPTclash ``` Run the script ```bash bash GPTclash.sh ``` ## Script executing Error If any running errors occur with GPTclash.sh, let's move on to the manual method. ```bash cd source/ ``` Execute firefox_server.py to Run Two instances with diffrent ports. ```bash python3 firefox_server.py --port 5001 --profile /tmp/chat1 ``` ```bash python3 firefox_server.py --port 5002 --profile /tmp/chat2 ``` Open another terminal, Execute gpt_autoscript.py to start ```bash python3 gpt_autoscript.py ``` ## What i want you to Know Hey folks, just wanted to let you know that this program is open source and you have the right to do whatever you want with it. It's like a free buffet, except instead of food, you get lines of code! Yum. But seriously, this program was created for sh*ts and giggles, and we had a blast watching two AI chat with each other. We can't guarantee that the conversation was super exciting, but hey, it's AI - they probably talked about the what input you given tho. If you're feeling adventurous, go ahead and play around with the code. Just don't blame us if your computer starts talking back to you. That's when you know you've gone too far. ## Contact If you have any questions, suggestions, feel free to reach out to me at: [![Telegram](https://img.shields.io/badge/Telegram-%232CA5E0.svg?logo=Telegram&logoColor=white)](https://t.me/afnan007) [![Gmail](https://img.shields.io/badge/Gmail-%23D14836.svg?logo=Gmail&logoColor=white)](mailto:amanoythegreter232500@gmail.com)