News for hackers. Stuff that matters.
Re:Ask HN: What interesting problems are you working on? by atheiste on Wednesday January 29, 2020 @04:44AM (#22178904)
I am working on a blogging platform that does not need any backend (in terms of an app listening for http connections). The overall architecture is an web app that is talking to WebDAV and then pages get build by a static site generator. I use getpelican.com but you can use Hugo or Jekyll based on your preference.
Re:Ask HN: What interesting problems are you working on? by Chris2048 on Thursday January 30, 2020 @07:29AM (#22190868)
How would that work? surely something needs to serve the static content to a http request?
Re:Ask HN: What interesting problems are you working on? by atheiste on Wednesday February 12, 2020 @05:18AM (#22307582)
You are right of course. There is still nginx taking care of everything. The point is that you need nothing but nginx/caddy/Apache.

Currently, I don't know any way how to initiate execution of scripts over http server so there is a systemd timer checking changes in files and recompiling the whole site. This has lot of downsides. The easiest would be if the static generator reacts on existence of a specific file - recompiles the site and removes the file afterwards.