Having it version controlled in this repo is a bit odd. Cache should be automatically overwritten when it becomes stale.
XDG_CACHE_HOME is usually ~/.cache, so we would be storing our cache at ~/.cache/oss-stas/stats.json or similar. We could use another xdg base dir (see https://wiki.archlinux.org/title/XDG_Base_Directory for more info), but I feel like this one makes the most sense.
Having it version controlled in this repo is a bit odd. Cache should be automatically overwritten when it becomes stale.
XDG_CACHE_HOME is usually
~/.cache, so we would be storing our cache at~/.cache/oss-stas/stats.jsonor similar. We could use another xdg base dir (see https://wiki.archlinux.org/title/XDG_Base_Directory for more info), but I feel like this one makes the most sense.