https://github.com/notnite/statisfactory
HTTP API stats for Satisfactory
https://github.com/notnite/statisfactory
Last synced: 9 months ago
JSON representation
HTTP API stats for Satisfactory
- Host: GitHub
- URL: https://github.com/notnite/statisfactory
- Owner: NotNite
- License: mit
- Created: 2024-09-20T22:26:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T20:28:53.000Z (almost 2 years ago)
- Last Synced: 2025-05-08T05:53:09.038Z (about 1 year ago)
- Language: C++
- Size: 121 KB
- Stars: 21
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Statisfactory
HTTP API stats for Satisfactory.
## Setting up Grafana
If you've never used Grafana or Prometheus before, follow [this guide](https://github.com/NotNite/Statisfactory/blob/main/grafana/README.md) to set up a new Grafana instance on your server.
## Running the scraper
Run `server.GenerateAPIToken` in your server console, then create `scraper/.env`:
```text
GAME_ENDPOINT="https://localhost:7777/api/v1"
GAME_TOKEN="output of server.GenerateAPIToken"
PORT=8080
```
Then point a Prometheus node at `http://localhost:8080/metrics`.
## Credits
Statisfactory uses [Mutant Standard](https://mutant.tech/) emoji, licensed [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).