Is there any way I can use static HTML (and/or JavaScript) in the browser to get all the files and folders of the current project?
For example, I have the following structure:
./project
├── files-and-folders
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ └── inner-folder
│ ├── 4.png
│ └── 5.png
├── index.html
└── index.js
I would like to open index.html in a browser, i.e. file:///path/to/project/index.html and get the list of all files and folders under the files-and-folders folder.
I know you can use fs with NodeJS and read files and folders, but I was wondering if this can be achieved using static HTML or JavaScript.
The ideea is, that I would like to get all the files and folders from the files-and-folders folder, and display them inside my index.html file as a list.
Thank you.

