toutiao-publisher by guanyang/super-publisher
npx skills add https://github.com/guanyang/super-publisher --skill toutiao-publisher管理头条号(今日头条)账户,维持持久登录会话,并发布文章。
当用户出现以下情况时触发:
此技能需要一次性登录。会话将被持久化以供后续使用。
# 浏览器将打开以进行手动登录(扫描二维码)
python scripts/run.py auth_manager.py setup
操作说明:
# 在发布页面使用已认证的会话打开浏览器
python scripts/run.py publisher.py
操作说明:
Ctrl+C。注意: 头条要求标题为 。此工具会自动优化标题以满足此限制(超过 30 个字符则截断,少于 2 个字符则填充)。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
您可以通过提供参数完全自动化发布过程:
# 使用标题、内容文件和封面图片进行发布
python scripts/run.py publisher.py --title "AI Trends 2025" --content "article.md" --cover "assets/cover.jpg" --headless
# 检查身份验证状态
python scripts/run.py auth_manager.py status
# 清除身份验证数据(登出)
python scripts/run.py auth_manager.py clear
patchright 启动持久化浏览器上下文。Cookie 和存储状态保存到 data/browser_state/state.json。patchright 的隐身功能以避免被检测为机器人。.venv)。scripts/auth_manager.py:处理登录、会话验证和状态持久化。scripts/publisher.py:启动已认证的浏览器进行发布。scripts/run.py:确保在正确的虚拟环境中执行的包装器。每周安装量
441
代码仓库
GitHub 星标数
7
首次出现
2026年1月23日
安全审计
安装于
opencode426
codex424
gemini-cli418
cursor417
github-copilot414
amp412
Manage Toutiao (Today's Headlines) account, maintain persistent login session, and publish articles.
Trigger when user:
The skill requires a one-time login. The session is persisted for subsequent uses.
# Browser will open for manual login (scan QR code)
python scripts/run.py auth_manager.py setup
Instructions:
# Opens browser with authenticated session at publish page
python scripts/run.py publisher.py
Instructions:
Ctrl+C in the terminal when done.Note: Toutiao requires titles to be 2-30 characters. This tool automatically optimizes titles to fit this constraint (truncating if >30, padding if <2).
You can fully automate the publishing process by providing arguments:
# Publish with title, content file, and cover image
python scripts/run.py publisher.py --title "AI Trends 2025" --content "article.md" --cover "assets/cover.jpg" --headless
# Check authentication status
python scripts/run.py auth_manager.py status
# Clear authentication data (logout)
python scripts/run.py auth_manager.py clear
patchright to launch a persistent browser context. Cookies and storage state are saved to data/browser_state/state.json.patchright's stealth features to avoid bot detection..venv) with required dependencies.scripts/auth_manager.py: Handles login, session validation, and state persistence.scripts/publisher.py: Launches authenticated browser for publishing.scripts/run.py: Wrapper ensuring execution in the correct virtual environment.Weekly Installs
441
Repository
GitHub Stars
7
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
opencode426
codex424
gemini-cli418
cursor417
github-copilot414
amp412
营销心理学与心智模型应用指南 | 提升营销决策与客户行为理解
37,100 周安装
Rust调用关系图生成器 - 可视化函数调用层次结构,提升代码分析效率
539 周安装
parallel-web-extract:并行网页内容提取工具,高效抓取网页数据
595 周安装
腾讯云CloudBase AI模型Web技能:前端调用混元/DeepSeek模型,实现流式文本生成
560 周安装
Apollo Connectors 模式助手:GraphQL API 连接器开发与集成指南
565 周安装
GitHub Trending 趋势分析工具:实时发现热门项目、技术洞察与开源机会
556 周安装
GSAP React 集成教程:useGSAP Hook 动画库与 React 组件开发指南
546 周安装