Making an Extension for v3

I want to make an extension for the v3 version of the software, so I don’t have to rewrite it later. Is there a development guide to run the v3 server or is it too early in development to run?

1 Like

The server v3 is not at an alpha release yet, and there is also not yet a development guide for you to compile it yourself. @r.w.bowman might be able to help with a current compiled image, but i don’t know whether that would enable you to develop an extension.

The tool to customise the image is here:

If you can run that (needs linux, qemu-arm-static, and a few other disk image related utilities - I mostly use Ubuntu 24 in WSL2, i.e. on my Windows laptop), it will download a stock Bookworm image and install everything that’s required on it.

“Extensions” for v3 are simply “Things” as defined by labthings_fastapi, which is about the one thing I have made a start on documentation for:

https://labthings-fastapi.readthedocs.io/en/latest/

I do now have a server purchased, and once I’ve found time to set it up I’ll be able to share a pre-release image. I think v3 currently works about as well as v2, but may be slightly more faff to set up, and is missing a few features. I should probably “get it out there” as a nearly-complete alpha, because that will help focus effort on the most important features to re-implement from v2.

@Nico Once you’ve got a working version of v3 pre-alpha installed, I’m happy to give you some pointers on making a Thing if that’d be helpful. I’d say it’s easier than adding them for v2