Skip to content

Just a simple file hosting application inspired by the likes of pomf.se and teknik.io.

License

Notifications You must be signed in to change notification settings

TheReverend403/pste

Repository files navigation

pste

GitHub GitHub Workflow Status Code style: ruff

Just a simple file hosting application inspired by the likes of pomf.se and teknik.io.

Very early alpha, 100% definitely not ready whatsoever for production use. Not even for a laugh.

Demo (latest dev)

Setting up the dev environment

First, install uv.

git clone https://github.com/TheReverend403/pste
cd pste

uv sync --group dev
uv run pre-commit install

yarn install

Running in dev mode

Docker

cp docker/.env.example docker/.env # Open and set any empty variables
docker compose -f docker/docker-compose.dev.yml up --build --pull always

Manual

mkdir config
cp pste/resources/config/settings.toml config/settings.toml # Edit settings.toml

uv run flask assets build
uv run flask db upgrade
uv run flask user create # Or use /auth/register

# Do not use this in production, use a WSGI server such as gunicorn with pste:create_app() as your entrypoint.
uv run flask run