Skip to content

Metadata

appdevelpo edited this page Apr 14, 2026 · 1 revision

Metadata & Manifest

Every Miru extension must start with a metadata block in the form of Javascript comments.

Example

// ==MiruExtension==
// @name         Example Extension
// @version      v1.0.0
// @author       YourName
// @lang         en
// @license      MIT
// @icon         https://example.com/favicon.ico
// @package      com.example.extension
// @type         bangumi
// @webSite      https://example.com
// @description  A brief description of this extension.
// @apiVersion   2
// @tags         anime,english
// ==/MiruExtension==

Fields

  • @package: The unique identifier for your extension. Must match the filename (e.g., com.example.js).
  • @type: The media type served: bangumi (video), manga (images), or fikushon (text).
  • @apiVersion: Use 2 for the modern API, or 1 for legacy.
  • @webSite: The base URL for relative network requests.
  • @lang: The language of the content provided.

Clone this wiki locally