Skip to content

roaming97/vintran

Repository files navigation

vintran

vintage file transfer

Free web file transfer tool made with Python and Flask and compatibility in mind. It is meant to run well on older browsers running on older computers so that files can be sent from there.

Building

This project requires at least Python 3.8 installed on your computer or server.

Clone the repository and navigate into the directory:

$ git clone https://github.com/roaming97/vintran.git
$ cd vintran

Tip

Create a virtual environment then activate it:

$ python3 -m venv venv

Activate on Unix

$ source venv/bin/activate

Activate on Windows

> .\venv\Scripts\activate

Install the dependencies:

$ pip install -r requirements.txt

Or you can build and install the app as a Python package for deployment:

$ pip install -e .

Running

Set the proper environment variables following the example (.env.example):

SECRET="MY_SECRET_KEY"
DATABASE_URI='sqlite:https:///mydatabase.sqlite'
BLOCKED_IPV4="your,blocked,addresses,here"

This command starts a production server on localhost:5000:

$ flask --app vintran run

Contributing

If you encounter any errors or bugs, open an issue. Pull requests are welcome.