nolific icon indicating copy to clipboard operation
nolific copied to clipboard

Add-on System

Open codazoda opened this issue 2 years ago • 0 comments

I've always wanted to add an add-on / plugin system to Nolific. I originally considered allowing users to specify any URL as an add-on and Nolific would send the current document over as an API call. But, lately I've been thinking about using any JS file URI as the add-ons instead. That would allow you to do more things (like implement the Markdown help feature). It would still allow you to post the current page to an API by writing a few lines of Javascript to send the current file to an API. That could use the Fetch API or the XMLHttpRequest API.

Here are my thoughts...

  • Assign a URL to the add-on
  • Automatically load all add-ons that have been configured
  • Assign a keyboard shortcut to each add-on (or allow that to be configured in that in the add-on code)

codazoda avatar Jun 24 '23 02:06 codazoda