https://github.com/howarder3/GPT-Linebot-python-flask-on-vercel
https://github.com/n3d1117/chatgpt-telegram-bot
make do1
echo 'export LC_ALL=C.UTF-8' >> ~/.bashrc
echo 'export LANG=C.UTF-8' >> ~/.bashrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/shims:$PATH"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
exec $SHELL
make do2
git clone https://github.com/pyfbsdk59/Python-ChatGPT-TelegramBot-Docker.git
cd Python-ChatGPT-TelegramBot-Docker
Step 6a: 輸入以下指令,開始建制本專案的容器,完成後會有1個container(記得先用nano指令修改main.py的OEPNAI api key的部分,還有加入自己的TelegramBot token和自己的TG帳號的id。)
make dcup
python main.py &
https://ithelp.ithome.com.tw/articles/10245264
https://tcsky.cc/tips-01-telegram-chatbot/
https://telegram.me/getidsbot
https://blog.csdn.net/qq_40394269/article/details/124832889