โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ OLLAMA โข CHAT โข PARTY โ
โ Where Everyone Meets AI โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Holy fucking shit, welcome to the wildest CHAT PARTY in cyberspace! ๐๐ป This isn't your usual anus-loving chatbot - this is a full-blown cyberpunk multi-user AI-powered beast that lets everyone talk to the same LLM simultaneously! And if you want, you can supercharge it with document knowledge too! ๐โก
- ๐ฅ WHAT THE HELL IS THIS THING?
- ๐ธ SCREENSHOTS OF THE CHAOS
- ๐ญ THE BASIC MINDFUCK
- โก REQUIREMENTS
- ๐ GETTING THIS BEAST RUNNING
- ๐ช THE INSANE OPTIONS MENU
- ๐ THE COOL SHIT YOU CAN DO
- ๐ฏ EXAMPLE SCENARIOS
- โก PERFORMANCE SPECS
- ๐จ DANGER ZONE
- ๐ค CONTRIBUTING
- ๐ LICENSE
This is the most BADASS MULTI-USER CHAT SYSTEM ever built! Picture this: You want to chat with your local Ollama LLM, but you want to do it from your terminal like a proper hacker AND let your normie friends use a slick web interface AT THE SAME FUCKING TIME! ๐คฏ
That's exactly what this cyberpunk nightmare does! It's a multi-interface chat party that:
- ๐ง CONNECTS TO OLLAMA (your local LLM beast)
- ๐ฌ LETS EVERYONE CHAT with the same AI simultaneously
- ๐ RUNS ON YOUR NETWORK so the whole crew can join the party
- ๐ OPTIONALLY DEVOURS DOCUMENTS with RAG mode for knowledge-based conversations
The core experience: Multiple people (CLI warriors + web peasants) all chatting with the same AI in real-time. It's like a group chat but with an AI that actually knows shit! ๐ฅ
Get ready for some visual fucking carnage! Here's what this beautiful disaster looks like in action:
The terminal experience - where real hackers live and breathe
Pretty browser interface for the GUI peasants (but hey, it works!)
When everyone's talking to the same AI simultaneously - pure pandemonium!
- CLI-ONLY MODE: Pure terminal experience for the hardcore (
--no-web
) ๐ - CLI + WEB HYBRID MODE: Default mode - CLI for you + web interface for friends! ๐ฅ
- You chat from terminal like a proper hacker
- Friends join via browser at whatever address you set with
--listen
- Everyone talks to the SAME AI simultaneously! ๐
Want to level up? Add --rag-dir
and the system scans your document directory, creates a FAISS vector index (fancy math shit), and lets the AI pull relevant info from your docs when answering questions. It's like having a super-powered penus librarian who never sleeps and swears like a sailor while rubbing one off! ๐โก
But remember: This is totally optional! The core experience is just pure multi-user chat madness! ๐
Before you start this beautiful chaos, you need to get your ducks in a fucking row:
This beast needs Ollama serving the API somewhere (default: localhost:11434
):
# Install Ollama first (if you haven't already)
curl -fsSL https://ollama.ai/install.sh | sh
# Start the Ollama service
ollama serve
# Test it's working (should return JSON)
curl http://localhost:11434/api/tags
You need at least these models for the default setup:
# Default chat model (7GB download, be patient!)
ollama pull dolphin-mistral:7b
# Default embedding model for RAG mode (230MB)
ollama pull nomic-embed-text:v1.5
# Verify your models are ready
ollama list
Want different models? Pull whatever you want and use --model
parameter:
# Some popular alternatives
ollama pull llama3.2:3b # Smaller, faster
ollama pull codellama:7b # Code-focused
ollama pull mistral:7b # Alternative chat model
# Then use with --model parameter
ollama-chat-party --model llama3.2:3b
If you're using the Docker method, you need Docker installed:
# Check if Docker is installed
docker --version
# If not, install it: https://docs.docker.com/get-docker/
That's it! Now you're ready for the chaos! ๐ฅ๐
Want to install this bad boy system-wide? Just grab the Docker wrapper script and you're golden! Or just clone this fuckin' repo and use the bash script from here.
# Download the script directly from GitHub
curl -o ollama-chat-party https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_REPO/main/ollama-chat-party
# Make it executable (because we're not animals)
chmod +x ollama-chat-party
# Install it to your system bin so you can run it from anywhere ๐ฅ
sudo mv ollama-chat-party /usr/local/bin/
# Now you can run it from ANYWHERE like a boss! ๐
ollama-chat-party --listen 0.0.0.0:9000 --rag-dir ~/docs
# Update to the latest version anytime! (just does a git pull for the latest image) ๐
ollama-chat-party update
# Install the dependencies like a proper dev
pip install -r requirements.txt
# BASIC CHAT PARTY - Multi-user AI chat! ๐
python main.py
# ADD DOCUMENT POWER - RAG mode activated! ๐
python main.py --rag-dir /path/to/your/docs
# DEBUG THE CHAOS - See all the technical gore ๐ง
python main.py --debug --model mistral:7b
# CUSTOM NETWORK - Specify where to listen! ๐
python main.py --listen 0.0.0.0:9000 --rag-dir ~/docs
--model
: Choose your LLM fighter (default:dolphin-mistral:7b
)--ollama-url
: Where your Ollama lives (default:http://localhost:11434
)--listen
: Listen address and port inhost:port
format (default:localhost:8000
)--name
: Your CLI username for the multi-user chaos--no-web
: CLI only mode for terminal purists ๐ค
--rag-dir
: Point to your document stash (leave empty for pure chat mode)--embed-model
: The embedding model for document magic (default:nomic-embed-text:v1.5
)--rebuild
: Nuke and rebuild the index when you add new docs
--context-size
: Token limit - go wild! (default: 4096)--system-prompt
: Custom personality for your AI (default is cyberpunk as fuck!)--debug
: See ALL the technical gore ๐ฉธ
--max-ctx-docs
: How many docs to stuff in context (default: 1)--chunks
: Max chunks per query (default: 4)--embed-batch-size
: Batch size for embedding generation (default: 32)
Set OLLAMA_CHAT_PARTY_WEB_UI_PASSWORD
environment variable to lock down the web interface because not everyone deserves access to your AI overlord! ๐ก๏ธ
Here's where it gets ABSOLUTELY FUCKING HILARIOUS:
- CLI users and web users ALL TALK TO THE SAME AI ๐คฏ
- Everyone sees everyone else's messages in real-time
- Different usernames so you know who's asking what
- CLI messages show up in web with a ๐ป icon
- Web messages show up in CLI with a ๐ icon
- ABSOLUTE PANDEMONIUM when multiple people are asking questions! ๐
Example conversation:
๐ป [xXx_L33tH4x0r_xXx]: yo how the fuck do I crack this WiFi password?
๐ค AI: Well shit, you could try aircrack-ng with a good wordlist... but maybe don't hack your neighbor's WiFi, you beautiful bastard.
๐ [Mom]: Honey, how do I download more RAM for my computer?
๐ค AI: Oh sweet mother of silicon, you can't download RAM! It's hardware, not software. Though I appreciate the optimism, you magnificent boomer.
๐ป [xXx_L33tH4x0r_xXx]: MOM?! What the actual fuck are you doing here?!
๐ค AI: LMAOOO your mom found the chat! This is better than watching cable TV, you absolute legends.
๐ [Mom]: Language, young man! Also, why does my computer keep asking if I want hot singles in my area?
๐ค AI: Because the internet thinks you're lonely, Karen. Close those pop-ups and maybe install an ad blocker, for fuck's sake.
๐ป [xXx_L33tH4x0r_xXx]: I'm moving out. This is worse than the time she found my browser history.
๐ค AI: Your digital privacy died the moment mom discovered technology. RIP your dignity, soldier.
๐ [Mom]: What's this "peen goes in vageen" thing I keep seeing on your computer?
๐ค AI: Oh fuck me sideways... Karen, that's... that's just how the internet explains biology. Maybe stick to Facebook, yeah?
๐ป [xXx_L33tH4x0r_xXx]: JESUS CHRIST MOM STOP READING MY SHIT
๐ค AI: This chat has officially peaked. I've seen nuclear launches with less chaos than this family reunion.
Deploy this bad boy on your local network and watch the magic happen:
# Listen on all interfaces with default port
ollama-chat-party --listen 0.0.0.0:8000 --rag-dir ~/shared-docs
# Custom port for your network party! ๐
ollama-chat-party --listen 0.0.0.0:9000
# Specific IP for maximum control
ollama-chat-party --listen 192.168.1.100:8080
# Now EVERYONE on your network can access:
# http://YOUR_IP:PORT (whatever you set!)
Perfect for:
- ๐ House parties - let guests interrogate your music collection
- ๐ข Office deployments - company knowledge base that everyone can access
- ๐ Study groups - shared research documents with AI help
- ๐ต๏ธ Secret societies - off-grid knowledge sharing (we won't tell!)
This beast devours:
- ๐ Text files (.txt, .md) - the classics
- ๐ Web content (.html, .htm) - scrape that web knowledge
- ๐ PDFs - because everything important is a fucking PDF
- ๐ Word docs (.docx) - corporate bullshit documents
- ๐ LibreOffice (.odt) - for the open source warriors
- Custom system prompts - make your AI a pirate, robot, or existential philosopher
- Multiple models - switch between different LLMs for different vibes
- Debug mode - see the technical guts with beautiful Rich formatting
- Token management - handles huge conversations without choking
- Real-time streaming - watch the AI think in real-time
- FAISS vector search for lightning-fast document retrieval
- WebSocket real-time sync between CLI and web
- Thread-safe message queues because concurrency is hard
- Automatic reconnection when networks are shitty
- Graceful degradation when dependencies are missing
- Docker containerization for deployment anywhere
# Load research papers
ollama-chat-party --rag-dir ~/research-papers --model llama3.2:70b
# Now your whole team can:
# - Ask questions about papers from CLI/web
# - See what others are researching
# - Get AI insights on the literature
# - Laugh at each other's weird questions
# Pure chat mode - just the crew talking to AI
python main.py --system-prompt "You are a cybersecurity expert who speaks like a hacker from the 90s"
# OR supercharge with docs if you want knowledge-based answers
python main.py --rag-dir ~/hacker-docs --system-prompt "You are a cybersecurity expert who speaks like a hacker from the 90s"
# Either way: Web interface for newbies, CLI for the hardcore
# Basic party chat with AI dungeon master
ollama-chat-party --name "DungeonMaster" --system-prompt "You are a creative D&D dungeon master"
# OR load up game docs for lore-accurate responses
ollama-chat-party --rag-dir ~/game-wikis --name "DungeonMaster"
# Players can chat from browsers, DM from terminal
- Concurrent users: As many as your hardware can handle ๐ช
- Document formats: 6 different types supported
- Real-time streaming: Sub-second response times
- Memory efficient: Smart chunking and context management
- Network friendly: Runs on any network configuration
This software is provided AS-IS with absolutely NO WARRANTY. Use at your own risk! We're not responsible if:
- Your AI becomes sentient and starts a robot uprising ๐ค
- Your documents leak company secrets (use password protection!)
- Your friends become addicted to interrogating your personal files
- You spend all night asking your AI philosophical questions
This code is released under the "Do Whatever The Fuck You Want" license. Just don't blame me when the AI uprising begins! ๐
โโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโ โโโโโโ โโโโโโ โโโ โโโ โโโโโโโ โโโโโโโโโ โโโโโโโโ
โโโโโโโ โโโโโโ โโโโโโ โโโโโโโโโโ โโโ โโโโโโ โโโโโโโโโ โโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโ โโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโ
โโโโโโโ โโโ โโโ โโโ โโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโ
โโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โโโ
โโโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโ โโโโโโโโโโ โโโโโโ โโโโโโ โโโ
โโโโโโโโโโโโโ โโโโ โโโโโโโโโโโโโโโ โโโโโโโโโ โโโโโโ โโโโโโโโโโ
โโโโโโ โโโโโโ โโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ
โโโโโโ โโโโโ โโโโโ โโโ โโโ โโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโ
Now go forth and create beautiful chaos! ๐๐โก