lmeunier / flaskup Goto Github PK
View Code? Open in Web Editor NEWA simple Flask application to share files
License: Other
A simple Flask application to share files
License: Other
If is "My email" empty, never sends email to any "My contacts" addresses.
updated on views.py
# notify contacts
max_contacts = app.config['FLASKUP_MAX_CONTACTS']
if 'mycontacts' in request.form and myemail:
to
# notify contacts
max_contacts = app.config['FLASKUP_MAX_CONTACTS']
if 'mycontacts' in request.form:
Would love to be able to run this on a prefix path for ease of use with nginx.
Is there a way to implement a password protection for uploads, so that only
people which know a password can upload a file?
In the first time, it could be possible to add a list of known passwords (defined in the config file), and deny file upload to users who don't supply a valid password.
Users who have a link the download a file don't need to know a valid password to get the file.
I think that a complete user authentication/authorization mechanism is beyond the scope of flaskup. A custom authentication mechanism could be added in the web server in front of flaskup (like mod_auth* in apache).
Some users have trouble when uploading large files (>2GB). The file to upload could be cut in separate chunks of the same size, and then uploaded separatly to flaskup.
Flaskup needs to manage the Content-Range
header to append uploaded chunks to the first chunk.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.