This cool Telegram Bot can send images generated by OpenAI’s DALL·E.
The bot is running on my Raspberry Pi and can be found here
source setup-local-venv.sh
- Create a Telegram Bot using the BotFather
- Create a chat where the bot will send logs and errors
- Create an OpenAI Api key here
- Create a file
env.json
in thedallebot
subdirectory with the developer_chat_id, the bot_token, and the openai_api_key
{
"developer_chat_id": "<REPLACE WITH DEVELOPER CHAT ID>",
"bot_token": "<REPLACE WITH BOT TOKEN>",
"openai_api_key": "<REPLACE WITH OPENAI API KEY>"
}
./docker-build-raspberry-pi.sh
./docker-build-linux.sh
./docker-run.sh