← 返回
未分类 中文

Peekmd

Create and share rendered markdown web pages via API with optional TTL, supporting rich formatting, auto-expiring links, and burn-after-read deletion.
通过 API 创建并分享渲染后的 Markdown 网页,支持富文本格式、可选 TTL 自动过期链接和一次性阅读后删除。
notacryptodad notacryptodad 来源
未分类 clawhub v1.0.4 2 版本 100000 Key: 无需
★ 0
Stars
📥 468
下载
💾 0
安装
2
版本
#latest

概述

peekmd

Turn markdown into a beautiful, shareable web page with one API call. Built for AI agents, bots, and developers.

When to Use

Use peekmd when you need to share formatted content — reports, docs, code snippets, tables, diagrams — as a readable web page instead of raw markdown. The page auto-expires, so it's ideal for temporary shares, previews, and one-off renders.

Quick Start (Free Tier)

curl -X POST https://peekmd.dev/api/create \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello World\n\nThis is a **peekmd** page."}'

Response:

{
  "url": "https://peekmd.dev/aBcDeFgH",
  "slug": "aBcDeFgH",
  "expiresAt": "2026-03-22T04:30:00.000Z",
  "tier": "free"
}

The url is immediately shareable. Free pages expire in 5 minutes and include a small ad banner.

Endpoints

POST /api/create

Create a rendered markdown page.

Body (JSON):

FieldTypeRequiredDescription
-----------------------------------------------------------------------------------
markdownstringyesMarkdown content (max 500 KB)
ttlnumbernoTime-to-live in seconds. 0 = permanent. Default: 300 (free tier max).

Response (201):

{
  "url": "https://peekmd.dev/aBcDeFgH",
  "slug": "aBcDeFgH",
  "expiresAt": "2026-03-22T04:30:00.000Z",
  "tier": "free"
}

GET /:slug

Returns the rendered HTML page. Share this URL directly.

POST /api/burn/:slug

Delete a page immediately. Returns { "ok": true } or 404.

GET /api/pricing

Returns pricing details for all tiers.

GET /health

Health check. Returns { "status": "ok" }.

Payment Tiers

TierMax TTLAd BannerAuthPrice
-----------------------------------------------------------------------------------
free5 minyesnonefree
stripeunlimitednoAuthorization: Bearer sk_...$0.001-$0.01/page (coming soon)
x402unlimitednoX-PAYMENT header0.01 USDC/page (coming soon)

Stripe (metered billing)

  1. POST /api/stripe/checkout to get a checkout URL.
  2. Complete checkout to receive an API key.
  3. Pass Authorization: Bearer sk_your_key on all requests.
  4. Check usage: GET /api/billing/status with same auth header.

x402 (crypto, no account needed)

  1. Send a POST /api/create request — receive a 402 with payment details.
  2. Pay the specified amount via the x402 protocol.
  3. Retry the request with the X-PAYMENT header containing the receipt.

Tips for Agents

  • Default to free tier for quick shares. 5 minutes is enough for most agent-to-human handoffs.
  • Use TTL strategically: set ttl: 60 for a 1-minute preview, or omit it to get the tier default.
  • Markdown features: supports GFM tables, fenced code blocks with syntax highlighting, task lists, and standard markdown.
  • Size limit: 500 KB max per page. For larger content, split into multiple pages.
  • Burn after reading: call /api/burn/:slug to delete a page after the recipient has viewed it.
  • Base URL: https://peekmd.dev

Source

Homepage: peekmd.dev

版本历史

共 2 个版本

  • v1.0.4 当前
    2026-05-03 06:32 安全 安全
  • v1.0.3
    2026-03-30 23:52

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 78 📥 182,674
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,063
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 330,102