I wrote some python code that's being used fairly often (from the number of clones on github recently). However, I'd like some way of keeping a permanent count (github is a rolling 14 day window) of the number of times the code has been run and the number of unique users using the code.
I thought about having the code ping a website (Github Pages is static so it won't work - AWS specifically for this?) and a specific subdirectory every time it's used, but this seems to be more complex than I thought (system specific, maybe root needed). Ideally, I would want to abstract away any user info (MAC/IP) and just keep the counter (to respect user privacy).
Is there any way of doing this?