I’ve been working on rebuilding my personal website. I want a system where my writing is stored in plain text/markdown. For my blog posts, this is easy, I make a commit and the site will rebuild with the new article.

The problem comes when I want to also host my own notes (basically my mastodon posts). It can work the same way, but I expect to have vastly more notes that posts. Reading and parsing this many files at runtime just isn’t very efficient.

Via Mastodon

I also need to be able to create notes without redeploying as that seems likes a wasteful process.

I would have to create the note file on the server so that the note page could be published and also create the file using the GitHub api so that the note is persisted.

I know there are solutions to all of these issue, but they all involve compromises on how I want to store my data or involve writing and maintaining more code that I’d like to.

Via Mastodon