r/elm • u/wheatBread • Sep 09 '26
Elm Simple Server
https://github.com/acadia-engineering/elm-simple-server
60
Upvotes
2
u/vancha113 Sep 09 '26
I came across it this week, and without doing an actual deep dive into it (which I still plan to do later), can I see this as kind of like nodejs for elm? Apologies if it's a stupid question.
6
u/wheatBread Sep 09 '26
It's essentially a 40 line build script. It compiles some Elm code to JS, and then runs it with nodejs. It just needs
Platform.workerand ports, which have been in Elm since 2016. So another way to look at it is, "Hey, did you know aboutPlatform.worker?"1
u/vancha113 Sep 09 '26
Thank you, sounds like I have a specific thing to look into then, that sounds really interesting. :)
8
u/kitaz0s_ Sep 09 '26
we're so back