Blog

A personal reader for Drupal

I'm happy to announce that the personal reader project I've been writing for Drupal is now available for download! You can install it on your website, and as a PWA on your phone or tablet. No more third party applications, just pure HTML, css and the power of Drupal. The layout is heavily influenced by the Mastodon project, but needs more tweaks to fix the responsive behavior.

ActivityPub for Drupal

After a couple of weeks of coding and testing, I've tagged a first alpha release of the ActivityPub module for Drupal! It implements the protocol so that you can communicate with other Drupal sites or platforms which support ActivityPub. Remote accounts on for example Mastodon or Pixelfed can follow any user on a Drupal site now and read content, like posts and reply from their platform.

Offline speech to text to trigger custom commands on Android with Kaldi and Vosk

Speech to text on Android usually means using the built-in speech recognizer which connects with Google cloud. Offline recognition is possible too, and, let's be honest, support for 120 languages is pretty impressive. However, I'd like to experiment, and also be as consistent as possible when it comes to building and using open source, so I started looking for alternatives.

Send me a webmention with Drupal!

After months of reading, experimenting and a lot of coding, I'm happy that the first release candidate of the Drupal IndieWeb module is out. I guess this makes the perfect time to try it out for yourself, no? There are a lot of concepts within the IndieWeb universe, and many are supported by the module. In fact, there are 8 submodules, so it might be daunting to start figuring out which ones to enable and what they exactly allow you to do.

Exclude entities which have a redirect from the search api index

For a custom project, we use a taxonomy to tag nodes. Some terms have their own page, while others redirect to a node. The search on the site has one index which contains both nodes and terms, but the terms which are redirecting shouldn't show up when viewing a search results page. While it's possible to use hook_search_api_index_items_alter(), a nicer way to exclude them is by using a processor plugin so you can enable them in the UI per index. The relevant code is underneath. Adjust to your own likings - and maybe inject the service if you want to as well :)