Gui : Modgui online editor

I’ve been building custom pedal graphics for my own plugins and got tired of hand-writing icon.html and CSS. So I made a tool: a single HTML file, no install, works offline in any browser.

What it does

Drop your plugin’s .tar.gz bundle — or just its .ttl — and it reads the ports. Tick the controls you want on the pedal face, place them freely, and pick a knob shape for each: engraved, chicken head, cream vintage, brushed metal, ring, needle, knurled, sliders, toggles, levers, rockers, foot switches and more. Around thirty shapes, plus text, rules, panels, images and nearly forty casing templates (metal, vintage, flat design), all with adjustable bevel, brushed texture, border and shadow.

The second tab builds the settings panel through a custom settingsTemplate: drag controls into named, coloured sections in any order you like. MOD’s own preset and addressing chrome is kept intact.

Control output ports can be shown as live bars or segment readouts on the pedal face — declared via modgui:monitoredOutputs and driven by a generated gui.js.

Export gives you a complete bundle ready to install. If you only loaded a .ttl, you get a modgui kit instead: drop it into your bundle, add one rdfs:seeAlso line to the manifest, done. Your descriptor and binary are never touched.

Interface in English, French, Spanish and German. Projects autosave locally, and casings can be saved as your own templates.

19 Likes

This is really great!

1 Like

Looks amazing!

1 Like

I ran a test; it works very well, apart from a minor bug with the thumbnail—a few elements are missing, not a big deal… Thanks a lot.

2 Likes

Neat!

I don’t really understand the name though. This is not specific to Dwarf of course. Also the term “workshop” can be interpreted in different ways (I initially though this topic was about “giving a Dwarf Workshop” like at a venue for a group of people, or something like this).

1 Like

You’re right, i’ve changed the name.

2 Likes

Hey @Remy_D,

This is really, really great! And thank you for sharing this with the community.
I think we can use this to revive some great plugin shares that only missed UIs.

Eventually, we can see how MOD can escalate this to be used by developers who are eager to create new plugins but don’t want to spend much time creating a UI. Or at least a “first UI”.
Do you have some ideas on how we could use it as a “go-to” for other developers?

PS: I’m quite curious to check what you’re cooking in terms of plugins :slight_smile:

2 Likes

How cool!

sorry I’m struggling to get my head round what to do with the files once Ive created it

But buggered if I can get it to show in the dwarf. I’m using winSCP to get the files across, can anybody show me in small steps with an example on what files need to be in the LV2 root and what the manifest should say. I followed the example but its not working. The plugin is via AI and the cookbook and I’m running Starless at present

The kit isn’t a plugin — it goes inside your existing .lv2 folder, next to the descriptor and the binary:

myplugin.lv2/

manifest.ttl

myplugin.ttl

myplugin.so

modgui.ttl          <- from the kit

modgui/             <- from the kit

Then the line everyone forgets — manifest.ttl must point at it, added to the existing list with a comma:

rdfs:seeAlso <myplugin.ttl> , <modgui.ttl> .

The URI in the manifest must match the one in your descriptor and the one your C code returns.

Restart mod-ui and it should appear. If it doesn’t, don’t guess — the log names the cause:

journalctl -u mod-ui --since “2 min ago” -n 120 --no-pager

Post that output and your manifest.ttl if you’re still stuck. (I’m on a Dwarf, plugins in /root/.lv2/ — check where Starless keeps yours.)

2 Likes

Very cool ideed!!!

Love the interface and the template you provided.

I noticed a couple of things you may want to address:

  • double click to enlarge the plugin doesn’t work
  • the sliders (i only tested vertical ones) don’t move: the parameter gets updated, but visually the slider is always at mid course

Thanks

sorry for late response been a bit busy, ok I’m still struggling with this one, and I know I’m missing something stupid but heres the manifest I created for the arp plugin

@prefix lv2: http://lv2plug.in/ns/lv2core# .
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .

urn:mod-cookbook:holo-arp
a lv2:Plugin ;
lv2:binary <holo-arp_dsp.so> ;
rdfs:seeAlso <holo-arp.ttl>.<modgui.ttl>

I put this in the lv2 folder via winscp and now I can’t even see the plugin even after multiple restarts

Just a bit stuck I’m afraid , so any help would be great

Cheers

Found it — and it’s a one-character problem, so don’t feel bad.

Your last line is:

turtle

rdfs:seeAlso <holo-arp.ttl>.<modgui.ttl>

That full stop between the two files ends the statement. Turtle then reads <modgui.ttl> as the start of a brand new subject that never gets finished, so the whole file is invalid — and an unparseable manifest.ttl means the device skips the bundle entirely. That’s exactly why the plugin vanished rather than just losing its GUI.

The separator between two files is a comma, and the full stop goes at the very end:

turtle

@prefix lv2:  <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<urn:mod-cookbook:holo-arp>
    a lv2:Plugin ;
    lv2:binary <holo-arp_dsp.so> ;
    rdfs:seeAlso <holo-arp.ttl> , <modgui.ttl> .

I ran both through a Turtle parser: yours fails with “syntax error, unexpected end of file”, the version above parses fine.

Two things worth knowing for next time:

Check before you restart. On the device: rapper -i turtle -c manifest.ttl. Silence means it’s good. This catches every typo of this kind in a second.

Plugin missing vs. plugin present but GUI missing are different faults. Missing entirely is nearly always a manifest that won’t parse. Present but plain is the manifest not pointing at modgui.ttl. Knowing which one you have tells you where to look.

Also double-check that urn:mod-cookbook:holo-arp is the exact URI in holo-arp.ttl — it must match character for character, and the cookbook sometimes uses a different one than you’d expect.

1 Like

@prefix lv2: http://lv2plug.in/ns/lv2core# .
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .

Thanks for super quick response, really appreciate that, ok now I have

urn:mod-cookbook:holo-arp
a lv2:Plugin ;
lv2:binary <holo-arp_dsp.so> ;
rdfs:seeAlso <holo-arp.ttl> , <modgui.ttl> .

in ttl file - urn:mod-cookbook:holo-arp

but plugin still not showing up

New version out — you don’t need to write any Turtle at all. Drop your holo-arp.ttl, your manifest.ttl and your .so onto the tool together, design the GUI, and export: you get the complete folder, ready to copy across. It also tells you straight away if your URIs don’t match.

1 Like

ok it create a tar.tgz which i then extracted and copied into lv2 folder on dwarf but still not getting a gui , i’m back running mod os to see if that was the issue but still no ball i’m afraid

…-modgui-kit.tar.gz means the tool only had your .ttl, so it gave you a kit. Its contents (modgui.ttl + modgui/) go inside holo-arp.lv2, not into the plugins folder. Dropped one level too high, everything looks copied but the plugin never sees it — which matches exactly what you’re describing.

…-modgui.tar.gz means you get the whole holo-arp.lv2 folder, and that goes into the plugins folder, replacing the old one.

To get the second kind, drop all three at once onto the tool: holo-arp.ttl, manifest.ttl and your .so. Then you copy one folder across and you’re done.

Either way, this settles it in one command over SSH:

ls -R /root/.lv2/holo-arp.lv2

You should see manifest.ttl, holo-arp.ttl, the .so, modgui.ttl and a modgui folder — all at the same level. If modgui.ttl is somewhere else, or there’s a holo-arp.lv2 inside holo-arp.lv2, that’s your answer.

Paste that listing and we’ll know for sure.

1 Like