{"id":23449157,"url":"https://github.com/oeway/imjoy-engine-example","last_synced_at":"2025-04-10T02:37:58.556Z","repository":{"id":138962413,"uuid":"417524928","full_name":"oeway/imjoy-engine-example","owner":"oeway","description":"An example for using imjoy-engine","archived":false,"fork":false,"pushed_at":"2021-10-15T20:59:48.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T18:32:57.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oeway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-15T14:15:23.000Z","updated_at":"2021-10-15T20:59:51.000Z","dependencies_parsed_at":"2023-04-26T08:34:40.842Z","dependency_job_id":null,"html_url":"https://github.com/oeway/imjoy-engine-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oeway%2Fimjoy-engine-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oeway%2Fimjoy-engine-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oeway%2Fimjoy-engine-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oeway%2Fimjoy-engine-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oeway","download_url":"https://codeload.github.com/oeway/imjoy-engine-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144666,"owners_count":21054966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T22:20:23.375Z","updated_at":"2025-04-10T02:37:58.547Z","avatar_url":"https://github.com/oeway.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example for using ImJoy Engine\n\n## Installation\n\n```\ngit clone https://github.com/oeway/imjoy-engine-example\ncd imjoy-engine-example\npip install -r requirements.txt\n```\n\n## Start the server\n\nIn a terminal, you can start the server by running\n```\npython -m imjoy.server --host=0.0.0.0 --port=8000 --allow-origin=https://lib.imjoy.io\n```\nNote that you should keep this terminal running all the time, \nso maybe run the above command using virtual command tools such as `screen`.\n\n\n## Start a worker plugin\nIn another terminal, start the worker plugin:\n```\npython -m imjoy.runner --server-url=http://127.0.0.1:8000 example_plugin.py\n```\n\nYou an also run the worker in another computer, but please change the server url to the external ip (not localhost or 127.0.0.1) of the server computer.\n\n## Start a plugin in ImJoy\n * Goto https://imjoy.io/lite (you can also use any imjoy enabled website)\n * Create a client plugin in Python (see [client_plugin.py](client_plugin.py)) or as ImJoy plugin (see [client_plugin.imjoy.html](./client_plugin.imjoy.html)). Note: To load the imjoy plugin, you need to use the ImJoy lite available at http://127.0.0.1:8000/static/lite.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foeway%2Fimjoy-engine-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foeway%2Fimjoy-engine-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foeway%2Fimjoy-engine-example/lists"}