You can find the code in this git, and there are guides on git how to build and install. I saw Jason started on libcamera implementation, hopefully I will be able to help with that and we can forget about this implementation, but for now I still use it for guiding. Not the best option but fairly good.
It depends on both libcamera and libcamera-apps (provided by Raspberry PI OS). It would be nice if it is just dependency on libcamera, but that would take more work. One problem I encountered is that in detectCamera() We use camera manager. Because also libcamera-apps uses camera manager, this results in some conflicts where only 1 instance can be alive at a time. Despite the fact that the object is destroyed when the function goes out of scope, libcamera crashes when libcamera-apps tries again to create another instance of CameraManager.
I was able to capture from IMX219 camera just fine. This driver is in its early stages.