markdown-editor-with-chat
بواسطة musketyr
Coding Agents & IDEsموجز
Lightweight markdown editor with optional OpenClaw gateway chat.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
User asks: start the editor for my notes folder
- 1
Runs node scripts/server.mjs --folder /path/to/notes --port 3333
- 2
Server reads the directory and lists all markdown files
- 3
User opens http://localhost:3333 in browser
- 4
User selects a file, edits it with live preview
- 5
Server saves the file back to disk via PUT /api/files/:path
Edited markdown file saved to the local filesystem
المتطلبات
- 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
التثبيت
clawhub install musketyr/markdown-editor-with-chatشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.