تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

json-render-table

بواسطة sorphwer

DevOps & Cloud
420التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Render compact generic data tables to PNG images with json-render-cli.

الوصف

ما الذي تفعله هذه المهارة

Converts structured row/column data into PNG table images using json-render-cli. Accepts arbitrary datasets and renders them with configurable column widths, viewport sizing, and light/dark theme modes.

Generates table PNGs programmatically from JSON without needing a spreadsheet app, browser, or manual screenshot.

متى تستخدمها

  • Exporting a JSON dataset as a table screenshot for a report
  • Sharing a formatted data table as an image in a Slack message
  • Rendering API response data as a PNG for documentation
  • Generating a comparison table image for a release email
  • Visualizing database query results as a clean table screenshot

مثال على سير العمل

الإدخال

User asks: render this list of servers and their statuses as a table image

الوكيل
  1. 1

    Check if json-render-cli is installed; install via npm if missing

  2. 2

    Install Chromium via Playwright if not present

  3. 3

    Define column schema and map rows from the dataset

  4. 4

    Pass config via process substitution to json-render-cli with fullPage=true

  5. 5

    Tune viewport width to match column sum and render PNG to /tmp/servers.png

الإخراج

PNG table image saved to /tmp/servers.png with compact layout and system theme

التثبيت

clawhub install sorphwer/json-render-table

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط