⚡Web browser add-on to visualize file URLs
⚙️How it works ?
First you need to install the Kitware File Viewers extension from one of the following web stores:
Then whenever you right-click on a file URL in any web page, a “Kitware File Viewers” menu entry will let you choose what viewer you want to open the file with.
It also works if you select a file URL displayed as text in a web page.
🖥️3D Slicer on Desktop
There is an option to open the data directly with 3D Slicer. You first need to copy the LoadRemoteFile module into the qt-scripted-modules folder of 3D Slicer. While this will then work automatically on Windows, there are more set up requested on Linux and MacOS.
🗃️Serve local files
The extension works also if you serve files located on your hard drive. Watch out with the CORS though. Here is a one liner to serve your local files with NodeJS:
- npm install -g http-server
- cd my-folder-to-serve
- http-server -p 8000 –cors
Then you can open http://localhost:8000 in your browser.