The title is actually understating things a bit. This is $0.21 dollars both for ~30k page views of a static file, but also a fairly involved data processing pipeline which feeds into the generation of that static file.
Not sure why this even needs a backend though, as the post above you mentions, this could be made all in the frontend. Doesn't seem like very complicated math.
However, then again $0.21 is not very much but, when it could be free...
It should be possible to scrape the data with AWS lambda and then just push the results onto github and let the browser deal with the data. All for free.
Is such use of Github in compliance with their terms of service?
I've been thinking about using such public git providers to store small amounts of data, possibly encrypted. For example important documents that I don't want to lose. It seems that it'd be ok as long as you manually create the account.
Not really although you probably need to use quite a bit of traffic before it becomes a problem. Your example of personal use only seems fine.
There was a post here a while ago (that I cannot find anymore) about the devs of a package manager of sorts who were asked kindly by Github to do something about their excessive data usage. So it's probably not a good idea to build a company on it.
you can get 30k pagesviews on GAE/github for paying nothing.