Jan-Lukas Else

Tech, life and everything else

šŸ’¬ Micro

This section is for short notes, thoughts or IndieWeb interactions.


Published on in šŸ’¬ Micro

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?

View

Published on in šŸ’¬ Micro

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.

View

Published on in šŸ’¬ Micro

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

Published on in šŸ’¬ Micro

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.

View

Published on in šŸ’¬ Micro
Updated on

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.

View

Published on in šŸ’¬ Micro

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.

View

Testing uMatrix

Published on in šŸ’¬ Micro

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?

View

Published on in šŸ’¬ Micro

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:

View

Published on in šŸ’¬ Micro

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.

View

Published on in šŸ’¬ Micro

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.

View

Jan-Lukas Else