markdown-editor-with-chat
oleh musketyr
Coding Agents & IDEsRingkasan
Lightweight markdown editor with optional OpenClaw gateway chat.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- 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
Instalasi
clawhub install musketyr/markdown-editor-with-chatJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.