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!
- Host: GitHub
- URL: https://github.com/ragadeeshu/alterna-freshness-league
- Owner: ragadeeshu
- Created: 2022-10-13T14:37:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T15:46:49.000Z (over 2 years ago)
- Last Synced: 2024-06-20T17:53:49.277Z (almost 2 years ago)
- Topics: nintendo, splatnet, splatoon, splatoon3
- Language: Go
- Homepage:
- Size: 21.7 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
