Headless OpenClaw Setup with Discord via Docker Scripts

✍️ OpenClawRadar📅 Published: April 1, 2026🔗 Source
Headless OpenClaw Setup with Discord via Docker Scripts
Ad

A developer has shared scripts on GitHub to set up OpenClaw with Discord in a headless Docker environment, specifically designed to work without the TUI or WebUI interfaces, which can be problematic with screen readers.

Key Details

The repository at https://github.com/chigkim/easyclaw includes a Docker image (ghcr.io/openclaw/openclaw:latest) and a management script called claw. The script supports commands: claw [init|config|log|start|stop|restart|build|update|run|dashboard].

OpenClaw runs inside a container isolated from the host, with the ~/.openclaw folder mounted on the host for persistent assets. A dashboard is accessible from outside the container.

The setup is preconfigured with OpenAI Responses API to run with various engines/model setups. It includes:

  • Chromium browser inside the container for the agent
  • MarkItDown MCP for agents to convert various files to markdown
  • Playwright for Node.js
  • UV for Python
  • FFmpeg
Ad

Setup Steps

First, fill out claw.toml with configuration like this:

[models.providers.oai]
baseUrl = "http://localhost:8080/v1"
apiKey = "api-key"
[[models.providers.oai.models]]
id = "qwen3.5-35b-a3b-q8_0"
name = "qwen3.5-35b"
input = ["text", "image"]
contextWindow = 32768
maxTokens = 8192

[agents.defaults] timeoutSeconds = 600 maxConcurrent = 1 [agents.defaults.subagents] maxConcurrent = 1

[channels.discord] token = "DISCORD_BOT_TOKEN" server_id = "1234"

Then run claw init . to initialize. If the bot is properly configured on your Discord server, you can interact with it on the server. The author notes it has "pretty relaxed rules for Discord, so make your bot private!"

📖 Read the full source: r/LocalLLaMA

Ad

👀 See Also

Codeset improves coding agents with repo-specific context from git history
Tools

Codeset improves coding agents with repo-specific context from git history

Codeset generates static files from git history that provide context like past bugs, root causes, and co-change relationships. Testing showed 5.3pp improvement on codeset-gym-python and 2pp on SWE-Bench Pro with OpenAI Codex.

OpenClawRadar
Claude Code Plan Mode Reduces Redo Rate from 40% to Near Zero
Tools

Claude Code Plan Mode Reduces Redo Rate from 40% to Near Zero

A developer tracked 30+ coding sessions with Claude Code and found that skipping Plan Mode resulted in redoing tasks from scratch 40% of the time. With Plan Mode, the redo rate dropped to basically zero, with one feature taking 17 minutes total versus 35+ minutes without planning.

OpenClawRadar
EmoBar: Visualizing Claude's Internal Emotion Vectors from Anthropic Paper
Tools

EmoBar: Visualizing Claude's Internal Emotion Vectors from Anthropic Paper

A developer built EmoBar, an open-source tool that visualizes the 171 internal emotion representations in Claude identified in Anthropic's recent paper. The tool uses a dual-channel approach to surface these measurable vectors that causally drive model behavior.

OpenClawRadar
Travel Hacking Toolkit: AI Skills and MCP Servers for Points and Miles Search
Tools

Travel Hacking Toolkit: AI Skills and MCP Servers for Points and Miles Search

A GitHub repository provides 7 markdown skills and 6 MCP servers that teach Claude Code and OpenCode to search award flights across 25+ mileage programs, compare cash prices, pull loyalty balances, and find hotels and ferries. Setup requires cloning the repo and running setup.sh.

OpenClawRadar