https://vimeo.com/956066721?share=copy
Midas is my answer to the question can I replace npm scripts (or bash/make) with Gleam. The answer is mostly yes.
An interesting note is that all my sites (https://gleamtours.com/ included) are all built/deployed with Midas. Even my weekly tweet about the latest newsletter is automated in a Gleam script.
I'm not 100% sure what this will look like when I have finished. The closest project to what I am trying to do that I have found is https://encore.dev/