Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janwerder/trackmania-leaderboard
a bun.sh script that generates a Trackmania leaderboard for a group
https://github.com/janwerder/trackmania-leaderboard
Last synced: about 1 month ago
JSON representation
a bun.sh script that generates a Trackmania leaderboard for a group
- Host: GitHub
- URL: https://github.com/janwerder/trackmania-leaderboard
- Owner: JanWerder
- License: mit
- Created: 2024-07-05T11:14:53.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T06:45:26.000Z (4 months ago)
- Last Synced: 2024-07-30T09:58:13.635Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trackmania-leaderboard
A bun.sh script that generates a Trackmania leaderboard for a group## Requirements
You need to have [bun.sh](https://bun.sh/) installed on your machine.
You also need an environment file with the following variables:
```bash
# .env
userpw=
groupid=22024
```In addition to that, if you want to display the group members in with their name instead of their id, you need a `.users.json`
```bash
# .users.json
{
"2a1adc30-76ff-4b56-9caa-d81d517e2651": "Jan",
[...]
}
```## Usage
```bash
bun run --inspect .\trackmania.js
```
The server hosted by this command will be available at `http://localhost:3015/`