It’s hot. 33°C is hot, here in Switzerland. Nobody I know has air conditioning and I don’t have it, either.
In 2015 I was tinkering with a minimal wiki written in Go and I just dug it out, dusted it off, made some changes, and deployed it!
Check out the README file, as hosted by the wiki itself. It’s very minimal.
I wrote a longer piece about it, on the new wiki.
The features that the web server can handle I did not implement. So deploying it on the Internet as opposed to your laptop requires some web server administration know-how. This is why the README file is larger than expected. I use Apache and Debian and so that’s what I document.
Apache handles:
In my case, I use fail2ban to watch my Apache logs, so the site is also protected somewhat against overloading.
I added trigram based search to the wiki. If such sites are used for the external brain, search is important. For the moment I index all the files as the server starts up and then I keep the index in memory. I should figure out how to save it to disk, I guess. Right now the wiki only has four pages so I think I’m going to take it slow and only add features when they are needed.
Oddµ #Oddµ #Wiki
(Please contact me if you want to remove your comment.)
⁂
I keep wondering what to do. I suspect that what I want to do is generate a static copy of this site, and then deactivate the wiki, serving only the static files. The benefit is that I don’t have to turn the wiki markup into markdown. Perhaps I could turn the HTML into markdown eventually? But that’s OK.
Take a look at the static copy. 😀
I’m trying to make sure the static copy gets updated whenever this wiki is edited, but so far the extension isn’t working as expected. All this stuff is too complicated for me as I grow older, I fear.
I’ve also disabled the wiki for editing by others, for the moment. Still need to figure out whether this is something I really want to do. I’ve had Oddmuse chugging along for over 20 years.
– Alex 2023-08-25 12:14 UTC
---
One thing I need to do is down case all documents when indexing and all search terms for the trigram search for it to be case-insensitive.
– Alex 2023-08-27 16:33 UTC
---
Another thing I’m thinking about is “add at the beginning” and “add at the bottom” instead of just “edit this page” because that’s what I do often and it’s awkward on mobile.
– Alex 2023-08-27 16:34 UTC
---
The feed replacement for this blog would be something like my bot account, @alexschroeder. The RSS feed is provided by Mastodon. I could keep posting updates manually, with a human summary.
– Alex 2023-08-27 20:06 UTC