Modrinth Downloads Tracker
Find a file
andi-makes c6c5174c6e
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Added Docker and CI
2023-02-03 17:49:02 +01:00
.woodpecker Added Docker and CI 2023-02-03 17:49:02 +01:00
src Customized User Agent 2023-02-03 17:29:37 +01:00
.gitignore Initial commit 2023-02-03 14:54:44 +01:00
Cargo.lock Initial commit 2023-02-03 14:54:44 +01:00
Cargo.toml Initial commit 2023-02-03 14:54:44 +01:00
Dockerfile Added Docker and CI 2023-02-03 17:49:02 +01:00
LICENSE Initial commit 2023-02-03 14:54:44 +01:00
README.md Initial commit 2023-02-03 14:54:44 +01:00

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}