Github Release Analyzer
自动分析 GitHub 仓库发布内容并生成摘要,支持手动与定时任务模式。
下载 15
基于LangGraph的AI内容生成与多平台发布系统,支持飞书等平台集成。
openclaw skills install @brandonwadepackard-cell/social-media-platform命令、参数、文件名以原文为准
构建一个完整的社交媒体管理平台,具备插件架构、AI 驱动的内容生成和多平台发布功能。
┌─────────────────────────────────────┐
│ 前端(5个页面) │
│ 仪表盘│撰写│日历│分析│设置│
├─────────────────────────────────────┤
│ API 层(FastAPI) │
│ 文章 CRUD│发布│日历│AI│
├─────────────────────────────────────┤
│ 插件注册中心(按平台划分) │
│ Twitter│Instagram│YouTube│Facebook│TikTok│手动模式│
├─────────────────────────────────────┤
│ LangGraph 内容处理流程 │
│ 语音输入→调研→草稿→优化→保存│
├─────────────────────────────────────┤
│ Supabase(6张表) │
└─────────────────────────────────────┘创建 6 张数据表:
social_posts — id, platform, content, status(草稿/已预约/已发布/失败), media_urls, published_at, post_url, engagement_metrics(JSONB)platform_connections — id, platform, account_name, credentials(JSONB), status, scopescontent_calendar — id, post_id(外键), scheduled_for, platform, statusbrand_voices — id, name, description, tone, example_phrases(JSONB 数组), is_defaultsocial_analytics — id, post_id(外键), platform, impressions, clicks, likes, shares, comments, fetched_atpublish_queue — id, post_id(外键), platform, status, retry_count, error_message初始化 3-5 种品牌语调。示例语调:
基类设计模式:
class SocialPlugin:
platform: str
def validate_credentials(self, creds: dict) -> bool
def publish(self, content: str, media_urls: list = None) -> dict
def get_analytics(self, post_id: str) -> dict
def format_content(self, content: str, max_length: int) -> str
class PluginRegistry:
_plugins: dict[str, SocialPlugin] = {}
def register(self, plugin: SocialPlugin)
def get(self, platform: str) -> SocialPlugin
def list_active(self) -> list[str]各平台具体实现:
/ {page_id} / feed。/ {ig_user_id} / media,再通过 / {ig_user_id} / media_publish 发布。必须包含图片。六节点流程图:
load_voice → research_context → generate_drafts → optimize_per_platform → finalize → ENDsocial_posts 表,状态设为“草稿”核心路由(约 19 个):
GET/POST /api/social/posts — 文章的增删改查POST /api/social/posts/{id}/publish — 向指定平台发布内容GET/POST /api/social/calendar — 日历视图与排期功能GET /api/social/analytics — 聚合数据分析GET/POST /api/social/voices — 品牌语调管理GET/POST /api/social/connections — 平台凭证管理POST /api/social/generate — AI 内容生成(触发 LangGraph 流程)5 个页面,共享深色主题外壳(侧边栏导航、顶部栏):
credentials JSONB 字段中已收录 1 个 Skill