- Drop a file into the drop zone or select one by opening the file browser.
- Press the upload button to upload the file. You will be automatically redirected to the downlod site.
- Share the url or qrcode so others can download the file.
- The file will be deleted after 10 minutes.
- Install all required software using
pip install -r requirements.txt. - Rename example_config.py to config.py.
- Update the
redis_hostandredis_portvariables to point to a redis instance. - Select one of the following storage drivers and configure it.
- Start the server using
python start.py.
- Set
storage_driverin the config file tostorage.FileSystemStorageDriver. - Set a file location using the
file_locationoption. - The uploaded files will be stored in the
file_locationon the server.
- Set
storage_driverin the config file tostorage.S3StorageDriver. - Point the
S3_ACCESS_KEY,S3_SECREET_KEY,S3_REGION,S3_ENDPOINTandS3_BUCKEToptions to a S3 instance. - The uploaded files will be stored in the s3 bucket.
- Set
storage_driverin the config file tostorage.S3StorageDriverExtern. - Point the
S3_ACCESS_KEY,S3_SECREET_KEY,S3_REGION,S3_ENDPOINTandS3_BUCKEToptions to a S3 instance. - The uploaded files will be stored in the s3 bucket. They will be directly up loaded to the s3 bucket from the webbrowser using presigned urls. The download is directly from the s3 bucket as well using presigned urls.
- Create a new class inheriting from
storage.StorageDriver - Implement all the required methods. Look at the documentation of the
StorageDriverclass for more information. - You can look at the implementation in
storage.pyfor inspiration.