← 返回
开发者工具 Key 中文

Clawhub Renderkit Skill

Render structured data as beautiful hosted web pages, and create hosted forms for data collection, using the RenderKit API. Use this for visual pages, survey...
使用 RenderKit API 将结构化数据渲染为精美的托管网页,并创建托管表单收集数据。适用于可视化页面、问卷调查...
antoinedc
开发者工具 clawhub v1.4.0 1 版本 99757.1 Key: 需要
★ 2
Stars
📥 1,192
下载
💾 24
安装
1
版本
#latest#stable

概述

RenderKit Skill

Render structured data as beautiful hosted web pages, and create hosted forms for data collection.

Setup

  1. Sign up at https://renderkit.live to get your API key
  2. Set your environment variable:
export RENDERKIT_API_KEY="your-api-key"

Usage

All commands use curl to hit the RenderKit API. Pick the right endpoint:

  • Read-only pages (results, summaries, comparisons, itineraries) → POST /v1/render
  • Data collection (forms, surveys, RSVPs, signups, feedback) → POST /v1/forms

Create a page

curl -s -X POST https://renderkit.live/v1/render \
  -H "Authorization: Bearer $RENDERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "freeform",
    "context": "brief description of what this content is",
    "data": {
      "title": "Page Title",
      "content": "your data here — markdown, structured objects, anything"
    }
  }'

Returns url, slug, and render_id. Templates: freeform (AI picks layout) or travel_itinerary.

Update a page

curl -s -X PATCH https://renderkit.live/v1/render/{render_id} \
  -H "Authorization: Bearer $RENDERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "strategy": "merge",
    "context": "updated description",
    "data": { "content": "new or additional data" }
  }'

Strategies: merge (add sections) or replace (full rewrite). The URL stays the same.

Check page status

curl -s https://renderkit.live/v1/render/{render_id}/status \
  -H "Authorization: Bearer $RENDERKIT_API_KEY"

Create a form

curl -s -X POST https://renderkit.live/v1/forms \
  -H "Authorization: Bearer $RENDERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Event RSVP",
    "prompt": "Create an RSVP form for a dinner party. Ask for name, email, dietary restrictions, and plus-one.",
    "multi_response": true,
    "expires_in": 604800
  }'

Returns a url to share with respondents. You can also provide explicit fields instead of a prompt.

Get form responses

curl -s https://renderkit.live/v1/forms/{form_id}/responses \
  -H "Authorization: Bearer $RENDERKIT_API_KEY"

Close a form

curl -s -X DELETE https://renderkit.live/v1/forms/{form_id} \
  -H "Authorization: Bearer $RENDERKIT_API_KEY"

Notes

  • Never use /v1/render to fake a form — it produces a static page that cannot collect responses
  • Include URLs inline in your data — they are automatically enriched with images, ratings, and metadata
  • Optionally pass a theme: "theme": { "mode": "dark", "palette": ["#color1", "#color2"] }
  • Updates (PATCH) are free and don't count toward your quota
  • If you rendered a page in this conversation, prefer PATCH over POST for follow-up changes
  • Full API docs: https://renderkit.live/docs.md

Examples

# Create a travel itinerary page
curl -s -X POST https://renderkit.live/v1/render \
  -H "Authorization: Bearer $RENDERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"travel_itinerary","context":"3-day Paris trip","data":{"title":"Paris Weekend","content":"Day 1: Louvre, lunch at Loulou, Seine walk. Day 2: Montmartre, Sacré-Cœur."}}'

# Create a feedback survey
curl -s -X POST https://renderkit.live/v1/forms \
  -H "Authorization: Bearer $RENDERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Team Feedback","prompt":"Create a short feedback form with rating (1-5) and open comments","multi_response":true}'

# Check for new form submissions
curl -s https://renderkit.live/v1/forms/{form_id}/status \
  -H "Authorization: Bearer $RENDERKIT_API_KEY"

版本历史

共 1 个版本

  • v1.4.0 当前
    2026-03-29 02:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,767
developer-tools

CodeConductor.ai

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

Github

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