An open API service indexing awesome lists of open source software.

https://github.com/ragadeeshu/alterna-freshness-league

Splatoon 3 single player cleartime league for you and your friends!
https://github.com/ragadeeshu/alterna-freshness-league

nintendo splatnet splatoon splatoon3

Last synced: 6 months ago
JSON representation

Splatoon 3 single player cleartime league for you and your friends!

Awesome Lists containing this project

README

          

# alterna-freshness-league
This is little tool that compares your splatoon 3 single player times with those of your friends. Uses the amazing [imink f-api](https://github.com/imink-app/f-API) by [@JoneWang](https://github.com/JoneWang). Special thanks to [@frozenpandaman](https://github.com/frozenpandaman) for showing how to navigate the login flow over in [s3s](https://github.com/frozenpandaman/s3s)

To use first create a `contestants.json` with the following structure:
```
{
"league": "leagueName",
"contestants": [
{
"name":"tomte",
"session_token":"session_token"
},
{
"name": "tomte2",
"session_token": "session_token"
}
],
"proxies": [
"http://localhost:8081",
"http://localhost:8082"
]
}
```
Which contains all of your contestants. You need either their session tokens, or you need them to run a proxy (see below). How to get a session token? If you use s3s you can grab it from your `config.txt`.

To run a server:
```
docker run -d --restart=always --env CONTESTANTS=`jq -c . contestants.json` -p :8080 ghcr.io/ragadeeshu/alterna-freshness-league:latest
```

Or, to run a proxy:

```
docker run -d --restart=always --env CONTESTANTS=`jq -c . contestants.json` --env PROXY=true -p :8080 ghcr.io/ragadeeshu/alterna-freshness-league:latest
```

If you don't facy sending json as an argument, you could mount it instead:
```
docker run -d --restart=always -v :/app/contestants.json -p :8080 ghcr.io/ragadeeshu/alterna-freshness-league:latest
```

You could of course build/run the go app yourself, if you feel like it. Arguments are
```
Usage of ./alterna-freshness-league:
-league value
Contestants json string, tries to read 'contestants.json' file if not set
-port string
Port to bind to (default "8080")
-proxy
Start in proxy mode
```

What does it look like? Something like this:
![web example](alterna%20freshness%20league.png)