A server component, the GitHub REST API and hourly caching: how the stats section on this site works.