Blog de Notes

When I came to #Mastodon I directly engaged with the bot possibilities, and so I started my own RSS feed bridge to publish in the #fediverse. This is around a year and a half ago.

Since then, my EchoBot evolved quite a lot in stability and functionalities, but moved a bit away from the initial idea of having a personal companion that pings me when new content has published.

Recently I took its last version, stripped out everything not meant to be in a RSS feed reader, and added mentions interaction, to give birth to a new bot: the Masto-Feed.

Today I just finished the last details after seeing it working nice for the last month, and I am proud to present it to you in this blog post.

Continue Reading...


As I presented LaDragonera.com days ago, I have a #Pixelfed instance that I maintain on my own. It has been running and federating for almost a month and I am proud to see how well now behaves with the current load.

In this article I go through the steps I did to bring it up into a #RaspberryPi under #Docker.

Continue Reading...


Hosting an instance like #Mastodon or #Pixelfed under #Docker makes you deal with Docker images every time a new version comes or simply when you apply any customization, like changing the logos or so on. The process is not really complicated but there are some caveats that keep an eye on.

Here I focus on my Pixelfed instance at LaDragonera.com.

Continue Reading...


Tocava una posada al dia al Droplet que tinc a DigitalOcean, que em serveix algunes webs entre elles aquest blog. Ja està vell i l'Ubuntu 18.04 es queixa sovint. He creat un segon Droplet amb Debian 11 i he migrat sel.lectivament. Ara toca presentar-ho en societat...

Ai l'as, el DNS, la seva propagació i les cache a tants nivells, inclús a casa!

Continue Reading...


Una de les optimitzacions que es recomanen per a millorar el rendiment de les #RaspberryPi és moure el sistema operatiu a un disc dur conectat per USB3. Amb les "noves" Raspberries aquest procès és encara més fàcil.

Buscant millorar l'estabilitat de LaDragonera, he volgut aplicar-ho a la Rasbperry Pi que la mou i ha estat més fàcil del que m'esperava!

Continue Reading...


LaDragonera.com és el primer domini que vaig registrar ara deu fer uns 20 anys. Ha passat per diferents fases, essent reciclat al llarg d'aquest temps per donar nom a diferents projectes de la meva fornada.

Ara presenta una instància Pixelfed on publico fotos pròpies, servit des d'una Raspberry Pi des de casa.

Continue Reading...


Should be no surprise at this point that I like to work with wood. Actually, I love to make my own stuff and wood simply has a great value return for money and effort investment (oh please stop that!). As my GF and me like to play board games, I decided to build one of the first games I liked when I was a child, Othello, and have it done for Xmas.

Continue Reading...


Seguint amb el primer article sobre les èines del programador Python, aquí parlo de cobrir el codi amb un estil definit mitjançant un autoformatter i un linter, assegurar la funcionalitat amb tests, i que aquestes comprobacions es passin automàticament en cada push a un Pull Request de GitHub. De fet, aquest és el setup que tenim al meu equip i ens garanteix uns mínims de coherència i qualitat al nostre codi.

Continue Reading...


L'altre dia li donava una volta al mòdul de Python que mantinc, amb les llibreries bàsiques que uso en els meus projectes personals. Tenia ganes d'aplicar les comprovacions que en el meu equip apliquem al nostre codi, com a pràctica i com a repàs personal, i ja de pas documentar-ho en una sèrie d'articles.

En aquest primer parlo de l'estructura bàsica d'un mòdul en Python i de les èines que hi utilitzo, Poetry i el Makefile, com a preparació de la segona part en la que parlaré d'autoformat, linter, tests i un xic d'automatització.

Continue Reading...


At this point should not be anything new that I'm playing with my own Mastodon instance. It is meant to be focused on a village in the core of Catalunya, so the scope is so small that I'm alone there 🤪

This also brings me the opportunity to work towards some goals kinda freely: get as much related content as possible, as much automated as possible. So next direct step is: from whom can I get more content? And then, how? Once you answer the first, the second usually comes as a bot getting content from RSS feeds or other Mastodon or Twitter accounts. And because life is not fun otherwise, let's reinvent the wheel and do everything from scratch: a bot to get and publish content to Mastodon.

Continue Reading...