Skip to main content

Multi-platform social media automation CLI — publish to Douyin, XHS, Bilibili, Weibo and 8+ platforms from your terminal

Project description

慧媒引擎 CLI (huimei)

多平台社媒自动化发布工具 — 一个命令发布到抖音/快手/B站/小红书/微博等11个平台。

安装

方式1: pip (推荐)

pip install huimei
playwright install chromium

方式2: pipx (隔离环境)

pipx install huimei
playwright install chromium

方式3: 一键脚本

curl -fsSL https://raw.githubusercontent.com/huimei-engine/huimei-cli/main/install.sh | bash

快速开始

# 登录
huimei login

# 查看支持的平台
huimei platforms

# 查看已绑定账号
huimei account list

# 查看状态
huimei status

AI Agent 集成 (MCP Server)

huimei 内置 MCP Server,可供 Claude Code / Hermes / OpenCode 等 AI Agent 直接调用:

Claude Code 配置

{
  "mcpServers": {
    "huimei": {
      "command": "huimei-mcp-server",
      "args": []
    }
  }
}

Hermes Agent 配置

mcp_servers:
  huimei:
    command: huimei-mcp-server

可用工具

工具 说明
huimei_login 登录账号
huimei_status 查看状态
huimei_logout 登出
huimei_platforms 列出支持平台
huimei_accounts 列出绑定账号
huimei_publish 创建发布任务

架构

CLI (本地) ──HTTP──► Java后端 (云端)
  │                    │
  ├─ Playwright        ├─ 账号管理
  ├─ Cookie本地存储    ├─ 任务调度
  └─ 住宅IP执行       └─ 订阅计费

CLI 是后端的远程执行器(手臂),所有业务决策由后端(大脑)做出。

开发

git clone <repo>
cd huimei-cli
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huimei-0.1.2.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huimei-0.1.2-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file huimei-0.1.2.tar.gz.

File metadata

  • Download URL: huimei-0.1.2.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for huimei-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8c9a09f69fefa70f543414e402bec7a130fc7a8450efdf3406b0d3fecd0d2c08
MD5 4275ca23585dd517fd0fdf5c23221ef5
BLAKE2b-256 edb329cac186bb1a499c0a4dc411f0c03dbcec3895df596e45fe56469a1d25e7

See more details on using hashes here.

File details

Details for the file huimei-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: huimei-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for huimei-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba85332f6c1ccc59e5ce9f39c9feb94f41ee288cd6b9fee43797272f0289a880
MD5 d15ff150ad5f842f32089f0afd6eb5be
BLAKE2b-256 2a2cfcba9635b57d38ae149fec7fc37b5a2413e2635848444e83b248abf2c9f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page