Re: Specifications of OpenMX Viewer ( No.1 ) |
- Date: 2025/07/31 11:37
- Name: Yung-Ting Lee
- As far as I know, there is no specific cloud storage implemented in the OpenMX Viewer.
Users just open the OpenMX Viewer in a browser and use its functions for analyzing first-principles results. That's all. The source code is open and can be read directly. Anyone can read codes line by line and know how to deal with static/dynamic structure, isosurfaces, BZ, supercell, atoms, bonds, saving xyz/cif files etc.
If users worry about this problem, there are two solutions. ---------------------------------------- 1. A. Open the OpenMX Viewer and then turn off wifi or internet from your computer. B. Drag and drop a file into the OpenMX Viewer. The viewer can show dynamic structures, BZ, analysis of structure, and save xyz / cif / OPX files etc normally. (I am not sure about showing the isosurface when dragging-and-dropping cube and nccube files) C. Close the OpenMX Viewer in the browser.
2. Actually, the source code of the OpenMX Viewer can be downloaded to be used in user's local computer (if user knows how to download source codes). Of course, users can turn off the internet. ----------------------------------------
Furthermore, it is possible to modify the OpenMX Viewer code for having additional functionalities by users in their own computer.
Best regards, Yung-Ting Lee
 |
Re: Specifications of OpenMX Viewer ( No.2 ) |
- Date: 2025/07/31 13:44
- Name: Kinoshita
- Dear Yung-Ting Lee,
Thank you for your reply. I understand that dropped files are not uploaded to any external server. Is the file specifically sent to the user's local browser storage, such as Local Storage or Session Storage? Is my understanding correct?
Best regards.
|
Re: Specifications of OpenMX Viewer ( No.3 ) |
- Date: 2025/07/31 17:54
- Name: Yung-Ting Lee
- "localStorage" is only utilized when users upload a *.Band file; at that point, the OpenMX Viewer opens a new window to display its band structure.
It is written in the 7465th-7471th of the code. -------------------- // YTL-start-new else if (file.name.indexOf(".Band")!=-1){ localStorage.setItem( "band_file_data" , reader.result ); localStorage.setItem( "band_file_name" , file.name ); // name of cube file window.open("band_structure_viewer/bs_viewer.html"); } // YTL-end --------------------
Best regards, Yung-Ting Lee
|
Re: Specifications of OpenMX Viewer ( No.4 ) |
- Date: 2025/07/31 18:21
- Name: Kinoshita
- I understand about "localStorage."
What I mainly wanted to confirm was that the files are stored locally in the browser. Just to confirm, are all files—regardless of their extension—stored locally within the browser and not transmitted externally?
Best regards.
|
|