StatsPoster is a simple Deno script for post Killjoy stats to listing services.
Requires a PosgreSQL or Redis database.
- Install Deno.
- Install this script
deno install --allow-net --allow-read https://raw.githubusercontent.com/KilljoyBot/StatsPoster/main/cli.ts --name statsposter
. - Create a credentials.json file.
- Run
statsposter ./credentials.conf
.
- Install Deno.
- Create a credentials.json file.
- Run
deno run --allow-net --allow-read https://raw.githubusercontent.com/KilljoyBot/StatsPoster/main/cli.ts ./credentials.conf
.
- Download compiled executable from the latest release.
- Create a credentials.json file where ur downloaded the executable.
- Run the executable.
{
"botID": string,
"postgres"?: {
"host": string,
"port": number,
"username": string,
"password": string,
"name": string
},
"redis"?: {
"host": string,
"port": number,
"password": string | undefined,
"db": number | undefined
},
"websites": [
{
"name": string,
"url": string,
"token": string,
"body": string | undefined
}
]
}