Skip to content
mediausePublic

About

MediaUse Site Plugins Examples

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

MediaUse Site Plugins Examples

Open-source site plugin examples for MediaUse

Reusable manifests, browser workflows, and page-side scripts for website-specific capabilities.

English  |  简体中文

Site Plugin Creation Skill  ·  Plugin Build Guide  ·  MediaUse  ·  Apache 2.0 License

Apache 2.0 YAML and JavaScript

Overview · Plugin Layout · Examples · Installing a Plugin · Agent Skill · Build and Validation


Overview

This repository contains site plugin source assets and examples for MediaUse. It does not include the MediaUse CLI, runtime, or other core code.

Each plugin describes website-specific commands and the browser workflows behind them. A compatible MediaUse runtime loads these assets and makes the declared capabilities available to its callers.

Plugins in this repository are source folders, not standalone applications or npm packages. Their main building blocks are:

  • manifest.yaml — plugin metadata, command definitions, and parameter schemas.
  • workflows/ — YAML workflows that compose browser actions into operations.
  • scripts/ — optional JavaScript helpers for page-side logic.
  • tests/ — regression case examples, where provided.

Plugin Layout

<site>/
├── manifest.yaml
├── workflows/
│   └── *.yaml
├── scripts/
│   └── *.js
└── tests/
    └── cases.test.yaml

The exact files vary by site. Some existing plugins do not yet include a tests/ directory; new examples should add regression cases where practical.

Examples

Plugin Example capabilities Source
Bilibili Account, search, read, user, and engagement workflows manifest.yaml
Xiaohongshu Posting, search, feed, and user workflows manifest.yaml
LinkedIn Search, profile, and Sales Navigator workflows manifest.yaml

These are examples of the plugin format; the exact commands available depend on each manifest and the consuming runtime.

Installing a Plugin

Use a compatible MediaUse CLI to install a plugin from this repository. The --path value can point either to the plugin collection root (which contains <site>/) or directly to a site's folder (which contains manifest.yaml).

From the root of a local clone:

mediause plugin add bilibili --path .

To pass the site folder directly:

mediause plugin add bilibili --path ./bilibili

The CLI validates the manifest and referenced files, then copies the complete plugin folder to the MediaUse user data directory at plugins/<site>. If that user-installed directory already exists for the same site id, a valid new source replaces it. Verify availability with:

mediause plugin list
mediause bilibili --help

Without --path, mediause plugin add <site> only reports a plugin that is already available; it does not install files from this repository.

Using a Plugin

A compatible MediaUse runtime is required to execute a plugin. Site commands follow this general form:

mediause <site> <capability> <action> [args]

For example, a runtime that has loaded the Bilibili plugin can expose a command such as:

mediause bilibili search video --query "MediaUse"

Build and Validation

Plugin modules are authored as YAML and JavaScript source assets. This repository has no standalone compiler, CLI, or root build script; there is no local binary to build here.

See the Plugin Build Guide for the recommended authoring, validation, runtime smoke-test, and delivery steps.

Agent Skill: Site Plugin Creation

This repository includes an on-demand Copilot skill for creating or updating site plugins. It guides the agent through live-site research, DSL-compliant manifests and workflows, page-side scripts, regression cases, and evidence-based validation. The skill is scoped to plugin assets; it does not create MediaUse runtime or core code.

Example request:

Create a plugin for https://www.google.com/ 

About

MediaUse Site Plugins Examples

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages