2018-02-16 14:06:00 +02:00
2018-02-07 23:55:39 +02:00
2018-02-16 14:17:48 +02:00
2018-01-27 10:23:41 +02:00
2018-02-07 23:55:39 +02:00

FLEES

A very small file sharing website.

The name comes from mispronouncing "files" very badly.

installation

  • cp env.example .env

  • cp data/config.json.example data/config.json

  • cp data/shares.json.example data/shares.json

  • docker-compose up --build

  • open URL: http://localhost:8136/list/test

  • configure shares with data/shares.json

  • generate and manage shares with utils/flees-manager.py

  • configure service with data/config.json

    • uid = user id for new files
    • workers = parallel processes (i.e. one upload reserves a process)
    • timeout = timeout for processes, single upload might take a long time!
  • configure bind host and port in .env

  • proxy with nginx:

location /flees/ {
         proxy_pass http://localhost:8136/;
         proxy_set_header Host $host;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Scheme $scheme;
         proxy_set_header X-Script-Name /flees;
         client_max_body_size 8G;
    }
  • configure local port in docker-compose.yaml

  • directly login with URLs:

  • download with curl (etc.)

  • upload with curl (etc.)

  • "direct link" is a sharing link that does not require other passwords, and is unique to each file. (there should be no danger in sharing a file, and the password to rest of the files leaking)

Description
No description provided
Readme 259 KiB
Languages
Python 68.3%
JavaScript 10.7%
Shell 10.1%
HTML 6.4%
CSS 4.1%
Other 0.4%