MediaUse Docs
Plugin Intro
Learn how to install and use site plugins for MediaUse.
Site Plugin Overview
Every target website in MediaUse is encapsulated as a Site Plugin. Plugins use a declarative DSL (Domain Specific Language) to map complex web operations into semantic commands.
- Declarative: Define 'what' instead of 'how' using YAML workflows.
- Isolated: Each site has its own scripts, auth flow, and command schema.
- Portable: Same plugin works across CLI, MCP, and Web interfaces.
Install and Use
Plugins are managed via the core plugin command. Currently, plugins are bundled or added to the local registry.
# List all available and installed plugins mediause plugin list --json # Add a specific site plugin mediause plugin add weibo --json # After adding, inspect its capabilities mediause weibo -h
Site Commands Showcase
MediaUse plugins expose semantic actions across different websites. Here are some real-world examples:
# Weibo: Search hot topics mediause weibo search hot --limit 10 --json # Twitter: Post a new tweet mediause twitter post feed --text "Launch update" --json # Red (Xiaohongshu): Get note details mediause xiaohongshu get detail --url <note_url> --json # Bilibili: Search videos by keyword mediause bilibili search video --keyword "MediaUse" --json # Douyin: Get user profile details mediause douyin get profile --id <user_id> --json