orthanc-explorer-2

New UI for Orthanc

https://github.com/orthanc-server/orthanc-explorer-2

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

New UI for Orthanc

Basic Info
  • Host: GitHub
  • Owner: orthanc-server
  • License: agpl-3.0
  • Language: Vue
  • Default Branch: master
  • Homepage:
  • Size: 2.49 MB
Statistics
  • Stars: 56
  • Watchers: 4
  • Forks: 41
  • Open Issues: 7
  • Releases: 56
Created over 4 years ago · Last pushed 10 months ago
Metadata Files
Readme Funding License Citation Authors

README.md

Orthanc Explorer 2

This Orthanc plugin implements a new user interface for Orthanc to replace the Orthanc Explorer.

Installation

Binaries are available: - here on Github, you'll find the plugin for - Windows 64bits - Ubuntu 20.04 - MacOS (Universal binary) - in the Windows Installers (64bits version only), the plugin is enabled but, right now, the legacy Orthanc Explorer remains the default UI. Note that, in a future release, OE2 will become the default UI for Orthanc in the Windows Installers. - in the orthancteam/orthanc Docker images, the plugin is enabled but, right now, the legacy Orthanc Explorer remains the default UI. Note that, in a future release, OE2 will become the default UI for Orthanc in the Windows Installers.

The binaries must be copied next to other Orthanc plugins (Windows: C:\\Program Files\\Orthanc Server\\Plugins, ubuntu: /usr/share/orthanc/plugins/). You should also possible make sure that the plugin is listed in the "Plugins" Orthanc configuration.

Configuration

Like any other Orthanc plugins, Orthanc Explorer 2 is configured through a json configuration file that is provided to Orthanc at startup.

At minimum, you should provide this configuration file: json { "Plugins": [ "." ], "OrthancExplorer2": { "Enable": true, "IsDefaultOrthancUI": false } }

Using this minimal configuration file, Orthanc Explorer 2 is accessible at http://localhost:8042/ui/app/ . If IsDefaultOrthancUI is set to true, Orthanc Explorer 2 will replace the built-in Orthanc Explorer.

If you are using Docker, the easiest way to try the new Orthanc Explorer 2 is to run this command and then open a browser in http://localhost:8042/ui/app/ (login: orthanc, pwd: orthanc)

shell docker pull orthancteam/orthanc:latest docker run -p 8042:8042 orthancteam/orthanc:latest

Front-end development

Prerequisites:

  • install nodejs version 14 or higher and npm version 6 or higher
  • install nginx

Then, to continuously build and serve the front-end code on your machine, in a shell, type:

shell cd WebApplication npm install npm run dev Npm will then serve the /ui/app/ static code (HTML/JS).

Then, launch an Orthanc with the OE2 plugin already enabled and listening on localhost:8043. This can be achieved with by typing this command in another shell:

shell docker run -p 8043:8042 -e ORTHANC__AUTHENTICATION_ENABLED=false orthancteam/orthanc:24.6.2 This Orthanc will serve the /ui/api/ routes.

In third shell, type:

shell sudo ./scripts/start-nginx.sh This will launch an nginx server that will implement reverse proxies to serve both the static code and the Orthanc Rest API on a single endpoind. You may then open http://localhost:9999/ui/app/ to view and debug your current front-end code. As soon as you modify a WebApplication source file, the UI shall reload automatically in the browser.

Edit scripts/nginx-dev.conf if needed.

Compilation

Prerequisites to build the frontend: you need nodejs version 14 or higher and npm version 6 or higher.

To build the frontend:

shell cd WebApplication npm install npm run build

And then, to build the C++ plugin: cd /build cmake -DWEBAPP_DIST_SOURCE=LOCAL -DALLOW_DOWNLOADS=ON -DCMAKE_BUILD_TYPE:STRING=Release -DUSE_SYSTEM_ORTHANC_SDK=OFF /sources/orthanc-explorer-2/ make -j 4

LSB (Linux Standard Base)

Here are the build instructions for LSB:

cd WebApplication npm install npm run build cd .. mkdir build-lsb cd build-lsb LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake -DCMAKE_TOOLCHAIN_FILE=../Resources/Orthanc/Toolchains/LinuxStandardBaseToolchain.cmake -DALLOW_DOWNLOADS=ON -DSTATIC_BUILD=ON -DUSE_LEGACY_JSONCPP=ON -DWEBAPP_DIST_SOURCE=WEB .. make -j4

Pre-compiled LSB binaries can be found at: https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc-explorer-2/index.html

Linking against system-wide Orthanc Framework

Here are the build instructions to dynamic link against the system-wide Orthanc Framework:

cd WebApplication npm install npm run build cd .. mkdir build-system cd build-system cmake .. -DCMAKE_BUILD_TYPE=Debug -DORTHANC_FRAMEWORK_SOURCE=system -DUSE_SYSTEM_GOOGLE_TEST=OFF -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_ORTHANC_SDK=OFF -DWEBAPP_DIST_SOURCE=LOCAL make -j4

Releasing

git tag -a 0.2.0 -m 0.2.0 git push --tags git push

Contributions

Feel free to fork this project, modify it and submit pull requests.

Owner

  • Name: Orthanc Server
  • Login: orthanc-server
  • Kind: organization
  • Email: am@orthanc.team
  • Location: Belgium

Citation (CITATION.cff)

cff-version: "1.1.0"
message: "If you use this software, please cite it using these metadata."
title: Orthanc
abstract: "Orthanc is a lightweight open-source DICOM server for medical imaging supporting representational state transfer (REST)."
authors:
  -
    affiliation: UCLouvain
    family-names: Jodogne
    given-names: "Sébastien"
doi: "10.1007/s10278-018-0082-y"
license: "GPL-3.0-or-later"
repository-code: "https://orthanc.uclouvain.be/hg/orthanc/"
version: 1.12.3
date-released: 2024-01-31

GitHub Events

Total
  • Create event: 10
  • Release event: 6
  • Issues event: 17
  • Watch event: 12
  • Delete event: 5
  • Issue comment event: 20
  • Push event: 77
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 8
  • Fork event: 14
Last Year
  • Create event: 10
  • Release event: 6
  • Issues event: 17
  • Watch event: 12
  • Delete event: 5
  • Issue comment event: 20
  • Push event: 77
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 8
  • Fork event: 14

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 7
  • Total pull requests: 6
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 6
  • Total pull request authors: 5
  • Average comments per issue: 0.86
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 7
  • Pull requests: 6
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 1 month
  • Issue authors: 6
  • Pull request authors: 5
  • Average comments per issue: 0.86
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • sprog0 (7)
  • amazy (3)
  • dmd (2)
  • gdevenyi (2)
  • albertosaez (1)
  • ylevian85 (1)
  • rafazafar (1)
  • ashrude (1)
  • dependabot[bot] (1)
  • isheo36 (1)
  • radmedics01 (1)
  • dem-v (1)
  • cclesse (1)
  • abdulrokhimrepo (1)
  • crocy (1)
Pull Request Authors
  • dependabot[bot] (6)
  • amazy (2)
  • Billuc (2)
  • rafazafar (1)
  • kyriacosdem (1)
  • 1brahimmohamed (1)
  • rafaelsouzars (1)
  • crocy (1)
Top Labels
Issue Labels
bug (3) enhancement (2) dependencies (1)
Pull Request Labels
dependencies (6) javascript (2) github_actions (1) bug (1)

Dependencies

.github/workflows/build-and-release.yml actions
  • actions/checkout v3 composite
  • actions/create-release v1.0.0 composite
  • actions/download-artifact v3 composite
  • actions/setup-node v3 composite
  • actions/upload-artifact v3 composite
  • actions/upload-release-asset v1.0.1 composite
  • mxschmitt/action-tmate v3 composite
WebApplication/package-lock.json npm
  • @esbuild/linux-loong64 0.14.54 development
  • @vitejs/plugin-vue 2.3.4 development
  • esbuild 0.14.54 development
  • esbuild-android-64 0.14.54 development
  • esbuild-android-arm64 0.14.54 development
  • esbuild-darwin-64 0.14.54 development
  • esbuild-darwin-arm64 0.14.54 development
  • esbuild-freebsd-64 0.14.54 development
  • esbuild-freebsd-arm64 0.14.54 development
  • esbuild-linux-32 0.14.54 development
  • esbuild-linux-64 0.14.54 development
  • esbuild-linux-arm 0.14.54 development
  • esbuild-linux-arm64 0.14.54 development
  • esbuild-linux-mips64le 0.14.54 development
  • esbuild-linux-ppc64le 0.14.54 development
  • esbuild-linux-riscv64 0.14.54 development
  • esbuild-linux-s390x 0.14.54 development
  • esbuild-netbsd-64 0.14.54 development
  • esbuild-openbsd-64 0.14.54 development
  • esbuild-sunos-64 0.14.54 development
  • esbuild-windows-32 0.14.54 development
  • esbuild-windows-64 0.14.54 development
  • esbuild-windows-arm64 0.14.54 development
  • fsevents 2.3.2 development
  • function-bind 1.1.1 development
  • has 1.0.3 development
  • is-core-module 2.10.0 development
  • path-parse 1.0.7 development
  • resolve 1.22.1 development
  • rollup 2.77.3 development
  • supports-preserve-symlinks-flag 1.0.0 development
  • vite 2.9.15 development
  • @babel/parser 7.20.13
  • @fortawesome/fontawesome-free 6.2.1
  • @intlify/core-base 9.2.2
  • @intlify/devtools-if 9.2.2
  • @intlify/message-compiler 9.2.2
  • @intlify/shared 9.2.2
  • @intlify/vue-devtools 9.2.2
  • @popperjs/core 2.11.6
  • @vue/compiler-core 3.2.45
  • @vue/compiler-dom 3.2.45
  • @vue/compiler-sfc 3.2.45
  • @vue/compiler-ssr 3.2.45
  • @vue/devtools-api 6.4.5
  • @vue/devtools-api 6.5.0
  • @vue/reactivity 3.2.45
  • @vue/reactivity-transform 3.2.45
  • @vue/runtime-core 3.2.45
  • @vue/runtime-dom 3.2.45
  • @vue/server-renderer 3.2.45
  • @vue/shared 3.2.45
  • axios 0.24.0
  • bootstrap 5.2.3
  • bootstrap-icons 1.10.3
  • csstype 2.6.21
  • estree-walker 2.0.2
  • follow-redirects 1.14.9
  • jquery 3.6.3
  • magic-string 0.25.9
  • nanoid 3.3.4
  • picocolors 1.0.0
  • postcss 8.4.16
  • source-map 0.6.1
  • source-map-js 1.0.2
  • sourcemap-codec 1.4.8
  • uppie 1.1.4
  • uuid 9.0.0
  • vue 3.2.45
  • vue-i18n 9.2.2
  • vue-router 4.1.6
  • vuex 4.1.0
WebApplication/package.json npm
  • @vitejs/plugin-vue ^2.3.4 development
  • vite ^2.9.15 development
  • @fortawesome/fontawesome-free ^6.2.1
  • @popperjs/core ^2.11.6
  • axios ^0.24.0
  • bootstrap ^5.2.3
  • bootstrap-icons ^1.10.0
  • jquery ^3.6.3
  • uppie ^1.1.4
  • uuid ^9.0.0
  • vue ^3.2.45
  • vue-i18n ^9.2.2
  • vue-router ^4.1.6
  • vuex ^4.1.0