Giter Site home page Giter Site logo

imjoyplug's Introduction

ImJoy Project Template

This is a template for project layout we propose for projects supporting ImJoy plugins. The overall organization is standard and your code can very well be use without ImJoy.

Click here to use this repo in ImJoy.

Additonal information for the files:

  1. File manifest.imjoy.json: specifies how your ImJoy plugins will be shown in the ImJoy plugin import menu

  2. Folder src: your ImJoy plugin files along with other related source code.

  3. File src/update_manifest.js a script for updating the plugin manifest file manifest.imjoy.json, this generated file will be read by ImJoy.

After adding a new plugin

You can place your imjoy plugin file (*.imjoy.html) in any folder organization, once added, please run node src/update_manifest.js to update the plugin list.

Note: in order to run the command, you need to install nodejs.

You can also setup a CI (e.g. Github Actions) to do this for every new commit.

Creating url to automatically install your plugins

The ImJoy plugin files can be used to generate a url which automatically opens ImJoy and installs your plugin with all dependencies.

This example install the template plugin: Template Plugin

Once the plugin is installed, click Template Plugin in the plugin menu and follow the instructions in the dialog to install the Python Plugin Engine. You can then execute the plugin.

Using tags

ImJoy plugins can have different tags determining how the plugin is shown in the interface and how it is executed, e.g. to allow processing either on a CPU or GPU. These tags can be set in the url, and you can provide different options to the user.

imjoyplug's People

Contributors

aotal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.