Welcome to Ollamacord! ✨
A cute, experimental Python project for connecting LLMs (like Ollama) to Discord bots, with a sprinkle of RAG, web search, and more! Designed for tinkerers, learners, and anyone who wants to make their Discord bot a lil' smarter. UwU
- LLM chat (Ollama, local or remote)
- RAG (past memories, file upload)
- Web search integration
- Gif support
- Modular scripting
- Easy config and logging
- First upload! (v0.1, September 2025)
- (Nothing here yet! Got ideas? PRs welcome~)
- Install Ollama (if you want to host your own LLM):
- Clone this repo:
git clone https://github.com/neoluigi4123/Ollamacord.git cd Ollamacord
- Create a virtual environment:
python -m venv venv .\venv\Scripts\activate - Install requirements:
pip install -r requirements.txt - Run the bot:
python main.py
You'll have to download the model from ollama first. Please use a model with vision capabilities if images can be sent in the discord channel.
All the magic happens in config.py! You can set up:
- Ollama endpoint (local or remote)
- Discord bot token
- Logging options
- Web search API keys
- And more! (Check the comments in
config.pyfor all the deets~)
- Old versions tried image generation and TTS (text-to-speech) replies, but... my potato PC said "nope" 🥔💨
- If you got the compute, feel free to fork and try again!
- None yet! Wanna help? Open an issue or PR, or just say hi~
Made with 💖