explaingit

liuzhijie443/yd-mclaw

Analysis updated 2026-05-18

39Audience · ops devopsComplexity · 3/5Setup · hard

TLDR

A Chinese-language deployment guide for MClaw, a tool to configure an AI model, set up Cloudflare Tunnels, and manage SSH access inside a self-hosted container.

Mindmap

mindmap
  root((MClaw))
    What it does
      Model switching
      Container deployment
      Tunnel setup
    Tech stack
      Cloudflare Tunnel
      SSH dropbear
      Bash scripts
    Use cases
      Remote container access
      Model reconfiguration
      App management
    Audience
      Container operators
      Self hosters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Deploy a self-hosted container with cloudflared and SSH access already configured.

USE CASE 2

Switch the AI model used by an OpenClaw instance without redeploying.

USE CASE 3

Expose a container web UI and SSH port through a Cloudflare Tunnel.

What is it built with?

Cloudflare TunnelSSHBashNode.js

How does it compare?

liuzhijie443/yd-mclawaa2448208027-code/localaihotswapahxn00/owntv
Stars393939
LanguagePythonKotlin
Setup difficultyhardmoderateeasy
Complexity3/53/52/5
Audienceops devopsdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a Cloudflare account, a Tunnel token, and an existing container to deploy into.

No license information is provided in the README.

In plain English

This repository is a usage and deployment guide for MClaw, a tool for managing a mobile cloud drive container setup. It documents how to swap the underlying AI model, deploy the project, set up Cloudflare Tunnels for exposing services without a public IP, manage installed applications inside the container, and configure the container to start automatically after a reboot. The main audience is end users who already have a MClaw container running and want step by step instructions for common tasks. The guide walks through editing a configuration file to point the container at a different AI model by setting values for baseUrl, apiKey and model. It also explains how to download a deployment guide text file, fill in variables such as a gateway auth token, model connection details, and a Cloudflare Tunnel token, then hand that file to MClaw so it can carry out the deployment itself. Once deployed, the setup installs cloudflared for tunneling and a small SSH server called dropbear on port 2222, along with startup and watchdog scripts that keep services running and restart them automatically after a container reboot. The guide also covers configuring Cloudflare Tunnel routes so the OpenClaw web interface and SSH access are both reachable from outside the container, and shows the exact commands needed to tunnel an SSH connection to a local port and then connect with a normal ssh client. A troubleshooting section explains what to do if MClaw becomes unresponsive, how to ask it to manage installed programs, how to change configuration values after the fact, and how to install extra software. The README notes that resetting MClaw only wipes its own memory and configuration folder, not other data on the container. It also mentions optionally installing extra utilities afterward, such as a scheduled task panel, a file listing tool, and a proxy utility. The documentation is written entirely in Chinese and assumes the reader is already running this container setup through a specific hosting arrangement referenced in the text. There is no license or code structure described beyond the deployment steps themselves.

Copy-paste prompts

Prompt 1
Help me edit /home/node/.openclaw/openclaw.json to change the baseUrl, apiKey and model, then restart openclaw.
Prompt 2
Run bash /home/node/startall.sh to restore all services after a reset.
Prompt 3
Show me the programs currently managed by startall.sh and their status.
Prompt 4
Set up a Cloudflare Tunnel route for the OpenClaw WebUI on port 18789.

Frequently asked questions

What is yd-mclaw?

A Chinese-language deployment guide for MClaw, a tool to configure an AI model, set up Cloudflare Tunnels, and manage SSH access inside a self-hosted container.

What license does yd-mclaw use?

No license information is provided in the README.

How hard is yd-mclaw to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is yd-mclaw for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.