Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

markdown-editor-with-chat

bởi musketyr

Coding Agents & IDEs
461Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Lightweight markdown editor with optional OpenClaw gateway chat.

Mô tả

Kỹ năng này làm gì

A local Node.js server that serves markdown files from any directory you point it at. Includes a browser-based editor with live preview and optional AI chat via OpenClaw gateway. No database, no external dependencies.

Running entirely on localhost with no database means setup is a single command and files stay in whatever directory structure you already use.

Khi nào nên dùng

  • Editing a folder of markdown notes in the browser
  • Browsing and updating OpenClaw pearls locally
  • Running a personal wiki from a git-tracked directory
  • Adding AI chat assistance while writing documentation
  • Quick local documentation browser for a project

Quy trình ví dụ

ĐẦU VÀO

User asks: start the editor for my notes folder

AGENT
  1. 1

    Runs node scripts/server.mjs --folder /path/to/notes --port 3333

  2. 2

    Server reads the directory and lists all markdown files

  3. 3

    User opens http://localhost:3333 in browser

  4. 4

    User selects a file, edits it with live preview

  5. 5

    Server saves the file back to disk via PUT /api/files/:path

ĐẦU RA

Edited markdown file saved to the local filesystem

Yêu cầu

  • MARKDOWN_DIR environment variable or --folder CLI argument pointing to a local directory
  • OPENCLAW_GATEWAY_URL and OPENCLAW_GATEWAY_TOKEN if using the chat feature

Cài đặt

clawhub install musketyr/markdown-editor-with-chat

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết