toutiao-publisher▌
guanyang/super-publisher · updated Apr 8, 2026
Publish articles to Toutiao with persistent login and browser-based publishing.
- ›One-time QR code login with automatic session persistence; subsequent publishes use saved credentials without re-authentication
- ›Interactive publishing mode opens authenticated browser directly to the publish page, or fully automated mode via command-line arguments (title, content file, cover image)
- ›Automatic title optimization to meet Toutiao's 2–30 character requirement; truncates or pads as needed
- ›Se
Toutiao Publisher Skill
Manage Toutiao (Today's Headlines) account, maintain persistent login session, and publish articles.
When to Use This Skill
Trigger when user:
- Asks to publish to Toutiao/Today's Headlines
- Wants to manage Toutiao login
- Mentions "toutiao" or "头条号"
Core Workflow
Step 1: Authentication (One-Time Setup)
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:
- Run the setup command.
- A browser window will open loading the Toutiao login page.
- Log in manually (e.g., scan QR code).
- Once logged in (redirected to dashboard), the script will save the session and close.
Step 2: Publish Article
# Opens browser with authenticated session at publish page
python scripts/run.py publisher.py
Instructions:
- Run the publisher command.
- Browser opens directly to the "Publish Article" page.
- Write and publish the article manually.
- Press
Ctrl+Cin 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).
Advanced Usage (Automated)
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
Management
# Check authentication status
python scripts/run.py auth_manager.py status
# Clear authentication data (logout)
python scripts/run.py auth_manager.py clear
Technical Details
- Persistent Auth: Uses
patchrightto launch a persistent browser context. Cookies and storage state are saved todata/browser_state/state.json. - Anti-Detection: Uses
patchright's stealth features to avoid bot detection. - Environment: Automatically manages a virtual environment (
.venv) with required dependencies.
Script Reference
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.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★74 reviews- ★★★★★Harper Gill· Dec 12, 2024
toutiao-publisher has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Hana Farah· Dec 12, 2024
Registry listing for toutiao-publisher matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Advait Dixit· Dec 12, 2024
Keeps context tight: toutiao-publisher is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Aarav Verma· Dec 12, 2024
Solid pick for teams standardizing on skills: toutiao-publisher is focused, and the summary matches what you get after install.
- ★★★★★Chaitanya Patil· Dec 8, 2024
Solid pick for teams standardizing on skills: toutiao-publisher is focused, and the summary matches what you get after install.
- ★★★★★Charlotte Kim· Dec 4, 2024
toutiao-publisher is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Piyush G· Nov 27, 2024
We added toutiao-publisher from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Mateo Harris· Nov 23, 2024
Useful defaults in toutiao-publisher — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Hana Nasser· Nov 19, 2024
toutiao-publisher reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Kwame Shah· Nov 3, 2024
toutiao-publisher fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 74