MelaM
Mela
Apr 15

Making the Preset Format More User Friendly

In the long run, the preset format should become super simple for editing in text editors. And of course, users can use LLMs for editing. Mela 7.6 is making it possible to cut, copy and paste modules via the actions menu: - As an alternative to drag-and-drop, action menus now provide Cut, Copy, and Paste actions. - A module can be inserted, appended, or used to replace another via the Paste action. - A copied module can be pasted into another instance of Mela, as a file in Finder or Files, or as text in a text editor. - A preset copied from Finder or Files can be pasted as a module into an instance of Mela. - Presets can be edited in a text editor, for example, by changing parameter values, then pasted back as modules (as long as the format remains intact). Currently, the format is JSON, but the plan is to simplify it further to maximise clarity and minimise the effort required to make edits. At some point, the format will be properly documented, but in the meantime, I will leave some useful notes here.
ProgressIn Progress

May 1, 2026

Haven't left any notes here thus far because I'm changing and experimenting with the format every day. The main goal remains to make it as simple as possible for the user to edit. I haven't reached the point where I'd switch from JSON yet, but when I do, Pkl is a strong candidate. But I have to test it first: https://pkl-lang.org

Progress
changed status toIn Progress·Apr 15, 2026