Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

39 Commits

Repository files navigation

AI4EPS org profile

profile/README.md renders on https://github.com/AI4EPS: a title and a map of the cities our tools and documentation are used from.

ScriptWorkflowRuns
visitor_map.pyvisitor-map.ymlmonthly — redraws the map from GA4
github_traffic.pygithub-traffic.ymldaily — archives GitHub views/clones
build_city_coords.pyon demand, when the map reports a low match rate

Daily is not a preference for the traffic job: GitHub serves only a 14-day window, and whatever falls out of it cannot be recovered.

Secrets

NameValue
GA_PROPERTY_ID317041191
GA_SA_KEYJSON key for a service account with Viewer on that property
AI4EPS_TRAFFIC_TOKENPAT with repo scope — the default GITHUB_TOKEN is scoped to this repo alone and 403s on the others

Locally

export GA_PROPERTY_ID=317041191
export GOOGLE_APPLICATION_CREDENTIALS=~/.config/ga/ga-reader.json
python scripts/visitor_map.py
export GH_TOKEN=$(gh auth token)
python scripts/github_traffic.py --org AI4EPS

data/ne1-relief.jpg is the basemap, committed so the render never depends on naturalearthdata.com.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages