📘 Devlog

Other Project Updates

A few updates of some other projects I worked on recently.

Webtools saw some love as I needed some tooling made to make the icon easy to include in the Well Read Flutter project itself. Android expects the logo of a specific size, so I "commissioned" an Android Icon Resizer, which will take one or more PNG files, resize them to what Android expects, and prepare them in a ZIP that could be extracted at the route of the res/mipmap directory. It will also produce a small preview of the icon, rendering it in a circle so you can see how it looks on the device. It's background savvy, layering the icon over the PNG with "background" in the filename.

The Icon Resizer tool.

The background for Well Read is a gradient, so I also added a simple gradient maker to Webtools too. Finally, there was a need to resize the logo without resizing the image canvas size itself so that it looked good in the cut-out circle. This required the commission of the image inner resize tool.

The gradient tool.

It's true I could've used any image editor to do this, but none of them were running and Claude was, so I figured it was easier doing it this way at the time.

I did get my hands a little more dirty with UCL. I was making some changes to Dequoter to allowed users to perform UCL transformations, and I needed a way for the user to reference the current line. UCL has pseudo-variables, so @line was possible here. But I was finishing of a Go template transformation, and much like those templates, I was wondering if a simple dot could work: add . 2, for example. This was a little larger than expected, as it did require changes to the AST, but it was simple enough to knock out in an hour. The host sets the value of dot via the pseudo-variable ., and it even supports direct sub-indexing at the syntax level: add .item.(0) 2.

Oh, and Dequoter now allows actions to specify input values. Here it is being used for a new UCL transform action, which will map each line of the input to the result of a UCL expression.

The action input prompt.

So, quite a busy week few weeks. Not sure what I'll work on next. I do have an inkling of going back to that Godot project that's been on the back-burner for about a month.