forked from pinks/eris
1
0
Fork 0
Telegram bot for generating images from text
Go to file
pinks 2f5058ac45 chore: split into modules 2023-09-04 18:55:48 +02:00
README.md chore: split into modules 2023-09-04 18:55:48 +02:00
bot.ts chore: split into modules 2023-09-04 18:55:48 +02:00
config.ts chore: split into modules 2023-09-04 18:55:48 +02:00
deno.jsonc chore: split into modules 2023-09-04 18:55:48 +02:00
deps.ts chore: split into modules 2023-09-04 18:55:48 +02:00
fmtArray.ts chore: split into modules 2023-09-04 18:55:48 +02:00
intl.ts chore: split into modules 2023-09-04 18:55:48 +02:00
main.ts chore: split into modules 2023-09-04 18:55:48 +02:00
mimeType.ts chore: split into modules 2023-09-04 18:55:48 +02:00
queue.ts chore: split into modules 2023-09-04 18:55:48 +02:00
sd.ts chore: split into modules 2023-09-04 18:55:48 +02:00

README.md

Eris the Bot

Telegram bot for generating images from text.

Requirements

Options

You can put these in .env file or pass them as environment variables.

  • TG_BOT_TOKEN - Telegram bot token (get yours from @BotFather)
  • SD_API_URL - URL to Stable Diffusion API (e.g. http://127.0.0.1:7860/)
  • ADMIN_USERNAMES - Comma separated list of usernames of users that can use admin commands (optional)

Running

  • Start stable diffusion webui: cd sd-webui, ./webui.sh --api
  • Start bot: deno task start