This project contains the code powering https://pkgstats.archlinux.de/, the Arch Linux package statistics website.
- Run
just initto install dependencies, build and generate fixtures - Run
just runto start the application locally - Run
justfor a full list of available commands
Run just dev to watch for template and Go changes and rebuild automatically (requires air).
The automatic rebuild does not include assets (images, JS, CSS) and all unused classes are stripped during the build process.
Thus, when changing classes for example, you might need to stop the dev server and run just build-assets and then start
the project again.
For contributing you'll probably want to test your changes at least once
before submitting a pull request. Run just test to run all tests.
If you want one or more categories added to the fun statistics, you can either do so by
- submitting a pull request or
- by providing the category and the packages it should include via the package comparison feature.
Navigate to https://pkgstats.archlinux.de/packages, select the packages and click "compare". Open an issue and add the link of the comparison page.