NEXLET PLUGIN API V1

Bring your tools
to Nexlet.

Familiar web technology. Clear desktop capabilities.

HTMLCSSJavaScript
main.js ×
  1. const note = await nexlet.storage.get('note');
  2. await nexlet.clipboard.writeText(note ?? 'Hello Nexlet');
  3. // Your plugin starts here
NExample note−   ×

A handy little tool.

My plugin

plugin.json
index.html
main.js

Start with a folder.

A few files are all it takes to bring your idea to Nexlet.

  1. 1Build the interface

    Use familiar HTML, CSS
    and JavaScript to build the interface and behavior.

  2. 2Load a development folder

    Choose your plugin folder in Nexlet. Reopen its window to preview file changes.

  3. 3Review permissions and run

    Review the capabilities your plugin needs, then run it in Nexlet.

Clear boundaries. Room to extend.

Nexlet provides clear desktop capabilities so your plugin can focus on useful tools.

Isolated storage

Save settings and user data in storage isolated to your plugin.

nexlet.storage

Clipboard text

Read and write system clipboard text to connect your tool with other workflows.

nexlet.clipboard.readText()
nexlet.clipboard.writeText()

Open external links

Open HTTP and HTTPS links in the default browser.

nexlet.openExternal()

Isolated windows and sandbox

Separate windows and context isolation, with Node.js integration disabled.

Permissions reviewed at installation

Plugins declare the system capabilities they need when installed, keeping you in control.
Network requests are disabled by default. Include resources in the package.

Start with a notes plugin.

Explore a complete example: project structure, core APIs
and implementation details to start building your own tool.

Open example project