docs/wiki/2.15-Develop-a-Plugin.md
How to create and test a custom plugin for Super Productivity.
Plugins extend the app with custom UI, hooks (e.g. on task complete), and API access to tasks, projects, and counters. They run in a sandbox; iframe plugins must inline CSS and JavaScript.
manifest.json (id, name, version, description, manifestVersion, minSupVersion)plugin.js (runs on load; can register header buttons, shortcuts, hooks)index.html (and set iFrame: true in the manifest) for custom UI.The full plugin guide and API live in the repository:
It covers:
Example plugins in the repo: packages/plugin-dev/yesterday-tasks-plugin, procrastination-buster, api-test-plugin. For UI-heavy plugins: packages/plugin-dev/boilerplate-solid-js. TypeScript API types: packages/plugin-api/src/types.ts.