This repository hosts all of the code for the file hosting site 'xygt.cc'.
xygt.cc is a simple, anonymous, temporary file-hosting service, designed with Python and Flask.
This uses MongoDB by default for the file index, user database, and the URL shortening DB, I'm not adding support for SQL.
You can access the site on https://xygt.cc.
This project is licensed under the MIT License, which can be found here on the git repo. If you did not recieve a copy of the MIT License with this software, you can view a copy https://opensource.org/license/mit/.
Refer to CONTRIBUTING
I don't mind if xygt is forked by anyone into a different project, all I ask is for some credit somewhere in the repo with a link back to here.
Thats it.
- Clone the repository with
git clone https://github.com/jackeilles/xygt.git
- Create a virtual environment in the repository folder
python -m venv .venv
- Enter that venv with
source .venv/bin/activate
on Linux/MacOS or.venv/scripts/activate
on Windows - Install "requirements.txt" with
pip install -r requirements.txt
- Run with whatever WSGI compatible runner you use, for example
flask run