jlelse's Blog

Thoughts, stories and ideas

👨‍💻 Dev

Welcome to the Dev section of my blog with development related articles.


Using the Google Text-to-Speech API to create audio versions for blog posts

Published on in 👨‍💻 Dev
Reply to: A question by Ashwíṅ Víshnú

Ashwíṅ Víshnú asked how I created the audio version for my latest post. Here’s a way how you can use the Google Text-to-Speech API to create MP3s from text. A simple way to try this API without a Google Cloud account is to follow these steps:

View

Pure CSS Lightbox in Hugo theme

Published on in 👨‍💻 Dev

Hugo themes have the option to override the default rendering of Markdown images by using “Markdown Render Hooks” since version 0.62.0. By creating a file in layouts/_default/_markup named render-image.html it is possible to use a custom template for rendered images. This gives a lot of flexibility. I just used that flexibility to create a lightbox with pure CSS (without using JavaScript, like many lightbox implementations do). After clicking (or tapping) on an content image, you will see it filling the browser view. Another click brings you back to the content.

View

Adding ActivityStreams representations to Hugo

Published on in 👨‍💻 Dev
Updated on

I promised and people already asked, so here is the first part of the documentation about how I enabled ActivityPub support on my Hugo-based blog:

View

How I automatically create my blogroll

Published on in 👨‍💻 Dev
Updated on

I just updated my blogroll and thought that it might be a great idea to share my workflow to do exactly that. I use Miniflux a lot. Using Miniflux, I read all the blogs and get all the news, get updates from all the YouTubers and even subscribe to some Mastodon accounts (fediverse microblogs). I use multiple categories to sort the feeds. One of those categories is “Blogs” with all the blogs, which I also list on my blogroll.

View

Use system fonts to make your site load faster

Published on in 👨‍💻 Dev
Reply to: How To Self-Host Your Web Fonts

Although it’s great to self-host your web fonts instead of using a service like Google Fonts (that may decrease the privacy of your site’s visitors, because Google can log IP addresses and other stuff), it’s probably not necessary to use web fonts at all. Every PC or tablet or phone has a lot of fonts already pre-installed, which are more than perfect for displaying your website (unless you take a lot of care about corporate design or your personal brand and require a specific font).

View

How to do PESOS from Pocket to Micropub

Published on in 👨‍💻 Dev
Updated on

After thinking about it, I finally figured out how to PESOS from Pocket to my own site using IFTTT. I tried to do it in a similar way to how Charlotte Allen did this.

View

How to Get a Completely Free Website

Published on in 👨‍💻 Dev
Updated on

In this post I want to show with which services and tools it is possible to run a completely free website. An own website not only offers the possibility to create your own professional web presence, it can also make you independent from silos like Facebook, Twitter or Medium. It is always better to publish content on your own page with your own domain. If a service changes the terms of use or ceases operation, it is so much easier to move to another service.

View

Mount NTFS partition images on Linux

Published on in 👨‍💻 Dev

Today I started sorting out a couple of old computers from the flat. To save the data from those, I took the hard drives, connected them via adapters to my PC and cloned each partition to a huge external hard drive. Now I have a bunch of NTFS partition image files. One also with Windows 2000. 😅

View

Vanilla GNOME on Ubuntu

Published on in 👨‍💻 Dev

In my previous post about the operating systems I use, I wrote:

View

GitLab Telemetry: Use Non-Commercial Alternatives Instead

Published on in 👨‍💻 Dev

Yesterday, GitLab sent an email to all users (and wrote a blog post) telling that they are updating their terms & services (to which you have to agree) to include a new third party service to track and analyze the behavior of their users, so that they better understand how their users interact with GitLab.

View

Previous

Next