Skip to content

Provide package download statistics from cache.nixos.org #1171

Description

@Zellrus

Is your feature request related to a problem? Please describe.

There is currently no easy way for community projects to access package download statistics from cache.nixos.org. Such data could be useful for understanding package popularity and usage.

Describe the solution you'd like

Since requests to cache.nixos.org go through Fastly, Fastly may have information about the requested Nix store paths, for example:
/nix/store/<hash>-<pname>-<version>
Would it be possible to collect and provide download statistics for these paths, for example:
pname-version: download count
The data would not need to be updated in real time - for example, it could be updated once every two weeks.
The data could be provided in any format convenient for automated processing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions