/slicer-extensions-webapp

Source code of the site allowing to browse and download Slicer extensions. This site is published at extensions.slicer.org and maintained by @Kitware on behalf of the 3D Slicer community.

Primary LanguageVueApache License 2.0Apache-2.0

slicer-extensions-webapp

Overview

This project implements the Slicer extensions catalog site.

The extensions catalog provides Slicer users with a convenient way to access the extensions previously uploaded on the extensions server (described below as the backend).

The extensions catalog can be browsed from the Slicer application using the extensions manager or using a regular browser at https://extensions.slicer.org

Current deployments

URL Description
https://extensions.slicer.org/ Netlify deployment of the Slicer extensions catalog.
https://slicer.kitware.com/ Assets for Slicer legacy extensions catalog published to slicer-kitware-com branch and served using the slicer-extensions-legacy-webapp Flask application hosted at Kitware.

Build-time environment config

variable description default
VUE_APP_APP_ID Girder extension store application ID 5f4474d0e1d8c75dfc705482
VUE_APP_BASE_URL Base URL of backend, including '/api/v1' https://slicer-packages.kitware.com/api/v1
VUE_APP_EXTENSION_DEFAULT_ICON_URL URL of the image to use if extension is missing the icon_url metadata
VUE_APP_GOOGLE_ANALYTICS_ID Google Analytics ID UA-97117718-1
CONTEXT Name of the Netlify build's deploy context Initialized with the name of the Netlify build’s deploy context.

Project setup

yarn install

Note: "unmet peer dependency" install warnings are expected. Learn more here.

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

License

It is covered by the Apache License, Version 2.0:

https://www.apache.org/licenses/LICENSE-2.0