📂 File BrowserNavigate your whole workspace in a clean web UI
📝 Rendered MarkdownSyntax highlighting, tables, table of contents
✏️ In-Browser EditingEdit and save files directly from your phone
🔄 Live ReloadSee when your AI edits a file, one tap to refresh
What you need

A machine running OpenClaw (Mac Mini, VPS, etc.), Python 3, and Tailscale on all devices you want to access from.

🤖 Agent Part 1: Send to your AI agent

Send your OpenClaw / Claude agent this message. It will fetch the instructions and set everything up automatically.

Send this to your AI agent
Follow the setup instructions at https://www.alexyao.me/guides/markdown-viewer-setup.md

That's it. The .md file contains step-by-step instructions your AI agent can read and execute: install dependencies, write the server script, set up persistence (systemd or launchd), and verify it's running.

What the agent does
  1. Installs the Python markdown library
  2. Creates the server script (~150 lines of Python)
  3. Configures persistence (auto-start on reboot)
  4. Starts the server and verifies it's running
  5. Reports the Tailscale IP and access URL

👤 You Part 2: Connect your devices

Your agent handles the server. You just connect your other devices to the same Tailscale network.

1. Install Tailscale everywhere

Sign in with the same account on each device.

DeviceInstall
Mac Mini (host)brew install tailscale or download
MacBookbrew install tailscale or download
iPhoneApp Store

2. Verify devices see each other

tailscale status

All devices should appear with 100.x.x.x addresses. Note your host machine's IP.

3. Open the viewer

http://[YOUR-TAILSCALE-IP]:8787

Your agent will have given you this URL when it finished setup.

4. Bookmark it

iPhone: Safari > Share > Add to Home Screen
MacBook: Bookmark in your browser

How it works

┌─────────────┐ ┌──────────────────┐ │ iPhone │ │ Host Machine │ │ MacBook │ ── Tailscale ───> │ md-server.py │ │ │ encrypted │ ~/clawd/ │ └─────────────┘ └──────────────────┘

Troubleshooting

ProblemFix
Can't connect from other devicesIs Tailscale running? tailscale status
Can ping but page won't loadIs the server running? curl http://localhost:8787
Import error on startuppip3 install markdown
Port already in uselsof -i :8787
Files not showingCheck MD_ROOT env var

Resources

FileDescription
Setup instructions (.md)AI-readable instructions with full script inline
About this guide

Built by Alex Yao. The whole viewer is ~150 lines of Python. Part of the OpenClaw ecosystem.