A simple Python3-Flask application to turn a computer into a cloud storage system.
Transfer files at speeds greater than that offered by Bluetooth or even USB.
Works on all devices. It's a website, not an app! Let us know if there is an issue.
Note: Some phone browsers (such as UC browser on Windows Phone) do not support selecting multiple files for upload at once; use browsers that do support it!
- Create a virtual environment (Py3) and install all the dependencies mentioned in requirements.txt
- Activate the venv and run
python3 server.py
- You can now access the said server from a phone by knowing the machine's inet address
ifconfig
oripconfig
will help you find the inet address
- Set up port forwarding and make neccessary changes to your firewall settings
- If you have a static IP address you can simply bookmark the address to reach the server
- Consider signing up to a Dynamic DNS such as Duck DNS in case you don't have a static IP address
- Now you can access all your content from anywhere
Renders {{theme_name}}/index.html
template.
Optional: initial_path
the file/directory that must be open on start up. Root of the content directory by default.
POST data:
files
- list of files named.
path
- path of the directory where the uploaded files should be saved.
Returns JSON with error
as 0 if successful.
POST data:
name
- name of the directory being created.
parent
- path to the directory under which the new directory must be created.
Returns JSON with error
as 0 if successful.
Returns JSON with information about the contents of the tree.
Optional: path
the directory whose contents are required. Root of the content directory is the default.
Download the file specified by filename
.
Download the directory specified by dirname as a zipfile.