2023-07-11 Thinking about switching away from Oddmuse

I can hear the Rhône outside. We’re in a hotel in the Goms region, the very beginning of the Rhône. It’s the second week of our trip to the Vallais. – Pictures on the fediverse

Pictures on the fediverse

Things that have been troubling me:

Oddmuse started out as a CGI script written in Perl. This is great for very small and dynamic sites: Most of the time, nobody is visiting and the process isn’t running. As activity increases (and search engines and bots activity increases!) a CGI script is an increasingly bad idea. Every time, you load the Perl binary, it loads the script, parses the script, runs the script, loads the libraries, parses the libraries, and so on.

These days, I run a Mojolicious server which keeps the script in memory and reruns it for every request. The webserver acts as a proxy server for all of this. And it’s somewhat tricky: Every now and then there are processes that won’t die, accumulating, see 2023-06-28 Reduced Site Functionality.

2023-06-28 Reduced Site Functionality

There’s also the problem of comments. I like comments about my posts, most of the time. But there also aren’t a lot. I think it’d be even nicer if people posted their related posts on their own blogs, or their replies on social media, or sent me an email.

I’ve been writing Phoebe, a Gemini-first wiki. It’s also a Mojolicious application. And occasionally it also runs into problems. My Transjovian site has been down, occasionally, needed a restart. And then we get into all the system administration issues: you need systemd or Monit to check the services and to restart them, and on and on.

Phoebe

And then I find something like blg, a static blog generator written in a single fish script, by @jameschip. Perhaps I could use that as a starting point.

blg

@jameschip

I’d want to keep all the main pages of this blog of course. But other than that…

The first edit on this site was made 2002-06-23. Some pages were part of an earlier, hand-written site.

Anyway, I’d like to keep that, of course. Should I ever want to edit old pages again, of course, I’d have to rewrite the markup. There’s no point in trying to write a parser that handles all the old special cases.

And then, if I still want a comment section, I can reintroduce a CGI script. 😆

Same for search.

​#Blogs

I also tried to write a quick-and dirty HTML exporter and that didn’t work, so I think I need an even quicker and dirtier exporter!

Perhaps I should just rewrite the wiki engine. Use a framework like Mojolicious. Drop all the features that part of multi-person wikis like history pages and diffs.

Oddµ