Yet another server browser for TF2. Inspired by Battlelog. Currently a work in progress.
- Create a virtual environment and install all the dependencies from requirements.txt
python -m venv .venv
. ./.venv/bin/activate
pip install -r requirements.txt-
Create an
instancedirectory and copyconfig.json.exampleasconfig.jsonin the the newly createdinstancedirectory- Set
ENVto eitherdevorprodbased on the environment - Set
TEAMWORK_TF_SECRET_KEYto your Teamwork.tf API key - Set
STEAMWORKS_SECRET_KEYto your Steam Web API key - Set
CACHE_TYPEto aflask-cachingbackend, you probably want to use something like a Redis database in production - You also want to download the GeoLite2 City database in
.mmdbformat from MaxMind and place it in the instance directory
- Set
-
Run the application
hypercorn "tf2log:create_app()"
TF2Log is licesed under AGPL-3.0.
SVG files are from Bootstrap Icons. Fonts are licensed under SIL Open Font License 1.1 from their respective owners.