Skip to content

teodorgross/ollama-discord-presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Discord Rich Presence

Display your Ollama model status in Discord with system information


🚀 One-Click Install

Windows (PowerShell):

curl -o install.py https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/install.py; python install.py

Windows (CMD):

curl -o install.py https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/install.py && python install.py

Linux/macOS:

curl -sSL https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/install.py | python3

🗑️ Uninstall

Windows (PowerShell):

curl -o uninstall.py https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/uninstall.py; python uninstall.py

Windows (CMD):

curl -o uninstall.py https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/uninstall.py && python uninstall.py

Linux/macOS:

curl -sSL https://raw.githubusercontent.com/teodorgross/ollama-discord-presence/main/uninstall.py | python3

✨ Features

🔄 Real-time Updates
Shows active Ollama models instantly

💾 System Info
Displays RAM, VRAM, and GPU details

🎨 Auto GPU Icons
NVIDIA/AMD/Intel logos automatically

⚙️ Background Service
Runs silently, starts with system

🖥️ Cross-Platform
Windows, macOS, Linux support

📊 Rich Display
Model name, version, hardware stats


🖼️ What You'll See

Rich Presence Preview Rich Presence Preview

  • Line 1: Current model name
  • Line 2: System RAM and GPU VRAM
  • Icons: GPU brand detection
  • Tooltips: Ollama version and hardware details

⚙️ Custom Discord App (Optional)

Want to use your own Discord application? Edit config.json:

{
  "clientId": "your-discord-app-id-here"
}
  1. Create app at Discord Developer Portal
  2. Upload assets: ollama, nvidia, amd, intel, gpu
  3. Copy Application ID to config
  4. Restart service

🔧 Requirements

  • 🐍 Python 3.7+
  • 💬 Discord Desktop App
  • 🦙 Ollama installed

📝 Logs & Debug

Logs Location:

  • Windows: %USERPROFILE%\.ollama\discord\logs.txt
  • Linux/Mac: ~/.ollama/discord/logs.txt

Debug Mode:

python ollama_presence.py --debug

💡 For Ollama Team

This project demonstrates the value of Discord Rich Presence integration for Ollama users. Consider implementing native Discord RPC support in the main Ollama application to enhance user experience and community engagement.

Benefits:

  • Increased visibility of Ollama usage
  • Better community interaction
  • Enhanced user status sharing
  • No external dependencies needed

Made with ❤️ for the Ollama community

About

Discord Rich Presence integration for Ollama - Shows current model, RAM/VRAM usage, and system info with auto GPU detection

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages