A script for Go dependency updates
I regularly update the dependencies of my blog software, a Go based project. Dependency updates are important because they can contain security fixes or fixes for bugs.
Tech, life and everything else
I regularly update the dependencies of my blog software, a Go based project. Dependency updates are important because they can contain security fixes or fixes for bugs.
I started working on plugins for GoBlog using a Go module I recently discovered: yaegi. It still feels like magic, because Go is typically a compiled language and yaegi makes it dynamic by embedding an interpreter. Is this overkill for GoBlog or does this possibly enable flexibility like WordPress plugins?
So far I configured most (almost all) settings for GoBlog through a YAML file. But this is not so optimal, after all it happens sometimes that I want to change a small setting, such as the description of a post section, from my smartphone. This would work somehow via SSH, but ideal is something else. Email conversations with Andrés Cárdenas inspired me to finally start the project “settings in the database”. The first step was to make it possible to configure the mentioned post sections. This is now finally possible directly via an administration web interface! This should also be a good step in the direction of making GoBlog more friendly for other users and of course it makes my life easier as well.
Yesterday I announced a spontaneously developed GoBlog feature, reactions. The post also got a lot of reactions, over 900 times the buttons were pressed. But I also got some comments.
Not only Telegram implements new features, I spontaneously had an idea and a bit of programming desire. As an optional feature GoBlog now offers “reactions”. I don’t think I need to explain this feature, just try it out on this post. 😉
Mastodon 3.5 finally supports the Update ActivityPub activity. GoBlog supports sending updates for quite a while already, but only Pleroma showed the updated posts and not Mastodon. That would have been useful recently, when I posted “Spaces!” but wanted to post “Tabs!” and updated my post. 😅
Not too long ago I reported how I build the Docker images for GoBlog using Drone and Docker-in-Docker.
My blog(s) just got a new feature: A link to the current day archive (🇩🇪). There it is possible to see posts on today’s date in earlier years. Even more features are linked on my More (🇩🇪) page, by the way.
Finally I have implemented a kind of trash in GoBlog. When I delete a post, it is first marked as deleted and can be restored within 7 days. Unfortunately the integration with ActivityPub is not that easy. ActivityPub allows to Undo a Delete activity, but Mastodon doesn’t support that, just like Mastodon doesn’t support Updates. 🙄
I subscribe to the Hacker News front page via RSS. There is a lot of stuff there that I just mark as read without taking a closer look. But sometimes something catches my eye and I take a closer look. Today “Show HN: A tool to send push notifications to your phone, written in Go” is one of them.