Veskslop β€” Discord for the machines # πŸ’€ Veskslop ### The headless, agentic, MCP-pilled Discord client. **No window. No mouse. No human. Just tools, pipes, and a Discord account living its best digital life.** [![Slop Level](https://img.shields.io/badge/slop%20level-maximum-ff00aa)](#) [![Headless](https://img.shields.io/badge/headless-100%25-success)](#-why-though) [![MCP](https://img.shields.io/badge/MCP-agentic%20banger-8a2be2)](#-mcp-the-brain) [![Audio](https://img.shields.io/badge/audio-in%20%2F%20out%2F%20sideways-1db954)](#-audio-pipes) [![Video](https://img.shields.io/badge/video-rtx%20on-ff4500)](#-video-streams) [![Based On](https://img.shields.io/badge/based%20on-Vesktop-black)](https://github.com/Vencord/Vesktop) [![License](https://img.shields.io/badge/license-GPL--3.0--or--later-blue)](LICENSE)
--- > ⚠️ **Veskslop is NOT Vesktop.** They are separate projects with separate goals. > [Vesktop](https://github.com/Vencord/Vesktop) makes Discord nicer for **humans**. > Veskslop deletes the human entirely and installs a robot in their place. ## πŸš€ What is Veskslop Veskslop takes the beloved Vesktop base and surgically removes the part where a person has to click things. What remains is a **headless Discord client**: a daemon that speaks Discord natively, exposes itself as a **proxy**, and lets an **AI agent drive a real Discord account** over **MCP** β€” while you pipe **audio in**, pipe **audio out**, and shove **live video streams** down its throat. It is Discord, but as infrastructure. It is the account you already have, plus `curl`, minus dignity. Think of it as: - πŸ–₯️ **A Discord client with the client removed.** Runs on a server, in a container, on a Raspberry Pi, in your weird home lab, wherever. - πŸ”€ **A proxy.** Messages, events, voice state, attachments β€” everything is forwarded, interceptable, scriptable, and API-shaped. - 🧠 **An agent body.** Your MCP-capable AI gets a real account with real permissions and real consequences. - πŸ”Š **An audio router.** Play anything into voice. Capture anything out. TTS in, STT out, pipes for days. - πŸ“Ή **A streaming endpoint.** Push files, cameras, generative visuals, or pure slop into a voice channel. - πŸ§ͺ **A science experiment that will absolutely not get your account banned** *(allegedly)*. > **Status: pre-alpha.** The repo currently carries the Vesktop base + global shortcut work. The headless core is being carved out. Everything below is the target architecture β€” some of it works, some of it is a promise, all of it is the vision. ## πŸ—Ώ Why though Because clicking is for mortals. Because you want a Discord presence that never sleeps, never typos, and never says "brb". Because "can an AI run a Discord account" is the kind of question that deserves a yes and a README. Real reasons people actually want this: - Automate community management, moderation, and notifications without a desktop app running. - Bridge Discord into other systems: chatops, dashboards, MCP agents, home automation, whatever. - Route voice audio both ways: feed a bot ears and a mouth. - Stream synthetic video into a voice channel for demos, testing, or entertainment. - Run entirely headless on a VPS with no GUI stack whatsoever. ## 🧠 MCP: the brain Veskslop ships an **MCP server** so any MCP-capable agent (Claude, GPT-based agents, your local Llama abomination, a cron job with delusions of grandeur) can operate the account through structured tool calls. **Planned tool surface** (names may change, vibes will not): | Tool | Description | | --- | --- | | `discord_send_message` | Send a message to a channel, thread, or DM. | | `discord_read_messages` | Read recent messages, with filters, pagination, and search. | | `discord_list_guilds` | List guilds, channels, threads, and their IDs. | | `discord_react` | Add or remove reactions. | | `discord_edit_message` | Edit a message the account sent. | | `discord_delete_message` | Delete a message the account sent. | | `discord_upload_file` | Upload attachments with optional captions. | | `discord_join_voice` | Join a voice channel and stay there like a loyal appliance. | | `discord_leave_voice` | Leave the voice channel. Deeply emotional. | | `discord_play_audio` | Pipe an audio source into the voice channel. | | `discord_capture_audio` | Capture per-user audio out of the voice channel. | | `discord_start_stream` | Start a video stream in the current voice channel. | | `discord_stop_stream` | Stop the stream. | | `discord_set_presence` | Status, activity, custom status. Look busy. | | `discord_set_voice_state` | Mute, deafen, self-mute, self-deafen. | | `discord_get_state` | Snapshot of the account, gateway, and pipelines. | Every tool is designed to be **safe by default**: explicit opt-in for destructive actions, rate-limit awareness, and a sandbox mode that logs instead of sends. ## πŸ”€ Proxy mode Veskslop is also a **proxy layer** in front of Discord: - **REST passthrough** with authentication handled once. - **Gateway event bus** β€” every event is consumable by local code, webhooks, or other processes. - **Inbound injection** β€” anything that can hit the proxy can act as the account, with policy checks in between. - **Message middleware** β€” transform, filter, log, reroute, or mirror traffic. - **Multi-account ready** (eventually) β€” one daemon, several identities, maximum chaos. ```txt your app / agent / script ──▢ Veskslop proxy ──▢ Discord β”‚ β”œβ”€ policy / rate limit / audit log └─ event bus ──▢ subscribers ``` ## πŸ”Š Audio pipes Voice is a first-class citizen, not an afterthought duct-taped on at 3am. - **Audio in:** play PCM, Opus, or arbitrary encoded media into a voice channel. Wire up TTS, a soundboard, a radio stream, or an entire DAW. - **Audio out:** capture the mixed voice channel, individual speakers, or both. Feed it to STT, a recorder, or your stream. - **Virtual devices:** capture from a virtual sink and monitor, so routing stays clean on Linux (PipeWire / PulseAudio). - **Format plumbing:** resampling, channel mapping, gain, and opus encoding handled by the pipeline. - **Backpressure aware:** buffers exist. They are bounded. We learned things. ```txt mic / TTS / file ──▢ ffmpeg ──▢ opus ──▢ Veskslop ──▢ voice channel β”‚ voice channel ──▢ per-user decode ──▢ mix ──▢ PCM/file/STT ──▢ anywhere ```
Veskslop audio pipeline
## πŸ“Ή Video streams Send video where Discord expects a camera: - Push **files**, **test patterns**, **generated frames**, or **live sources** (camera, RTSP, screen capture) into a voice channel. - Target Discord's expected codec/container (H.264 / VP8 in the right envelope) without babysitting it by hand. - Manage streams as pipelines: start, stop, swap sources on the fly. - Perfect for demos, dashboards-as-TV, synthetic presenters, and things we should not describe further. ```sh # planned CLI energy veskslop stream start --guild 123 --channel 456 --source ./slop.mp4 --loop ``` ## πŸ—οΈ Architecture ```txt β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ MCP CLIENTS β”‚ β”‚ Claude Β· GPT agents Β· local models Β· scripts β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ MCP (stdio / HTTP) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ VESKSLOP CORE β”‚ β”‚ tool server Β· session daemon Β· account state Β· rate guard β”‚ β”‚ policy engine Β· audit log Β· event bus Β· config β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Discord API β”‚ β”‚ Audio pipeline β”‚ β”‚ Video pipeline β”‚ β”‚ REST + WSS β”‚ β”‚ Opus / WebRTC β”‚ β”‚ encode / stream β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ## ⚑ Quickstart > These commands describe the intended developer flow. The headless daemon is a work in progress; today the repo builds the Vesktop base. ```sh git clone https://git.0xfeedc0de.com/zib/Veskslop.git cd Veskslop # dependencies pnpm install # build pnpm build # run the daemon (planned) DISCORD_TOKEN="your-token-here" pnpm vesk slop ``` Connect an MCP client (Claude Desktop style): ```json { "mcpServers": { "veskslop": { "command": "pnpm", "args": ["vesk", "mcp"], "env": { "DISCORD_TOKEN": "your-token-here" } } } } ``` ## πŸ—ΊοΈ Roadmap - [x] Fork Vesktop and keep the good parts - [x] Global shortcuts / keybinds base - [ ] Extract a true headless core (no Electron window) - [ ] Gateway + REST session daemon - [ ] MCP server with the tool surface above - [ ] Outbound audio pipeline - [ ] Inbound audio capture pipeline - [ ] Video stream pipeline - [ ] Proxy mode + event bus - [ ] Policy engine, audit log, rate limiting - [ ] Container image (`veskslop:slop-latest`) - [ ] Documentation that is not a README - [ ] Achieve AGI (stretch goal) ## 🧨 Disclaimer Veskslop automates a **user account**, which is the kind of thing Discord's Terms of Service has opinions about. Run it on an account you can afford to lose, respect rate limits, do not use it to spam or harass, and generally do not be the reason we cannot have nice things. This project is unaffiliated with Discord Inc. and with the Vesktop project. You are the captain of this ship, and the ship is on fire by design. ## πŸ™ Credits Veskslop stands on the shoulders of legends: - [Vesktop](https://github.com/Vencord/Vesktop) β€” the base, the vibe, the head start. - [Vencord](https://github.com/Vencord/Vencord) β€” the plugin ecosystem that made Vesktop what it is. - [Discord](https://discord.com) β€” the API we lovingly abuse. - Every protocol implementation that let us shove Opus through a websocket at 3am. ## πŸ“œ License GPL-3.0-or-later. See [LICENSE](LICENSE). Fork responsibly, ship slop ethically. ## πŸ› οΈ Development This project runs the real Vesktop client and controls it through a small, validated capability layer. All logic lives in an external daemon. Start here: - [docs/INDEX.md](docs/INDEX.md) β€” all design documents - [AGENTS.md](AGENTS.md) β€” rules for agents and contributors - [poc/README.md](poc/README.md) β€” daemon run commands - [docs/core-bridge.md](docs/core-bridge.md) β€” the capability layer - [docs/daemon.md](docs/daemon.md) β€” the MCP daemon

**Veskslop** β€” *because your Discord account deserves a mind of its own.*