Skip to main content
CommunicationDocumentedScanned

table-image

Generate images from tables for better readability in messaging apps like Telegram.

Share:

Installation

npx clawhub@latest install table-image

View the full skill documentation and source below.

Documentation

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 
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

  • [tablesnap repo]()