#discord-bot #web-ui #diffusion #stable #front-end #client #automatic1111

app exilent

A Discord bot, written in Rust, that provides a frontend to AUTOMATIC1111's Stable Diffusion Web UI

1 unstable release

0.2.0 Feb 7, 2023

#7 in #diffusion

GPL-3.0-only

165KB
4.5K SLoC

exilent

A Discord bot, written in Rust, that provides a frontend to AUTOMATIC1111's Stable Diffusion Web UI.

Many thanks to aiyabot, which paved the way for Discord bots for A1111. I just needed to build something to test my client library :)

Setup

  • Set up your Web UI instance as per the instructions, adding --api --listen to the launch arguments.
  • Install Rust 1.65 or above using rustup.
  • Create a Discord application and fill it out with your own details.
  • Go to Bot and create a new Bot.
    • Hit Reset Token, and copy the token it gives you somewhere.
  • Go to OAuth2 > URL Generator, select bot, then select Send Messages and Use Slash Commands.
    • Go to the URL it generates, and then invite it to a server of your choice.
  • Run cargo run --release to start Exilent. This will auto-generate a configuration file, and then quit.
  • Fill in the configuration file with the required details.
  • You can then run Exilent to your heart's content.

Dependencies

~69MB
~1M SLoC