Skip to content

myrachane/BloatWare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚩 BloatWare

A Discord bot that deeply resents your existence.

YetAnother SoviethGPT MAJOR CHANGES TO BE MADE SOON

Python Discord.py Ollama License

Powered by local LLM. No API costs. No mercy. Pure Soviet energy.


🤔 What is this?

BloatWare is a Discord bot with two defining traits:

  • 🥀 Antisocial to the core — It will respond. It will not be happy about it.
  • 🚩 Soviet-brained — Every reply is filtered through the lens of Marxist theory, collective suffering, and disdain for the bourgeoisie.

It runs fully locally using Ollama + Llama 3.2, meaning zero API costs, zero rate limits, and zero capitalist dependency.


💬 Example Interactions

You say BloatWare says
@BloatWare hi "No. Leave me alone."
@BloatWare I bought a new iPhone "Karl Marx would never. You are feeding the capitalist machine. Shame. 😐"
@BloatWare tell me a joke "Why did the capitalist bring a ladder to work? He wanted to take his exploitation to new heights."
@BloatWare who are you "Spare me the pointless introductions, comrade."
@BloatWare (nothing) "..."

⚙️ Tech Stack

Discord.py  →  handles all Discord events
Ollama      →  runs Llama 3.2 locally (no API key needed)
Docker      →  keeps everything containerised and always online
python-dotenv → manages secrets

🚀 Setup

Prerequisites

  • A VPS or machine with Docker + Docker Compose installed
  • A Discord bot token from the Developer Portal

1. Clone the repo

git clone https://github.com/myrachane/BloatWare.git
cd BloatWare

2. Set up your .env

cp .env.example .env
nano .env

Fill in:

DISCORD_TOKEN=your_discord_bot_token_here

3. Start the containers

docker compose up --build

4. Pull the model

docker compose exec ollama ollama pull llama3.2

5. Restart the bot

docker compose restart bot
docker compose logs -f bot

BloatWare is now online. It is not pleased.


📁 Project Structure

BloatWare/
├── BloatMe/
│   ├── Functions.py
│   └── __init__.py
├── Main.py
├── README.md
├── SECURITY.md
├── docker-compose.yml
├── pyproject.toml
└── requirements.txt


🔧 Configuration

Changing the personality

Open bot/Functions.py and edit the SYSTEM_PROMPT string at the top. Then restart:

docker compose restart bot

Switching models

Change MODEL_NAME in Functions.py to any model you've pulled in Ollama:

MODEL_NAME = "llama3.2"  # or "mistral", "gemma2", etc.

🐳 Docker Details

Both containers run with restart: unless-stopped — they survive reboots and auto-recover from crashes. You never need to manually start them again after the initial setup.

ollama        → runs the LLM, exposed on port 11434
discord-bot   → the bot itself, connects to ollama via internal Docker network

⚠️ Important

  • Never commit your .env file. Your Discord token will be stolen within minutes.
  • The .gitignore already excludes .env — don't remove it.

📜 License

Apache License 2.0 — do whatever you want with it. The proletariat owns this code collectively.


"The philosophers have only interpreted the world. The point, however, is to change it." — Karl Marx, probably while annoyed at someone on Discord

Made with Sovieth disdain (I am not communist 🙂)

About

YetAnother SoviethGPT

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors