← 返回
效率工具 中文

Mixtiles It

Send a photo to Mixtiles for ordering wall tiles. Use when a user forwards/sends a photo and wants to order it as a Mixtile, add it to their Mixtiles cart, o...
发送照片至 Mixtiles 以订购墙砖。当用户转发或发送照片并希望将其订购为 Mixtile 或加入购物车时使用。
saharcarmel
效率工具 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 915
下载
💾 20
安装
1
版本
#latest#mixtiles#photos

概述

Mixtiles It

Turn any photo into a Mixtiles order link. User sends a photo (or image URL) → get back a ready-to-order Mixtiles cart link.

How It Works

  1. User sends/forwards a photo or image URL
  2. Run the upload script to get a public URL and Mixtiles cart link
  3. Send the cart link back — user taps it to customize and order

Usage

# Single photo
python3 scripts/mixtiles-cart.py <local-file-or-url> [--size SIZE]

# Multiple photos (one cart link with all photos)
python3 scripts/mixtiles-cart.py --batch <image1> <image2> ... [--size SIZE]

The script handles:

  • Local files: Uploads to Cloudinary (the only host Mixtiles can display from)
  • URLs: Downloads first, then uploads to Cloudinary
  • Batch mode: Uploads all images and builds a single multi-photo cart URL
  • Output: Prints the Mixtiles cart URL to stdout

Size Options

Default is RECTANGLE_12X16. Other known sizes from Mixtiles:

  • SQUARE_8X8 — Classic square
  • RECTANGLE_12X16 — Portrait rectangle (default)
  • RECTANGLE_16X12 — Landscape rectangle

Environment Variables (optional)

  • CLOUDINARY_CLOUD — Cloudinary cloud name (default: demo)
  • CLOUDINARY_PRESET — Cloudinary unsigned upload preset (default: unsigned)
  • MIXTILES_UPLOAD_URL — Override the upload API endpoint (Railway fallback)
  • MIXTILES_UPLOAD_KEY — Override the upload API key (Railway fallback)

Workflow

When a user sends a photo with intent to mixtile it:

  1. Identify the image file path (from media attachment) or URL
  2. Run: python3 /scripts/mixtiles-cart.py
  3. Send the resulting URL to the user with a brief message like "Here's your Mixtiles link! 🖼️ Tap to customize size, frame, and order."

If multiple photos are sent, use --batch to create a single cart link with all photos:

python3 /scripts/mixtiles-cart.py --batch ...

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 08:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,116
developer-tools

I Love You Mom

saharcarmel
自动化每月从WhatsApp群组收集照片,使用视觉技术精选最佳照片,构建多照片Mixtiles购物车的流程
★ 0 📥 916
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,730