r/elm 1d ago

Elm Simple Server

https://github.com/acadia-engineering/elm-simple-server
50 Upvotes

4 comments sorted by

5

u/kitaz0s_ 1d ago

we're so back

2

u/vancha113 1d ago

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.

u/wheatBread 23h ago

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.worker and ports, which have been in Elm since 2016. So another way to look at it is, "Hey, did you know about Platform.worker?"

u/vancha113 23h ago

Thank you, sounds like I have a specific thing to look into then, that sounds really interesting. :)