Skip to content

NSLS-II/webxdiviewer

 
 

Repository files navigation

WebXDIViewer

A prototype viewer for git repositories containing XAFS Data Interchange Format XDI files.

The viewer is written in React/Typscript and automatically deployed to Github pages using Github Actions. During the deployment process, XDI files are copied from a data repository, indexed, and added as static files to the viewer.

The code in this repo is deployed here using a fork of the XDI files from the XASDataLibrary.

Deploying Against a Different Data Repository

Forking the repo and changing the repository and path in the "data" workflow should deploy the webpage against the specified repository.

Local Deploy

Manually building the project and then running the python script in the /scripts directory in a python environment with Larch installed should generate the XDI file index (a .json file). Copying the index with the XDI files to the dist folder should let the viewer be used locally (but I have not tested this...).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.2%
  • Python 3.4%
  • CSS 3.3%
  • JavaScript 1.4%
  • HTML 0.7%