Repository avatar
AI Tools
v0.1.1
active

renderdock

io.github.haitao-66/renderdock

Render Markdown, HTML, URLs, or templates to polished PDF and PNG files

Documentation

RenderDock

Agent-native rendering API — turn Markdown, HTML, and JSON into polished PDFs and screenshots. One API, built for AI agents, automations, and developers.

Repository layout

PathWhat it is
docs/architecture.mdTechnical architecture and decisions
landing/Static landing page + waitlist (served by static-server.js for local preview)
static-server.jsZero-dependency Node static server (waitlist writes to landing/waitlist.json)
api/Rendering API — Fastify + Playwright, keys + metering (SQLite)
mcp/MCP server (@renderdock/mcp) — gives agents a render tool
n8n-node/n8n community node (n8n-nodes-renderdock)
tools/node/Local Node 24 toolchain (gitignored)
.claude/launch.jsonPreview configuration for the Claude desktop app

Quick start

# landing preview (node tools/node/node.exe)
node static-server.js            # http://localhost:4321

# API
cd api
npm install && npx playwright install chromium
npm run create-key               # prints an API key
npm start                        # http://127.0.0.1:8787

curl -X POST http://127.0.0.1:8787/v1/render \
  -H "Authorization: Bearer <key>" \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello", "format": "pdf"}' -o out.pdf

# MCP server (needs the API running + a key)
cd mcp
npm install
RENDERDOCK_API_KEY=<key> node src/index.js   # stdio transport
node test/run-test.mjs <key>                # smoke test

Week 1 tasks

  • Name + domain availability (renderdock.dev)
  • Project scaffold + git
  • Architecture doc
  • Landing page + waitlist (local preview)
  • Initial commit

Week 2 tasks

  • Local Node toolchain (Node 24.22.3 in tools/node/)
  • API scaffold: renderer core (markdown/html/url/template → pdf/png)
  • Markdown print theme (api/themes/report.css)
  • API key auth, rate limit, monthly quota (node:sqlite)
  • SSRF guard for URL rendering
  • End-to-end render test (api/test/e2e.mjs, 10/10)
  • Commit

Week 3 tasks

  • Website live on renderdock.dev (Cloudflare Pages) with pricing + legal pages
  • MCP server (mcp/, smoke-tested end to end)
  • First blog post (/blog/markdown-to-pdf-for-ai-agents/)
  • Waitlist form fallback (mailto on static hosting)
  • MCP directory listings (PulseMCP, Glama)
  • Waitlist backend (Pages Function + KV) — pending KV token permission
  • Email forwarding for hello@renderdock.dev

Week 4 (in progress)

  • n8n community node (n8n-node/, plain JS, syntax-checked)
  • API docs page live at /docs/
  • Waitlist Pages Function (landing/functions/waitlist.js) — needs KV binding
  • n8n community node listing
  • Beta recruitment posts (Reddit, X)
  • GitHub + npm accounts for public distribution
NPM
@renderdock/mcp
Install Command
npm install @renderdock/mcp