Add Clawdbot AI Agent Gateway EdgeApp - #18
Draft
paulotruta wants to merge 6 commits into
Draft
Conversation
- Adds Clawdbot as a containerized Edgebox app - Centralized gateway for WhatsApp, Telegram, Discord, and iMessage - Supports local client connections via Bridge protocol - Configurable via Edgebox dashboard (channel tokens, model selection) - Exposes ports 18789 (Gateway), 18790 (Bridge), 18793 (Canvas) - Persistent configuration and workspace storage - Comprehensive documentation and configuration templates
paulotruta
force-pushed
the
feat/add-clawdbot-app
branch
from
January 21, 2026 20:17
35e400f to
1a556bf
Compare
- Remove src/ (nginx config, install files - not needed for Clawdbot) - Remove edgebox-hosts.txt (template artifact) - Remove edgebox-postinstall.sh/txt (not used) - Remove .run marker file - Remove appdata/ (local test artifacts) Keeps only essential files for production deployment
- First line: 'clawd' (hostname) - Second line: empty (required for hosts file parsing) - Essential for accessing dashboard at clawd.local
- Changed bind from 0.0.0.0 (invalid) to 'lan' - Added gateway.mode=local to config template - Removed invalid gateway.bind and channels.whatsapp.enabled keys - Tested successfully in Multipass VM isolation
- Created init-clawdbot.sh script for automatic agent setup - Reads CLAWDBOT_AGENT_NAME and CLAWDBOT_AGENT_MODEL from env vars - Falls back to sensible defaults (agent name 'Clawd', model 'opus-4.5') - Idempotent - only runs if agent doesn't already exist - Updated entrypoint to call init script before starting gateway - Updated Dockerfile to include and run init script App now starts fully configured without manual onboarding!
- Set bind to 'lan' for network accessibility - Added default auth token 'clawd-default-token' - Required for proper WebSocket connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds Clawdbot as a new Edgebox app - a containerized AI agent gateway that integrates WhatsApp, Telegram, Discord, and iMessage.
What's Included
Features
✅ Centralized messaging gateway (WhatsApp, Telegram, Discord, iMessage)
✅ Bridge protocol for iOS/Android Clawdbot app pairing
✅ Canvas host for WebView asset serving
✅ Dashboard configuration UI for channel setup
✅ Persistent config and workspace storage
✅ Health checks and proper signal handling
✅ Multi-agent support for different use cases
Ports Exposed
Configuration
Users can configure via the Edgebox dashboard:
Integration Notes
./ws -b)Testing
Local testing can be done with:
Access at: http://clawd.local
References