A Steam monitoring service built with Flask
- Python 3.10 or Docker
- A modern browser supporting async functions
-
Install
git clone https://github.com/akelsch/steamstatus.git && cd steamstatus python -m venv venv source venv/bin/activate pip install -r requirements.txt
See
requirements.txt
for a complete list of required Python packages. -
Configure
export FLASK_APP=steamstatus export FLASK_ENV=development export API_KEY=xxx # insert your key here, e.g. 204BE844F017F63E40E2F3D820EB8E9E
You can get your own Steam Web API Key here.
-
Run
flask init-db flask run
Note that initializing the database is required once only.
Activating Python virtual environments in PowerShell requires changing your execution policy first:
Set-ExecutionPolicy Unrestricted
.\venv\Scripts\Activate.ps1
Feel free to use env.ps1
to set Flask environment variables. You still will have to provide API_KEY
though.
Similar to running the application natively, you will have to provide API_KEY
by passing it to Docker:
docker build . -t steamstatus
docker run -p 5000:5000 -e API_KEY=xxx steamstatus
Alternatively you can modify Dockerfile
to hardcode your key.
Flag icons by Mark James