dazgupta.com /posts /journal /tags


30-09-2025

File System Based Blogging Once More

So after another round of deliberation, I think I am going to try and take another hack at creating file-system based blogging. Basically I will have an agent that will run in the background, looking for file-system changes no recursively in a flat directory; Every time there is a file-system change, it will copy over the changed files with some text modifications (to aid in static site generation) to the new directory. Those generated files then can be picked up by a static website generator.

About file mapping, my current idea is to create a map of previously processed files at startup, that way I can avoid creating the previously processed files a second time. This is particularly important, because each file's copy gets a sequence number prepended to the filename, to ensure some sort of sequence information is preserved. In the context of blogging, a newly edited file should not come up on top.

Essentially, this will solve a few issues with filesystem based blogging.

Maybe this time I will finish it.

#coding #rust #software #blogging