[BLOG] Opam 104: Sharing Your Code, by OCamlPro

Greetings Cameleers,

We’ve just released a new blog post: Opam 104: Sharing Your Code

This article is the final entry in our opam deep-dives series, and it focuses on a key step in every OCaml project’s life: making it easy for others to work with your code — and sharing it with the wider community.

We cover two practical topics:
• Quickly setting up a complete development environment for an existing project
• Releasing your package to the official opam-repository

Along the way, we look at developer-focused opam install workflows, local switches, dependency locking with opam lock, and reproducible setups for teams and CI. We then walk through publishing a package using opam-publish, with a clear explanation of how releases actually make their way into opam.

The post stays hands-on and workflow-oriented, building on the previous Opam 101–103 articles, and wraps up the opam10x series with a full start-to-release pipeline.

:memo: Read it, and the rest of the opam deep-dives on the OCamlPro Blog !

Perfect for developers onboarding to an existing project, or for anyone preparing to publish their first OCaml package, and of course, the curious beginner Cameleer !

As always, feedback welcome!

— The OCamlPro Team

10 Likes

In principle I think it’s a very good idea, but man, maybe it’s only me, but the color scheme you used on this website hurts, to the point I really don’t feel like reading. :disguised_face:

4 Likes

I think (for me, and maybe for others?) the purple background and the white text on top of it are fine and readable, but the blue links blend a bit too much on that background and are a bit hard to read in my opinion!

I’m not sure if my colour-blindness plays a role, but I hope OCamlPro takes our comments as constructive criticism if others report similar feedback!

1 Like

As a workaround, they seem to have an RSS feed at ocamlpro.com/blog/feed that embeds the content of their blog posts. Reader Mode in Firefox also eliminates the background colour, if you prefer the in-browser experience to the RSS reader experience.

3 Likes

thanks, good remark, I forgot about this reader mode

Hello @sanette and @hummy123

Dario here, co-author for the blog post! Thank you for your feedback. We definitely value constructive criticism, and I will try to improve our readers’ experience any way I can. Until then, as @kit-ty-kate said – thank you too by the way – there are workarounds to the eyesores ! :sweat_smile:

Best regards!

4 Likes

@sanette , @hummy123 , I’ve increased the brightness of links on our website. This improved the contrast, hopefully you’ll have an easier time reading through our stuff without the Reader. This is a small change, I wish I could do more right now. ^^

Again, thank you for your feedback,

Best regards,
Dario

1 Like