This is the same app as CuteFileBrowser written in Python instead of PHP with some improvements
https://tutorialzine.com/2014/09/cute-file-browser-jquery-ajax-php
First of all, get python 3 & then get pip.
- Python 3
- Pip
- Then,
pip install flask
- Then, clone this repo (attention! it will be cloned to the current directory, so make sure you do it in some kinda documents or special one)
git clone https://github.com/ScientificClubofESI/CuteFileBrowser-python/
- Then,
cd CuteFileBrowser-python
- Tweak the path inside the
Assets/js/script.js
in line :
Note: http://127.0.0.1:5000/Program Files
means C:\Program Files
7. Finally, python server.py
8. Open the index.html file
Browsers open text files instead of downloading them. If you wish to force all files to download, place this .htaccess file in the files folder:
<Files *.*>
ForceType application/octet-stream
</Files>
It should be called .htaccess (with a leading dot). This file is only supported on Apache web servers.
- Added the ability to call the script multiple times in the same page
- Ignores hidden files and
desktop.ini
file - Can go throw protected folders
- Showing Folder Size
- Zipping and downloading Folder
- Recently added Files
MIT
Feel free to contribute.