Stream: show and tell

Topic: project - packages.elm-book.com


view this post on Zulip Georges Boris (Apr 16 2023 at 12:34):

hey folks,

I'm working on the next version of a package I maintain for the Elm ecosystem and alongside the new package version I'm also planning on doing something more ambitious (that is where Roc comes in)

I want to create a website that automatically generates elm-books for any package on the elm package registry. it should be able to read from two api's, one that serves the package docs as json and also the repo itself so I can generate extra interactive stuff (if those are available for the package).

So for that I would need to:

In short, sounds like a pretty fun and low-stakes project to do in Roc! So I thought about creating this topic on show and tell to maybe talk about it and report advancements? Maybe there would be a better stream for it?

Anyway, I'd also love to ask if you would consider any of those things something tricky to do these days and could benefit from waiting until X is complete. Thanks :)

view this post on Zulip Brian Carroll (Apr 16 2023 at 13:31):

Responding to http is the only one I haven't seen yet. The others are all supported by the "basic cli" platform, I believe.

view this post on Zulip Georges Boris (Apr 16 2023 at 13:40):

@Brian Carroll forking the basic-cli into a simple webserver could probably be the way to go, right? perhaps making main = request response handler

view this post on Zulip Rene Mailaender (Apr 16 2023 at 13:41):

Im currently working on the feature to call local programs from the basic-cli. its a wip right now, with out propper responses from the child process or anything, but you can find the current state here: https://github.com/RMailaender/basic-cli/tree/add-cmd
i dont know if there is any other, "better" solution allready. I just looked at the basic-cli and forked it for a own idea. ;)

view this post on Zulip Rene Mailaender (Apr 16 2023 at 13:45):

but it kinda works already non the less: https://roc.zulipchat.com/#narrow/stream/304902-show-and-tell/topic/A.20roc.20that.20builds.20itself/near/350046410
I try to make glue work until the end of the week and make some adjustments to the api.


Last updated: Jul 06 2025 at 12:14 UTC