Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cors-render-server-ext

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cors-render-server-ext

Serves files and serves a local build of Polus Render

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

Render Server Ext

Jupyter Server Extension serves files and provides a static build of Polus Render.

Requirements

  • Jupyter Server 2.7.0

Adding a static build of Polus Render

  • Remove all existing files in ~/render-server-ext/static/render-ui/.
  • Run npx nx build render-ui in the root of your Polus Render folder
  • Transfer generated files from ~/Polus Render/dist/apps/render-ui/ into ~/render-server-ext/static/render-ui/.

API Endpoints

  • /render/default/(.*): Help on usage of extension
  • /static/render/render-ui/index.html: Serves static build of Polus Render.
  • /render/file/(.+): Serves files at a specfied path. Does not serve directories.

Examples

For the following examples, JupyterLab is ran locally at https://localhost:7832/lab

Render-UI

URL: http://localhost:7832/static/render/render-ui/index.html?imageUrl=http://localhost:7832/render/file//home/jovyan/work/images/4by4large_intensity_image.ome.tif

URL: http://localhost:7832/static/render/render-ui/index.html?imageUrl=http://localhost:7832/render/file//home/jovyan/work/images/x00_y01_p02_c1.ome.tif&overlayUrl=http://localhost:7832/render/file//home/jovyan/work/overlays/combined.json

Image

URL: http://localhost:7832/render/file/home/jovyan/work/samples/butterfly.jpeg

Markdown

URL: http://localhost:7832/render/file/home/jovyan/work/samples/README.md

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc