MatrixMedia
hanliang97/MatrixMedia
Electron and CLI tool for batch video publishing to Chinese platforms, callable by agents
MatrixMedia is an Electron desktop app and command-line tool that publishes videos in batches to Chinese short-video platforms. Its CLI is designed to be called by agents such as Hermes Agent.
What MatrixMedia does
MatrixMedia, known in Chinese as 矩媒, is built for operators who run many accounts across Chinese social platforms. The GUI manages accounts and publishing, while the CLI automates eight platforms: Douyin, Kuaishou, Baijiahao, Bilibili, Toutiao, WeChat Channels, Xiaohongshu and Fanqie Video. The file argument accepts a local path or an http(s) URL, which is downloaded and cleaned up after upload. CLI login supports Douyin and WeChat Channels through a terminal QR code.
The README describes the CLI as framework-agnostic: any tool that can call a shell and read exit codes or JSON on stdout can drive it, and it names Hermes, OpenClaw, Claude Code, Codex, Cursor, Dify and n8n among others. Subcommands are login, publish, publish-article, accounts and history. While the GUI is running, a POST to 127.0.0.1:30088/publish triggers a publish, and an MCP server in the mcp folder exposes seven tools for listing accounts, publishing and reading account stats.
Key features
- Batch video publishing to eight Chinese platforms
- CLI subcommands login, publish, publish-article, accounts and history, with JSON output for accounts and history
- Local HTTP API at 127.0.0.1:30088/publish while the GUI is running
- MCP server with seven tools, including publish_video and get_account_stats
- Real-browser publish mode for Xiaohongshu using local Chrome or Chromium
- Windows, macOS and CLI support
When to use it
- Posting one video to many accounts and platforms in a single run
- Letting an agent call a publish command from a scheduled task
- Checking publish history and account stats from a script
Who it is for: Content operators and agencies managing multi-platform short-video accounts, including those who drive publishing from an AI agent.
How it fits with Hermes Agent
A general publishing tool that names Hermes among the agents able to call its CLI as an external command. The repository is also tagged hermes-skill.
How to install MatrixMedia
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
cd mcp && npm install && npm run buildRequirements: Windows or macOS for the desktop app; each platform account logged in through the GUI before publishing through MCP
Note: Publishing through MCP requires logging in to each platform in the GUI first, and the documentation is mainly in Chinese.
FAQ
What is MatrixMedia?
MatrixMedia is an Electron app and CLI for publishing videos in batches to eight Chinese platforms, including Douyin, Kuaishou, Bilibili and Xiaohongshu. It also offers an HTTP API and an MCP server.
Does MatrixMedia work with Hermes Agent?
Yes, as an external command. The README lists Hermes among the agents that can call the CLI through a shell, using exit codes and JSON output.
How do I connect MatrixMedia to an AI agent through MCP?
Build the MCP server in the mcp folder, then add a node command pointing at mcp/dist/index.js with the MATRIXMEDIA_DIR variable set to the repository root. All platform logins must be completed in the GUI first, because the MCP server runs headless.
Similar automations for Hermes Agent
All automationsLocal bots that build microapps for your workflows and run on Claude Code, Codex, Hermes or OpenClaw
indranilbanerjee Digital Marketing ProOpen-source AI marketing plugin with 164 skills and 24 agents that installs on Hermes Agent and others
unifapi-agent UnifAPI AgentsRead-only marketing agents as SKILL.md skills: SEO audits, AI visibility, local SEO and KOL pricing
Tommy-yw RunbookHermesHermes-based AIOps agent for evidence-driven incident response and approval-gated remediation
markfulton AI EmployeesEight open source business roles with 60 scheduled routines that run on the AI agent you already use
TradingAi666 TzFilm Douyin ToolHourly Douyin creator-data export for macOS with a Hermes Agent skill and Telegram push
Related guides: Build agent teams with the Hermes kanban board · How to run Hermes Agent securely