A lightweight poe chatbot for telegram
Log into Poe on any web browser, then open your browser's developer tools (also known as "inspect") and look for the value of the p-b
cookie in the following menus:
- Chromium: Devtools > Application > Cookies > poe.com
- Firefox: Devtools > Storage > Cookies
- Safari: Devtools > Storage > Cookies
remove the comments before use
{
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0",
"token": ":", // telegram bot token
"chatbot": {
"0": { // your telegram user id
"token": "", // poe token
"bot": "chinchilla" // poe bot name
}
}
}
- docker
docker pull ghcr.io/tbxark/poe-telegram-bot:latest
docker run -d --name poe-telegram-bot -v /root/poe-telegram-bot/config.json:/app/config.json ghcr.io/tbxark/poe-telegram-bot:latest
- manual
git clone https://github.com/TBXark/poe-telegram-bot.git
cd poe-telegram-bot
pip install -r requirements.txt
python main.py -c config.json