Also in the future, maybe it would be cool to spli...
# github-workflows-kt
l
Also in the future, maybe it would be cool to split github-workflow-kt into 2 libraries: 1. Common MPP library with dsl for generating yamls (could be useful e.g. in Kotlin/JS based wizards in browser for github actions/workflows authors) 2. More opinionated kotlin-script based "glue" library/tool for updating yamls, adding consistency checks, etc.
p
We cloud extract the MPP library so that it would be consumed by the Kotlin Script library, and it could even be backwards-compatible. However for now you're the first person suggesting such use case, and I'm unable to invest into it right now, however I'm happy to discuss contributions 😁
👍 1
could be useful e.g. in Kotlin/JS based wizards in browser for github actions/workflows authors
I'm trying to imagine how it would work - we'd have to be able to compile Kotlin in the browser, and the compiler so far works only on the JVM right? or am I misunderstanding this idea?
l
Idea is to be able to implement a lot of simple compose-web apps as clickable frontends for typical github actions configurations. Apps would use github-workflows-kt to generate yaml content user can copy&paste to github web. So we wouldnt give apps users full access to DSL, just simplified wizards for typical configurations. No compiler needed.
👍 1
It could also be browser extension, that recognizes github pages and automate putting resulting yaml into repo a bit further, so user don
dont have to copy and paste yaml by hand Anyway user dont even have to know there is any kotlin used
p
Ok, got it. I'm fine with extracting such DSL lib, but I probably won't create any app that uses it right now, I just have too much on my plate regarding this project. So if you're keen to contribute, I'd be happy to review PRs
👍 1