Stream: show and tell

Topic: Roc Packages Webpage


view this post on Zulip Hannes (Apr 26 2024 at 03:23):

https://hasnep.github.io/roc-packages

I found it annoying having to go to each Roc package's GitHub page and finding the URL for the latest release, so I made a small page that has all the public packages and their releases, with a button to copy the URL

It uses a combination of searching GitHub for repos where the main language is Roc and a static list of known Roc packages. If you know of a Roc package that has a release and isn't on that list, then please let me know so I can add it :)

view this post on Zulip Zeljko Nesic (Apr 26 2024 at 09:54):

Pretty awesome that webpage is written in Roc <3

view this post on Zulip Hannes (Apr 26 2024 at 12:30):

Yeah, I'm pretty inexperienced with web dev, but (unsurprisingly) Roc was great for writing a web page. :) I still turned to Python for the data scraping though, would be nice to have it all in Roc :sweat_smile:

view this post on Zulip Richard Feldman (Apr 26 2024 at 12:35):

very cool, thanks for putting this together!

view this post on Zulip Richard Feldman (Apr 26 2024 at 12:36):

so about 20 packages as of right now - I would have guessed there were only half that many out there!

view this post on Zulip Eli Dowling (Apr 27 2024 at 07:47):

I think something is broken :(
image.png

view this post on Zulip Hannes (Apr 27 2024 at 08:23):

Hah, I just accidentally deployed a bad commit, but I didn't fix it immediately because I assumed nobody would check it in the next 15 minutes :sweat_smile: thanks for reporting, it's fixed now

view this post on Zulip Hannes (Apr 27 2024 at 08:25):

The list of packages has been updated and now contains 30 libraries and platforms!

view this post on Zulip Hannes (Apr 27 2024 at 08:26):

90fc0843-671b-493a-828f-bd8fc933a8f2.png

view this post on Zulip JRI98 (May 09 2024 at 15:03):

Awesome idea, saves me a ton of time. Just one thing I found: the link for roc-lang/basic-cli is pointing to the docs archive instead of the package itself

view this post on Zulip Hannes (May 10 2024 at 05:01):

JRI98 said:

the link for roc-lang/basic-cli is pointing to the docs archive instead of the package itself

Thanks for pointing this out, it's fixed now :)

view this post on Zulip kukimik (May 10 2024 at 07:42):

Nice! Note that the w3c validator reports some HTML errors: https://validator.w3.org/nu/?doc=https%3A%2F%2Fhasnep.github.io%2Froc-packages%2F. It looks like at least some of these may be upstream issues (in the html library).

view this post on Zulip Hannes (May 10 2024 at 08:34):

Nice, I'll tell the person who maintains the roc-html library about it :+1:

view this post on Zulip Hannes (May 10 2024 at 08:35):

Hi, it's me the maintainer of roc-html, I'll have a look at fixing this on Monday :grinning_face_with_smiling_eyes:


Last updated: Jul 06 2025 at 12:14 UTC