← 返回
数据分析

Table Image

Generate images from tables for better readability in messaging apps like Telegram. Use when displaying tabular data.
将表格转换为图片,提升Telegram等通讯应用中的可读性。适用于展示表格数据。
joargp
数据分析 clawhub v1.0.0 1 版本 99388.1 Key: 无需
★ 1
Stars
📥 3,391
下载
💾 19
安装
1
版本
#latest

概述

Table Image Skill

Render markdown tables as PNG images for messaging platforms that don't support markdown tables.

Prerequisites

Install tablesnap:

go install github.com/joargp/tablesnap/cmd/tablesnap@latest

Or build from source:

git clone https://github.com/joargp/tablesnap.git
cd tablesnap
go build -o tablesnap ./cmd/tablesnap

Usage

echo "| Header 1 | Header 2 |
|----------|----------|
| Data 1   | Data 2   |" | tablesnap -o /tmp/table.png

Then send with MEDIA:/tmp/table.png

Options

FlagDefaultDescription
----------------------------
-istdinInput file
-ostdoutOutput file
--themedarkTheme: dark or light
--font-size14Font size in pixels
--padding10Cell padding in pixels

Emoji Support

Bundled (work out of the box): ✅ ❌ 🔴 🟢 🟡 ⭕ ⚠️

Full emoji (one-time download):

tablesnap emojis install

Unsupported emoji render as □ until full set is installed.

Example Workflow

# Create table image
echo "| Task | Status |
|------|--------|
| Build | ✅ |
| Deploy | 🚀 |" | tablesnap -o /tmp/table.png

# Send in reply
MEDIA:/tmp/table.png

Notes

  • Dark theme by default (matches Telegram/Discord dark mode)
  • Auto-sizes to fit content
  • Output ~10-20KB (messaging-friendly)
  • Cross-platform (Inter font embedded)

Links

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 11:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

News Summary

joargp
当用户询问新闻更新、每日简报或天下大事时使用此技能。从受信任的国际RSS源获取新闻,并可生成语音摘要。
★ 136 📥 55,890
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,842
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,658