cylab-tw / mainecoon

MIT License
8 stars 1 forks source link

Mainecoon

Mainecoon is a powerful web-based digital pathology viewer, designed to allow researchers, pathologists, and healthcare professionals to explore and analyze pathology images directly in the browser.

Live DEMO

About

Features

Installation

Before starting, ensure you have configured the environment variables as needed. See the DICOMweb Server Configuration section for more information.

Docker

To quickly start Mainecoon using Docker:

docker compose up -d

Build from source

Dependencies

To run Mainecoon from source, ensure you have the following installed:

Building

Install the dependencies and build the project:

npm install
npm run build

Running

node .\app\server.js

The viewer should now be accessible at http://localhost:3000.

DICOMweb Server Configuration

To set up the DICOMweb Server, make changes to the following file: .src/config/DICOMWebServer.config.js

DICOMweb Server Configuration Example

This configuration file is used to set up the DICOMweb Server details for different environments.

export default {
  SERVER_NAME: {
    QIDO: {
      enableHTTPS: true,
      hostname: "your.server.com",
      port: "",
      pathname: "/dicom-web",
      Token: null,
    },
    WADO: {
      enableHTTPS: true,
      hostname: "your.server.com",
      port: "",
      URI_pathname: "/dicom-web/wado",
      RS_pathname: "/dicom-web",
      Mode: "rs",
      Token: null,
    }
  }
}

Environment Variables

The following variables are used to configure the runtime settings:

License

This project is licensed under the MIT License.