Could you share more information or code about how you transform your knowledge base notes into Hugo pages? I tried creating a wiki or knowledge base on my website too, but somehow I still miss a good workflow to make more use of it. And do you create all notes directly in English or do you translate them later?
š¬ Micro
This section is for short notes, thoughts or IndieWeb interactions.
I just migrated my main server (a VPS at Hetzner) from RancherOS to Alpine. While I considered Alpine already as a Docker host when I setup RancherOS, Alpine wasnāt Docker-host-ready yet. But time passed and now itās even simpler to setup a Alpine Docker host than it is to install and maintain a RancherOS server. I really love Alpine for itās simplicity and lightweight size and use it as a base image whenever I need to create a Dockerfile. Letās see if Iāll get any unpleasant surprises or if everything works as expected. And sorry for any downtime of my blog or website.
The ActivityStreams module for Hugo should work with image attachments too. This is a test post to see how they are displayed on Mastodon.
But I want to take the opportunity to introduce my readers to Unsplash, where you can find many nice photos for free use. Like this picture from NASA.
š¼ļøĀ View
Mastodon doesnāt support āArticleā posts and only shows the summary from them. But not only that, it doesnāt seem to unescape escaped HTML and thatās why articles from my blog looked so weird on Mastodon, while they worked fine on Pleroma and Microblog.pub. I now fixed the escaping. My Hugo module for ActivityStreams representation is available on Codeberg.
I migrated from a self-hosted mailcow-dockerized to the hosted version of Mailcow. Itās just because I donāt want to care about keeping everything up-to-date, secure and backup-ed. Now I have some stricter limits, but in the past I didnāt reach that limits and I doubt I will reach them ever. To migrate all emails, I used the online version of imapsync.
To answer the question why I didnāt migrate back to Fastmail (which I used previously): With Mailcow I have the possibility to create up to 20 different mailboxes instead of just one. Furthermore, Mailcow is hosted in Germany and since I am enthusiastic about the open source project, I would like to support the person behind it.
I just added a page that lists all the photos from this blog. Itās my alternative to using Instagram. Everyone can view my photos without the need to create an account, seeing advertisements and getting tracked. It was also a little challenge getting Hugo to filter and list all posts.
Testing uMatrix
Iām now trying to get used to the browser extension uMatrix. Itās a bit more advanced than uBlock Origin by the same developer and it letās me select on which domains to allow or block cookies, css, scripts etc. I enabled the setting to block JavaScript by default, because I noticed that especially news sites sometimes load much faster (or at all) with JavaScript disabled and of course this reduces the amount of tracking a lot. Do you have experience with uMatrix and any tips on how to make the most use out of it?
Youāre right, I just took another look at the specs and corrected the template and added the āmediaTypeā attribute and set it to HTML. Now microblog.pub shows the summary correctly (even with rendered HTML), Pleroma shows the content correctly (without markup), but Mastodon shows the raw HTML code of the summary. :thinking_face:
I think I finally got ActivityPub support for this blog working. On Mastodon, you can search for @en@jlelse.blog and @de@jlelse.blog to follow the English and German blog. You should also be able to search for the URL of any post and reply to it. But remember that itās only possible for the reply to appear in the āInteractionsā if your profile isnāt locked (so your reply is visible to the public). I will write about my implementation later, when Iām sure everything is working correctly.
I wonder if I will even be able to finish my ActivityPub implementation during this holiday. ActivityPub is somehow more complex than expected and unfortunately there are not many implementations to get inspiration from. Meanwhile my idea is to use Hugo to generate ActivityStream JSON files which are then sent to the followers with my own implementation. To do this I have to configure Caddy (the server that delivers my blog) to return the JSON files when an āAcceptā HTTP header is received and I have to proxy certain request routes to the implementation. I have to think about it again, work out a plan, implement the whole thing and when this is done, document everything.
