Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
/ sharepy Public archive

Flask webapplication for sharing files

Notifications You must be signed in to change notification settings

bitkeks/sharepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published