HN 표시: md.page – 에이전트가 Markdown을 작성하면 URL을 얻습니다.

hackernews | | 📦 오픈소스
#ai agents #api #claude #markdown #review #self-host #show hn
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

md.page는 마크다운 텍스트를 공유 가능한 URL로 변환해 주는 100% 무료 오픈소스 서비스입니다. 별도의 회원가입이나 인증 키 없이 CLI 명령어나 API 요청만으로 간편하게 문서를 발행할 수 있으며, 생성된 링크는 보안을 위해 24시간이 지나면 자동으로 만료됩니다. 특히 Cursor, Claude 등 AI 코딩 에이전트와의 연동을 돕는 MCP 및 프롬프트를 제공하여 AI가 작성한 마크다운을 즉각적으로 공유하는 데 최적화되어 있습니다. 사용자는 Cloudflare 기반으로 구동되는 이 서비스를 직접 자체 호스팅하여 활용할 수도 있습니다.

본문

100% free. No signup. Auto-expires in 24h. Website · AI Agents · API · Self-Host The easiest way to use md.page is through your AI coding agent. Just ask it to "share this" or "publish this markdown" and it creates a link for you. Install the md.page skill: npx skills add maypaz/md.page npx clawhub@latest install publish-to-mdpage For agents that support MCP (Cursor, Claude Desktop, VS Code, and others), add md.page as a tool server: { "mcpServers": { "mdpage": { "command": "npx", "args": ["-y", "mdpage-mcp"] } } } See mcp/README.md for full setup instructions. Copy this prompt into any AI agent that can make HTTP requests: From now on, whenever I ask you to share or publish a markdown file, use the md.page API to create a shareable HTML page. Send a POST request to https://md.page/api/publish with the body {"markdown": ""} and return the shareable URL to me. npx mdpage-cli README.md Published → https://md.page/a8Xk2m Expires in 24h One command, zero setup. # Publish and copy URL to clipboard npx mdpage-cli README.md --copy # Publish and open in browser npx mdpage-cli notes.md --open # Pipe from stdin cat CHANGELOG.md | npx mdpage-cli # Install globally for faster access npm i -g mdpage-cli mdpage-cli README.md Create a shareable page from markdown. curl -X POST https://md.page/api/publish \ -H "Content-Type: application/json" \ -d '{"markdown": "# Hello World\nYour markdown here..."}' { "url": "https://md.page/a8Xk2m", "expires_at": "2026-03-28T12:00:00.000Z" } | Status | Description | |---|---| 201 | Created successfully | 400 | Missing or invalid markdown field | 413 | Content too large (max 500KB) | View a published page. Returns rendered HTML. - One command — npx mdpage-cli README.md and you're done - Beautiful — clean typography, code blocks, tables, responsive design - Short URLs — md.page/a8Xk2m (6-character IDs) - Private — links are unguessable, only people with the URL can view - Auto-expiry — pages self-delete after 24 hours - No auth — no accounts, no API keys, just send markdown - AI agent friendly — designed to work with any AI agent or LLM md.page runs on Cloudflare Workers with KV storage. Deploy your own instance: - Cloudflare account (free tier works) - Node.js 18+ # Clone the repo git clone https://github.com/maypaz/md.page.git cd md.page # Install dependencies npm install # Create a KV namespace npx wrangler kv namespace create PAGES # Update wrangler.toml with your KV namespace ID # Deploy npx wrangler deploy npm run dev # → http://localhost:8787 - Runtime: Cloudflare Workers - Storage: Cloudflare KV - Markdown: markdown-it Contributions are welcome! See CONTRIBUTING.md for guidelines.

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →