1.7 KiB
1.7 KiB
Transfert
About
I used to transfert big files using Jirafeau. But I decided to create my own tool.
I wanted :
- Something modern and safer than PHP
- with QRcode possibility
- No database
- Clean expired files automatically
- Manage single Download
- SSL Connexion
Install
Ubuntu/Debian:
git clone https://git.nerkdesign.com/pporcheret/Transfert.git
cd ./Transfert/
mkdir storage
apt install python3 python3-pip
pip3 install -r requirement.txt
Redhat:
git clone https://git.nerkdesign.com/pporcheret/Transfert.git
cd ./Transfert/
mkdir storage
yum install python3 python3-pip
pip3 install -r requirement.txt
Start
python3 app.py
Use your browser to go to :
https://{{IP}}:5006
Config
You can edit the Flask port/host :
flask_port=5006
flask_host='0.0.0.0'
flask_thread=True
flask_debug=False
The size of the random link :
random_size = 12
The storage location of your files :
path = os.path.dirname(__file__)
storage_path= path+'/storage/'
Login
Be carefull !! By default, the authentification is PAM. This PAM auth is based on the library simplepam. This means that by default, the allowed users, are the user in the server.