miko550 / TelegramBot-ChatGPT-filter-bypass

Simple Python Server for Telegram Bot that allows you to bypass content filtering in ChatGPT. This calls the OpenAI autocompletion API for DaVinci-003.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TelegramBot-ChatGPT-filter-bypass

Simple Python Server for Telegram Bot that allows you to bypass content filtering in ChatGPT. This calls the OpenAI autocompletion API for DaVinci-003.

Setup in Python Enviroment

  1. Clone repository
git clone https://github.com/miko550/TelegramBot-ChatGPT-filter-bypass.git
cd TelegramBot-ChatGPT-filter-bypass
  1. create and active python virtual environment
virtualenv venv
source venv/bin/activate
  1. Install requirement
pip install -r requirements.txt
  1. Replace YOUR_BOT_TOKEN and YOUR_API_KEY in telebot.py
  2. Run Server
python3 telebot.py

Setup in Docker

  1. Clone repository
git clone https://github.com/miko550/TelegramBot-ChatGPT-filter-bypass.git
cd TelegramBot-ChatGPT-filter-bypass
  1. Replace YOUR_BOT_TOKEN and YOUR_API_KEY in telebot.py
  2. Create a Docker network
docker network create bridge-net
  1. Built Docker Image
docker build --network bridge-net -t miko/chatgpt-telebot .
  • if error try
docker build --network host -t miko/chatgpt-telebot .
  1. Run Docker Container
docker run -d --network bridge-net --name chatgpt-telebot  miko/chatgpt-telebot

Reference

About

Simple Python Server for Telegram Bot that allows you to bypass content filtering in ChatGPT. This calls the OpenAI autocompletion API for DaVinci-003.

License:GNU General Public License v3.0


Languages

Language:Python 89.1%Language:Dockerfile 10.9%