Peter Stuifzand Notes on software, small tools, and the open web.

Articles

19:00

Digest for Week 46-2026

Read on

14:42

Ek mcp

Ek commandline tool for microsub servers, can now also provide an MCP server. With that it is possible to read the channels, timelines, but also follow feeds and create and update channels.

The MCP just uses the same actions that are possible in Ek and microsub. So it should work with any microsub server. If not please let me know.

22:57

Read your microsub from your browser

What is ek?

The command line programm ek is a small microsub tool, that implements most of the Microsub protocol as commands. You can show the items in a timeline, or list channels, follow or unfollow feeds and so on.

What is reader?

A few years ago, around the same that I create ek, I also created ekstereye. It is hosted at reader.p83.nl. It is a browser only Microsub client, that connects directly with a Microsub server. Everything happens in the browser and there is no server, except for the static files.

This has a big problem. The first problem is that you depend on that your servers supports CORS headers. Your indieauth server, microsub server and micropub server need to support the CORS headers, otherwise the browser will not be able to call the endpoint that is required to login, read microsub or post a like or bookmark.

What is ek reader?

The reader subcommand of ek serves ekstereye as a local web server on your localhost. You first login with ek connect <website> to your website and then run ek reader and it hosts a microsub proxy with the web reader locally on your own computer.

It is a web interface for your microsub server, where you can read and update your channels, feeds and so on. And this is all available in a small 15MB single static binary. The allows you to download 1 files from Github and then read blogs and other feeds right in your browser.

Where can I find it?

On github.

Read on

1 like
19:00

Digest for Week 45-2026

Read on

19:28

Rebuilding my website

Today I have rebuild this website. The first website was (p83) was other software before that used microformats and mostly a short messages type of website, that started using websub and webmentions. This allowed people to subscribe and comment on my website. This website was an old code base with Perl code. The first commit landed 13 years ago.

Today I let Hermes write the whole thing in Go and imported the old posts. I added micropub, Indieauth and webmentions. Then I asked Hermes to also write an Android app. In an afternoon I have a state of the art Indieweb website and publishing workflow.

My content already were just files, I could just import the old posts and webmentions. The links are still the same, even though new permalinks will use year/month/slug instead of just the id's.

I'm very happy to see that I can just replace my website in an afternoon with a more secure and fast version. This will also allow me to shrink my hosting bill a little.

Read on

13:59

Digest for Week 42-2021

Bookmarks

Likes

Notes

  • The JSON data type in MariaDB is an alias to LONGTEXT. It seems that even changing the column type from LONGTEXT to JSON doesn't even change the type in the schema, even though it says it updated something. link
  • It seems it should be possible to read the liters of water used from the water meter with a reed switch or some kind of pulse meter. It seems there are solutions that cost about EUR 80. The water meter that we have, has ways to mount a digital meter on top. Perhaps I can make something that reads the gauge. link
  • Ekster adds _source now as a field to the feed items. link
  • I made some improvements to the WebSub Hub. This should now actually expire old subscriptions. link
  • I'm trying to add the "_source" field to items in Ekster. At the moment it adds the information from the FeedHeader when it is available. link
  • I just pushed a nice improvement for ek. It allows you to use the name or uid of the channel in all commands. This makes working with it a lot easier. No need to remember random IDs. link
  • The coolest feature from Ekster that I forgot about was the new search integration.You can now search for items in your system in specific fields. An example would be a query for name:weekly. The part "name:" would find items with the word weekly appearing in the name. All supported JF2 properties could be looked for. link
  • I just noticed Home Assistant supports Indieauth to get access tokens. That's great! link
  • A few days ago I saw a video by Aaron Parecki talking about PKCE. It seems to be a useful improvement to OAuth and Indieauth.

So today I added this to the weblog. It can now do the extra verification that happens, because of PKCE. It was pretty simple as you can add it as a few steps between the normal authentication. The structure itself stays very much the same. So this was the authorization server side of the protocol. Now I should add this to the clients that I created. link

Replies

Read on

17:28

Digest for Week 41-2021

Bookmarks

Notes

  • Ekster adds _source now as a field to the feed items. link

  • I made some improvements to the WebSub Hub. This should now actually expire old subscriptions. link

  • I'm trying to add the "_source" field to items in Ekster. At the moment it adds the information from the FeedHeader when it is available. link

  • I just pushed a nice improvement for ek. It allows you to use the name or uid of the channel in all commands. This makes working with it a lot easier. No need to remember random IDs. link

  • The coolest feature from Ekster that I forgot about was the new search integration.You can now search for items in your system in specific fields. An example would be a query for name:weekly. The part "name:" would find items with the word weekly appearing in the name. All supported JF2 properties could be looked for. link

  • I just noticed Home Assistant supports Indieauth to get access tokens. That's great! link

  • A few days ago I saw a video by Aaron Parecki talking about PKCE. It seems to be a useful improvement to OAuth and Indieauth.

    So today I added this to the weblog. It can now do the extra verification that happens, because of PKCE. It was pretty simple as you can add it as a few steps between the normal authentication. The structure itself stays very much the same. So this was the authorization server side of the protocol. Now I should add this to the clients that I created. link

Read on

19:04

Starship

Starship is a prompt for your shell. It is customizable, very fast and has great defaults. It supports many tools and programming languages out of the box. It has great Git support.

The speed with which a prompt is shown is important, because it influences the way you work. With a prompt I used before, I noticed that the bigger the Git repository I was working became, the longer it took to show the prompt. Just pressing Enter took some time. Normally this shouldn't be noticeable.

When there are prompts that you don't need, you can easily disable these prompts. Run "starship config" to open your editor on the configuration file. My configuration looks like this. It improves the time formatting and disables some prompt segments for programming languages.

  [time]
  disabled = false
  format = '[$time]($style) '
  time_format = "%H:%M"

  [gcloud]
  disabled = true

  [package]
  disabled = true

  [nodejs]
  disabled = true

  [perl]
  disabled = true

  [php]
  disabled = true

  [lua]
  disabled = true
  

I like Starship, as it is a nice improvement for my terminal and shell.

Read on

19:47

EMS Gateway connected with Home Assistant

In our new home we don't have an OpenTherm compatible boiler. This is no big problem, but I do need a different device to read the information from the boiler. Our Nefit boiler uses a different protocol, called EMS.

The boiler we have, has a special "status" port where you can read the information from the boiler. BBQKees created a small device that can do this. This device has support for Home Assistant through MQTT.

When the device is connected, you can adjust the temperature from Home Assistant using the Thermostat widget on the dashboard. This is really easy to setup and use.

Read on