A PHP-based interface for displaying images, opening interactive plots, and browsing data files.
Original code from Giovanni Petrucciani (@gpetruc) and others. Modified by Lucas Kang (@lkang).
This project visualizes densely populated folders and includes an optional login script to lock chosen directories.
It is tailored for those who use ROOT, SWAN, and Plotly to store/process/visualize data.
-
cd into your web folder
cd '/eos/user/[$USER-first-initial]/[$USER]/www/' -
Clone this repository
git clone [email protected]:lk11235/php-plots.git . -
Open the web folder into your browser.
-
Profit.
-
Detect if a file is present with multiple formats.
-
Filter files to be selected with wild-cards or regex.
-
Zoom in/out images with mouse click.
-
Rearrange images with drag and drop.
-
Overlay content of .txt version on mouse hover.
-
Display .root files using JSROOT.
-
Display .html interactive plots generated with Plotly.
-
Password protect directories (technically brute-forceable if salt-based hashing is reverse-engineered).
-
Allows both master passwords and passwords which unlock individual directories.
-
Generate custom passwords for different guests that unlock unique subsets of directories.