ascia.tech

Crystal Devcontainer Template

· C.M. Hobbs

I decided to play with Crystal a bit a couple of weeks ago. I used to use Ruby quite heavily, so the syntax was really natural to me. It was super enjoyable and I used the opportunity to explore devcontainers as well.

Back when I first started using Bluefin for development, I tried to get up and running with DevPod because I really enjoyed Code Spaces and GitPod. I ran into some snags and eventually learned that the implementation that shipped with Bluefin wasn’t quite ready for prime time. More recently, they’ve shipped a stable version so I tried to build a devcontainertemplate for Crystal project I was working on.

Most of the documentation for devcontainers is for VSCode but I happen to be stuck on Zed at the moment. Fortunately, DevPod has good Zed integration and after a few hours of yak shaving, I ended up with a working example: crystal-devcontainer-template

Hopefully somebody else finds it useful, too. At some point I’d like to integrate ameba-ls into the template.

#100daystooffload #crystal #devcontainer #linux #devpod

Reply to this post by email ↪