Skip to content

EricZhang456/tf2log

Repository files navigation

TF2Log

Yet another server browser for TF2. Inspired by Battlelog. Currently a work in progress.

Setup

  1. Create a virtual environment and install all the dependencies from requirements.txt
python -m venv .venv
. ./.venv/bin/activate
pip install -r requirements.txt
  1. Create an instance directory and copy config.json.example as config.json in the the newly created instance directory

    • Set ENV to either dev or prod based on the environment
    • Set TEAMWORK_TF_SECRET_KEY to your Teamwork.tf API key
    • Set STEAMWORKS_SECRET_KEY to your Steam Web API key
    • Set CACHE_TYPE to a flask-caching backend, you probably want to use something like a Redis database in production
    • You also want to download the GeoLite2 City database in .mmdb format from MaxMind and place it in the instance directory
  2. Run the application

    hypercorn "tf2log:create_app()"

Licensing

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.

About

Yet another server browser for TF2. Inspired by Battlelog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages