News icon

A news site with no server, no database and no bill

One Python script, one scheduled GitHub Action, plain HTML.

News refreshes a front page of top stories every 30 minutes, yet there is no server, no database and nothing to pay for. Here is how.

Under the hood

One script, one schedule, plain pages

A small Python script with no third-party dependencies reads a categories config file. Each section lists its feeds there, so adding a category or a source is one line.

A scheduled GitHub Action runs the script every 30 minutes and builds plain HTML pages: the front page, a page per section, a page per story, an RSS feed and a Google News sitemap. It commits them to the site, which redeploys on its own. The running cost is nothing.

Nothing is lost when a story drops off the front page. The site keeps every story it has shown in a permanent archive, and the homepage's Latest news row keeps loading older stories from it as you scroll. Every day of it is listed in the News archive.

0Third-party packages
1Line to add a source
1JSON file