Breeze Plugin Development Docs
If you use an AI assistant to write or change plugin code, clone this repository into your workspace so the AI can read the local Markdown — instead of scraping the live site repeatedly.
git clone https://github.com/deretame/plugin-dev-docs.git
If you already have a local copy, run git fetch / git pull before letting the AI read it, so you are not working against outdated docs.
- Repository: github.com/deretame/plugin-dev-docs
- Docs:
docs/guide/(Chinese),i18n/en/docusaurus-plugin-content-docs/current/guide/(English)
Interface and implementation docs for third-party plugin authors.
This documentation focuses on the plugin API contract, page protocol, debugging, and release workflow.
Note
Breeze itself is still under active development, so the docs may not always stay fully up to date.
Prefer the example project as the source of truth for implementation details:
https://github.com/deretame/Breeze-plugin-exampleSuggestions or doc issues can be filed at:
https://github.com/deretame/Breeze/issues
What's Covered
- Start from the example repository
- Runtime API reference (
fetch,bridge,crypto,Temporal, time-focusedIntl,BreezeHtml, etc.) breeze-plugin-kittoolkit guide (types,cache,pluginConfig,opencc, Temporal, Intl, HTML parsing, etc.)- TypeScript types and call semantics for every fnPath
- Scheme + data page protocol
- Local debugging, debug mode, packaging and release
- Pre-delivery checklist
Assumptions
- Plugins run in the QuickJS-NG engine (not Node.js, not a browser)
- Plugins are written in TypeScript
- Node.js 22+
- pnpm 10+ (11+ recommended)
- Build output is a single-file bundle (e.g.
*.bundle.cjs) - Plugin entry uses
export default { ... }
Recommended Starting Point
- Example repository:
https://github.com/deretame/Breeze-plugin-example
Clone the example repo and adapt it for your plugin instead of scaffolding from an empty directory.
Suggested Reading Order
- Quick Start
- Runtime API (focus on
fetch,BreezeHtml,crypto,Temporal,Intl) - breeze-plugin-kit Toolkit (focus on
cache,pluginConfig, Temporal, Intl, HTML parsing types) - Lifecycle & Structure
- Plugin API Contract
- Debug & Release
- Delivery Checklist