Skip to content

Conversation

@ajc133
Copy link
Contributor

@ajc133 ajc133 commented Nov 22, 2025

fixes #55

please update how you see fit (wasn't sure if you wanted to drop the worldwide count also)

YOu can run the script with `uv run` with no need to fiddle with venv
@frillweeman
Copy link
Collaborator

Thanks! So, Cloudflare sets a header on the request like CF-IPCountry: US. If it's US, I can show the US count, and I'll show worldwide otherwise.

@frillweeman
Copy link
Collaborator

Eh, that sounds a little slow and would interfere with caching. I found a solution that uses language and time zone, and if it fails, it just shows worldwide, so no big deal.

@ajc133
Copy link
Contributor Author

ajc133 commented Dec 31, 2025

sounds good, closing

@ajc133 ajc133 closed this Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update ALPR counter to show US numbers only, not worldwide

2 participants