From 6104321d56433d1a33dca29cf1ea6a01dbcb9278 Mon Sep 17 00:00:00 2001 From: JoshuaRileyDev <59296334+JoshuaRileyDev@users.noreply.github.com> Date: Fri, 30 Jan 2026 00:57:29 +0000 Subject: [PATCH] feat: add Moltbot template (#683) * feat: add Moltbot template Add template for Moltbot - a WhatsApp gateway CLI with Pi RPC agent. - Uses official ghcr.io/moltbot/moltbot:latest image - Exposes ports 18789 (gateway) and 18790 (bridge) - Includes persistent volumes for config and workspace - Auto-generates gateway token - Optional Claude AI integration support Co-Authored-By: Claude * Update docker-compose.yml * Enhance Moltbot configuration in docker-compose and template files - Added CLAWDBOT_GATEWAY_URL and OPENROUTER_API_KEY to docker-compose.yml - Updated service binding to 'auto' and added init: true for improved service management - Defined CLAWDBOT_GATEWAY_PORT and CLAWDBOT_BRIDGE_PORT in template.toml - Included CLAWDBOT_PLUGINS for plugin configuration in template.toml * Add Moltbot entry to meta.json - Introduced a new entry for Moltbot, a WhatsApp gateway CLI with Pi RPC agent. - Included details such as version, description, logo, links, and relevant tags for better discoverability and integration. --------- Co-authored-by: Claude Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Co-authored-by: Mauricio Siu --- blueprints/moltbot/docker-compose.yml | 35 ++++++++++++++++ blueprints/moltbot/moltbot.svg | 60 +++++++++++++++++++++++++++ blueprints/moltbot/template.toml | 18 ++++++++ meta.json | 21 ++++++++++ 4 files changed, 134 insertions(+) create mode 100644 blueprints/moltbot/docker-compose.yml create mode 100644 blueprints/moltbot/moltbot.svg create mode 100644 blueprints/moltbot/template.toml diff --git a/blueprints/moltbot/docker-compose.yml b/blueprints/moltbot/docker-compose.yml new file mode 100644 index 00000000..e0014a7a --- /dev/null +++ b/blueprints/moltbot/docker-compose.yml @@ -0,0 +1,35 @@ +services: + moltbot-gateway: + image: ghcr.io/moltbot/clawdbot:2026.1.24-1 + environment: + HOME: /home/node + TERM: xterm-256color + CLAWDBOT_GATEWAY_TOKEN: ${CLAWDBOT_GATEWAY_TOKEN} + CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY} + CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY} + CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE} + CLAWDBOT_GATEWAY_URL: ws://0.0.0.0:18789 + OPENROUTER_API_KEY: ${OPENROUTER_API_KEY} + volumes: + - moltbot-config:/home/node/.clawdbot + - moltbot-workspace:/home/node/clawd + ports: + - "18789" + - "18790" + init: true + restart: unless-stopped + command: + [ + "node", + "dist/index.js", + "gateway", + "--bind", + "auto", + "--port", + "18789", + "--allow-unconfigured" + ] + +volumes: + moltbot-config: + moltbot-workspace: \ No newline at end of file diff --git a/blueprints/moltbot/moltbot.svg b/blueprints/moltbot/moltbot.svg new file mode 100644 index 00000000..7bfb7fc4 --- /dev/null +++ b/blueprints/moltbot/moltbot.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blueprints/moltbot/template.toml b/blueprints/moltbot/template.toml new file mode 100644 index 00000000..06072a68 --- /dev/null +++ b/blueprints/moltbot/template.toml @@ -0,0 +1,18 @@ +[variables] +gateway_token = "${password:32}" + + +[config] +[[config.domains]] +serviceName = "moltbot-gateway" +port = 18789 +host = "${domain}" + +[config.env] +CLAWDBOT_GATEWAY_TOKEN = "${gateway_token}" +CLAWDBOT_GATEWAY_PORT = 18789 +CLAWDBOT_BRIDGE_PORT = 18790 +CLAWDBOT_GATEWAY_BIND="lan" +CLAWDBOT_PLUGINS="discord,memory-core" +# Get here https://openrouter.ai/ +OPENROUTER_API_KEY="YOUR-API-KEY" diff --git a/meta.json b/meta.json index 7e59e5a0..12173567 100644 --- a/meta.json +++ b/meta.json @@ -4026,6 +4026,27 @@ "scheduling" ] }, + { + "id": "moltbot", + "name": "Moltbot", + "version": "2026.1.25", + "description": "WhatsApp gateway CLI with Pi RPC agent - self-hosted AI-powered messaging platform", + "logo": "moltbot.svg", + "links": { + "github": "https://github.com/moltbot/moltbot", + "website": "https://molt.bot", + "docs": "https://docs.molt.bot" + }, + "tags": [ + "whatsapp", + "ai", + "messaging", + "chatbot", + "gateway", + "self-hosted", + "automation" + ] + }, { "id": "morphos", "name": "Morphos",