Skip to content

jakubwaller/dallebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DALL·E Bot

trailer

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 @dalle_mini_bot

Development

Setup

source setup-local-venv.sh

Deployment

Setup Environment

  • 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 the dallebot 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>"
}

Build docker

Raspberry Pi

./docker-build-raspberry-pi.sh

Linux/Mac

./docker-build-linux.sh

Run docker

./docker-run.sh

Sources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published