← 返回
开发者工具 Key 中文

Daily Social Media Publisher

Daily social media posting with NewsAPI for PayLessTax & LevelUpLove
使用 NewsAPI 为 PayLessTax 和 LevelUpLove 每日发布社交媒体内容
wespeakallday
开发者工具 clawhub v1.0.0 1 版本 99759 Key: 需要
★ 0
Stars
📥 2,484
下载
💾 6
安装
1
版本
#latest

概述

Social Media Publisher Skill

Overview

Automated daily social media posting system that generates content using NewsAPI and UploadPost API with Templated.io image rendering.

Purpose

  • Fetch industry news via NewsAPI
  • Generate branded image posts using Templated.io
  • Publish to social platforms via UploadPost API
  • Schedule daily posts for LevelUpLove and PayLessTax

Input Variables

VariableDescriptionExample
--------------------------------
NEWS_API_KEYNewsAPI.org key92a8bbc150d...
UPLOADPOST_API_KEYUploadPost API keyfrom uploadpost.json
TEMPLATED_IO_KEYTemplated.io API keyfrom templated_io.json
BRANDWhich brand to post"paylesstax" or "leveluplove"
CONTENT_TYPEPost type"news" or "onerliner"
PLATFORMWhere to post"instagram", "facebook", "twitter"

Content Types

News-Based Posts

  1. Scrape latest news via NewsAPI (tax for PayLessTax, relationship for LevelUpLove)
  2. Summarize headline
  3. Generate image via Templated.io
  4. Post via UploadPost API
  5. Schedule next post

One-Liner Pool Posts

  • Rotate through hand-written one-liners from JSON pool
  • Quick generation, no external news fetch
  • Fast turnaround for high-frequency posting

One-Liner Pools

PayLessTax Topics:

  • Tax deadline reminders
  • VAT compliance tips
  • Penalty warnings
  • Professional services CTA

LevelUpLove Topics:

  • Dating advice
  • Relationship tips
  • Gaming/streaming culture
  • Engagement questions

Triggers

Scheduled through OpenClaw:

  • PayLessTax: Every 2 hours during business hours (06:00-18:00)
  • LevelUpLove: Every 3 hours (09:00, 12:00, 15:00, 18:00, 21:00)

APIs & Dependencies

  • NewsAPI.org: Fresh content headlines
  • Templated.io: Image generation via templates
  • UploadPost API: Social media publishing
  • requests: HTTP client
  • Pillow: Image manipulation (fallback)

Image Rendering Flow

  1. Select template from config (paylesstax_ig_post, leveluplove_ig_post)
  2. Replace text layer with news headline or one-liner
  3. Render to PNG via Templated.io
  4. Download and confirm
  5. Upload via UploadPost

Config Files Required

paylesstax_oneliners.json

[
  "Miss the 2026 deadline? Penalties apply automatically.",
  "VAT compliance made simple: We're the shortcut you need."
]

uploadpost.json

{
  "api_key": "...",
  "endpoint": "https://api.upload-post.com/api/upload_photos"
}

templated_io.json

{
  "api_key": "...",
  "templates": {
    "paylesstax": {"template_id": "tpl_xxx"},
    "leveluplove": {"template_id": "tpl_yyy"}
  }
}

Output

{
  "brand": "paylesstax",
  "content_type": "news",
  "headline": "SARS Extends Tax Deadline",
  "image_url": "https://...",
  "post_id": 12345,
  "status": "published",
  "scheduled_next": "2026-03-04T08:00:00"
}

Files

  • index.py - Main posting logic
  • onliners/paylesstax.json - One-liner pool
  • onliners/leveluplove.json - One-liner pool
  • config/uploadpost.example.json - Template config
  • config/templated_io.example.json - Template config

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 00:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

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

Social Media Content Generator

wespeakallday
为LevelUpLove和PayLessTax品牌生成社交媒体帖子。
★ 2 📥 1,095
developer-tools

Gog

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