Flask API for file-sharing.
Go to file
dogeystamp 743c8b9eaa
added stub for server settings
we can now modify the default permissions for unauthenticated users
it doesn't do anything yet, though
2023-04-02 14:00:11 -04:00
sachet added stub for server settings 2023-04-02 14:00:11 -04:00
tests added stub for server settings 2023-04-02 14:00:11 -04:00
.gitignore added tests/ 2023-03-10 11:08:54 -05:00
config-testing.yml Fix configurations 2023-03-10 18:17:03 -05:00
config.yml.example Fix configurations 2023-03-10 18:17:03 -05:00
pytest.ini Fix configurations 2023-03-10 18:17:03 -05:00
README.md linted everything with black 2023-03-30 20:20:09 -04:00
requirements.txt added stub for server settings 2023-04-02 14:00:11 -04:00

sachet

sachet is a small file share server.

development

To start sachet in development mode:

Clone the repo.

git clone https://github.com/dogeystamp/sachet
cd sachet

Create a venv with required dependencies:

python -m venv venv
source venv/bin/activate
python -m pip3 install -r requirements.txt

Start Flask in development mode:

flask --debug --app sachet.server run

tests

Tests are available with the following command:

pytest --cov --cov-report term-missing

linting

Please use the linter before submitting code.

black .