Skip to content
s edited this page Aug 1, 2026 · 5 revisions

Supernote Module Generator

Supernote Module Generator adds Kotlin/Java, JNI, or JSI modules to an existing Supernote plugin. Start here after your plugin already builds successfully. Use the official Supernote documentation to create the plugin itself.

What the generator adds

The generator creates a local package below local_modules/ with editable Kotlin/Java or C/C++ source. It also creates the bridge, build wiring, autolinking, and TypeScript declarations needed to call that code, and tracks which files Update may replace.

What do you want to do?

Goal Page
Add a module Add a Module
Decide between Native, JNI, and JSI Choosing a Module
Write Kotlin or Java Kotlin and Java Modules
Write C or C++ behind JNI JNI Modules
Write synchronous C++ through JSI JSI Modules
Export a function Export Functions
See which files you can edit Files the Generator Creates
Validate, update, recover, or remove a module Managing Modules
Use subcommands, plain output, or JSON CLI and Automation
Check requirements and JSI limitations Requirements and Compatibility
Fix a generated module Troubleshooting

What this Wiki covers

This Wiki covers the code and integration created by the generator. Use the official Supernote documentation for creating, packaging, installing, and debugging plugins.

Contributor and release documentation remains in the source repository.

Clone this wiki locally