Discord bot for interacting with local LLMs and Stable Diffusion
Top 93.3% on sourcepulse
This project provides a Discord bot that integrates with Ollama for AI chat and AUTOMATIC1111 Stable Diffusion for image generation. It targets Discord server administrators and users seeking to add AI capabilities to their communities. The bot allows for conversational AI and image creation directly within Discord channels.
How It Works
The bot leverages Node.js to connect to Discord via its API. It interacts with Ollama's local inference server for text generation and AUTOMATIC1111's Stable Diffusion Web UI API for image synthesis. Users can trigger AI responses and image generation by mentioning the bot in designated Discord channels.
Quick Start & Requirements
npm install
followed by npm start
orca
or llama2
), AUTOMATIC1111 Stable Diffusion Web UI (with --api --listen
flags), Discord bot token, enabled Message Content and Server Members intents, and specific channel IDs..env
file with Discord and Ollama credentials. Docker setup is also available via make compose-up
or docker compose -p discord-ai up
.Highlighted Details
Maintenance & Community
The project is currently in maintenance mode, with a rewrite to TypeScript planned on a separate branch.
Licensing & Compatibility
The repository does not explicitly state a license.
Limitations & Caveats
The project is in maintenance mode, indicating potential instability or ongoing changes. The lack of a specified license may pose compatibility issues for commercial or closed-source use.
2 months ago
1 day