Screenshotting Popular TF2 Services
This project is split out from Payload and is intended to provide a set of APIs and methods to screenshot popular TF2 websites.
You can run the service locally using Deno:
deno task devThis will install all dependencies, including a chrome browser. If you wish to
use a local binary for chrome instead, use the CHROME_PATH environment flag to
the path of the chrome executable.
This service is ran using Docker. To run locally, first build the service:
docker build . -t "screenshot"Then run the container:
docker run --name "screenshot" --init -it --rm screenshotAny issues or questions should be posted on GitHub issues, where they can be more easily tracked. Feature requests are welcome!
You may back me on my Patreon. Direct sponsorship of this project can be discussed on Discord (24#7644) or by another medium.
Before contributing, please make sure no one else has stated against your proposal. Otherwise, make a Pull Request detailing your proposal and any relevant code changes. If you are committing code, try to create test cases, as going foward we'd like to have stable tests.
You can use the following command for debugging and tracing using the Grafana LGTM stack:
docker run --name lgtm -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti -v ${PWD}/lgtm/grafana:/data/grafana -v ${PWD}/lgtm/prometheus:/data/prometheus -v ${PWD}/lgtm/loki:/data/loki -e GF_PATHS_DATA=/data/grafana docker.io/grafana/otel-lgtm:0.9.1This project is MIT licensed.