Loading...
Loading...
Publish articles to Toutiao (Today's Headlines). Handles persistent authentication (login once) and session management. Opens browser for interactive publishing.
npx skill4agent add guanyang/super-publisher toutiao-publisher# Browser will open for manual login (scan QR code)
python scripts/run.py auth_manager.py setup# Opens browser with authenticated session at publish page
python scripts/run.py publisher.pyCtrl+CNote: Toutiao requires titles to be 2-30 characters. This tool automatically optimizes titles to fit this constraint (truncating if >30, padding if <2).
# 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 clearpatchrightdata/browser_state/state.jsonpatchright.venvscripts/auth_manager.pyscripts/publisher.pyscripts/run.py