{"id":20874469,"url":"https://github.com/imagingdatacommons/ohif-gcp-mode","last_synced_at":"2026-04-25T10:35:24.224Z","repository":{"id":190679637,"uuid":"676138376","full_name":"ImagingDataCommons/ohif-gcp-mode","owner":"ImagingDataCommons","description":"OHIF GCP Mode","archived":false,"fork":false,"pushed_at":"2024-01-05T22:59:54.000Z","size":1019,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-01-05T23:34:13.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ImagingDataCommons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-08T14:12:05.000Z","updated_at":"2023-08-08T14:43:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb590c96-9393-49a4-85e8-8210b31b4aab","html_url":"https://github.com/ImagingDataCommons/ohif-gcp-mode","commit_stats":null,"previous_names":["imagingdatacommons/ohif-gcp-mode"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImagingDataCommons%2Fohif-gcp-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImagingDataCommons%2Fohif-gcp-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImagingDataCommons%2Fohif-gcp-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImagingDataCommons%2Fohif-gcp-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImagingDataCommons","download_url":"https://codeload.github.com/ImagingDataCommons/ohif-gcp-mode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243248252,"owners_count":20260752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T06:32:51.746Z","updated_at":"2025-12-25T10:51:58.424Z","avatar_url":"https://github.com/ImagingDataCommons.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCP Mode for OHIF Viewer\n\nThe **GCP Mode** enhances the OHIF viewer, providing specialized functionality for integrating Google Cloud Platform healthcare services.\n\n## Key Features\n\n- **Load Studies via GCP URLs:** Enables loading studies directly from GCP healthcare URLs.\n  - Example URL format:\n    ```\n    http://localhost:3000/projects/project-x/locations/us/datasets/some-dataset/dicomStores/test-samples/study/1.3.6.1.4.1.123.5.2.1.123.123.123\n    ```\n\n## How to Add GCP Mode to Your OHIF Fork\n\n### 1. Add GCP Mode as a Dependency\n\nUpdate `package.json` to include `ohif-gcp-mode` as a dependency. Since this mode is not published to NPM, specify the GitHub repository and branch name.\n\n```json\n/** File: platform/app/package.json */\n\"dependencies\": {\n  \"ohif-gcp-mode\": \"https://github.com/ImagingDataCommons/ohif-gcp-mode#main\",\n  ...\n}\n```\n\n### 2. Update OHIF's plugin file to load this mode:\n\n```js\n/** File: platform/app/pluginConfig.json */\n\n\"modes\": [\n  ...\n  {\n    \"packageName\": \"ohif-gcp-mode\",\n    \"version\": \"0.0.1\" /** The version here does not matter since we are using a branch name to define this mode dependency instead of npm publishing */\n  },\n ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagingdatacommons%2Fohif-gcp-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagingdatacommons%2Fohif-gcp-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagingdatacommons%2Fohif-gcp-mode/lists"}