bitkeks / sharepy

Flask webapplication for sharing files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SharePy

Flask webapplication usable to send uploaded files via token link.

Running the app

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.

Uploading files

The first idea is to collect locally existing 'unregistered' files from a users folder and convert it to a 'registered' storage object.

  1. The user uploads a file to /opt/sharepy/users/
  2. The frontend shows the new file and gives possibility to register the file
  3. Registering moves the file to another internal folder, renamed as the calculated hashstring
  4. 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.

About

Flask webapplication for sharing files


Languages

Language:Python 98.3%Language:CSS 1.7%