Modrinth Downloads Tracker
|
||
---|---|---|
.woodpecker | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
LICENSE | ||
README.md |
Modrinth Downloads Tracker (MDT)
This simple program downloads the downloads numbers of your Modrinth mod and saves them into csv files.
Configuration
Configuration is done via Environment Variables:
- Required:
MDT_SLUG
: Slug or name of the Mod. Using the slug is recommended. - Optional:
MDT_BASE_DIR
: Path to a directory where the data should be stored. If not specified, it defaults to the current working directory.
Folder Structure
The data is stored in the following folder structure:
$MDT_BASE_DIR
|- ModName
|- mod.csv (total downloads count)
|- {version}.csv (one for each version)
File Structure
Simple CSV file.
%Y.%m.%d.%H.%M;{downloads}