Solo developer builds serverless trends map covering 176 countries on GitHub Actions
A developer created a tool that displays trending topics for 176 countries and regions on a single map, with each topic linked to its original source. The site was built to run without any server, using a crawler scheduled through GitHub Actions every three hours and deployed as static files on Cloudflare Pages. Fetching Google Trends feeds too quickly triggered throttling, so the crawler uses a shared rate limit, random delays, and retries, which allowed full coverage in about 90 seconds. The author also found that the hosting setup returned the homepage for unknown paths, a soft 404 problem that was fixed by adding a proper 404 page. The post recommends checking other Pages deployments for the same issue.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in