Flask webapplication usable to send uploaded files via token link.
Install requirements.txt with Pip: 'pip install -r requirements.txt' (if possible, use a virtualenv). Set up the config.py file with a new SECRET_KEY and set the correct paths.
The first idea is to collect locally existing 'unregistered' files from a users folder and convert it to a 'registered' storage object.
- The user uploads a file to /opt/sharepy/users/
- The frontend shows the new file and gives possibility to register the file
- Registering moves the file to another internal folder, renamed as the calculated hashstring
- The file object can then be shared by the user, with one-time tokens, statistics etc.
A newer version of a file is then again to be registered, so there will be no confusion.