--- name: wip-markdown-viewer description: Live markdown viewer for AI pair-editing. When you collaborate, the updates render instantly. Works with any AI agent and web browser. homepage: https://github.com/wipcomputer/wip-markdown-viewer metadata: { "openclaw": { "emoji": "📝", "requires": { "bins": ["node", "curl"] }, "install": [ { "id": "npm", "kind": "npm", "package": "@wipcomputer/markdown-viewer", "global": true, "bins": ["mdview"], "label": "Install markdown-viewer (npm)", }, ], }, } --- # WIP Markdown Viewer Live markdown viewer for AI pair-editing. When you collaborate, the updates render instantly. Works with any AI agent and web browser. GitHub: [wipcomputer/wip-markdown-viewer](https://github.com/wipcomputer/wip-markdown-viewer) npm: [@wipcomputer/markdown-viewer](https://www.npmjs.com/package/@wipcomputer/markdown-viewer) ## Install ```bash npm install -g @wipcomputer/markdown-viewer ``` This installs the `mdview` command globally. Zero runtime dependencies. Pure Node.js. ## Quick start Start the server (binds to 127.0.0.1 only, never exposed to the network): ```bash curl -s http://127.0.0.1:3000/ > /dev/null 2>&1 || mdview & ``` Open a file in your default browser: ```bash # macOS open "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md" # Linux xdg-open "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md" # Windows start "http://127.0.0.1:3000/view?path=/absolute/path/to/file.md" ``` ## How it works 1. Tell your AI coding tool to install `@wipcomputer/markdown-viewer` globally 2. Tell your AI to open a .md file in md view 3. AI opens the file in your default browser 4. Every save re-renders the page instantly. No refresh needed. Open multiple tabs to work on multiple documents at once. ## Security - Server binds to `127.0.0.1` only. It is not accessible from other machines. - The `/view?path=` parameter reads files from your local filesystem. Use `--root