Skip to content
v0.2.1

Building a Plugin

Ocelescope plugins are distributed as .zip files.

We strongly recommend starting from the plugin template.

Your ZIP should contain the plugin package directly:

Terminal window
MyPlugin.zip/
└── my_plugin/
├── __init__.py
├── plugin.py
└── ...

You can zip your plugin manually, or use one of the following options.

ocelescope build expects the template-style project structure, with your plugin package inside src/.

Terminal window
my-plugin/
├── src/
└── my_plugin/
├── __init__.py
├── plugin.py
└── ...
└── dist/

From the project root:

Terminal window
ocelescope build

Or with uv:

Terminal window
uv run ocelescope build

The generated plugin ZIP is written to dist/.

Option 2: Use the GitHub Action from the template

Section titled “Option 2: Use the GitHub Action from the template”

The template also includes a GitHub Actions workflow that builds the plugin ZIP and publishes it to a GitHub release.

Create and push a version tag:

Terminal window
git tag v0.1.0
git push origin v0.1.0

After the workflow runs, you can find the plugin ZIP:

  • in the workflow artifacts, and
  • in the GitHub release assets.

Currently, plugins can only be submitted through GitHub.

Upload your plugin ZIP to a GitHub release in your plugin repository, then submit it using our Issue template.