A telegram bot that uses a headless chrome wrapper to communicate with ChatGPT.
see: https://github.com/Klingefjord/ChatGPT-API-Python
python -m venv ./venv
source ./venv/bin/activate
- Set up your Telegram bot token and user ID in the
.envfile. See these instructions for more information on how to do this. - Edit the
.env.examplefile, rename it to.env, and place your values in the appropriate fields.
python main.py
- Based on @Altryne on Twitter (https://github.com/altryne/chatGPT-telegram-bot)