Skip to content

ar4s/forge-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forge-stats

forge-stats is a simple and self-contained binary. The goal of this project is to save the statistics of your mod or modpack from CurseForge to a time series database (InfluxDB).

Getting started

  1. InfluxDB - try a free plan or install.
  2. Download latest version of forge-stats.
  3. Run periodically forge-stats by cron or systemd.
  4. Create dasboard or use template

Dashboard example

Configuration

You can configure the app by passing argument to command line or by set [$ENVIRONMENT_VARIABLE].

   --influx-url value      [$FORGE_STATS_INFLUX_URL]
   --influx-org value     (default: "default") [$FORGE_STATS_INFLUX_ORG]
   --influx-bucket value  (default: "default") [$FORGE_STATS_INFLUX_BUCKET]
   --status-url value     (default: "https://addons-ecs.forgesvc.net/api/v2/addon") [$FORGE_STATS_STATUS_URL]
   --mod-id value         (default: 0) [$FORGE_STATS_MOD_ID]
   --token value           [$FORGE_STATS_INFLUX_TOKEN]
   --stat-name value      (default: "default") [$FORGE_STAT_NAME]
   --help, -h             show help (default: false)