Service Packaging (Why so difficult?)

Greetings everyone!

I am total newbie and I found it it is very hard to do service packing. I’ve tried for hours using the help of ChatGPT and following the instructions from the documentation.

I would like to pack the services like I2P (Invisible Internet) and FRIGATE (NVR IP cameras)

I manage to generate the image.tar from the DockerHub following the documentation but I always get stuck at this part:

Maybe I am totally stupid but the documentation is not very clear for me to understand. What am I missing?

(If anyone here offer paid work to help pack these services I would be happy to chat)

It would be also cool if the expert people here could help to pack all those UmbrelOS apps (so many! So nice!). I almost moved to Umbrel but I didnt do it because it not fully opensource and I prefer StartOS.

Thank you and long live this amazing project!

1 Like

Service packaging is hard for a total newbie, but you should be proud that you are going for it!!! I suggest you start with packaging hello world first. See the wrapper on github: GitHub - Start9Labs/hello-world-startos: wrapper for building a [service].s9pk

The documentation and the packaging approach are changing significantly with the upcoming release of 0.4.0. If you’d like to prepare yourself to do packaging in the new paradigm, getting familiar with typescript is a very good place to start. See: The starting point for learning TypeScript

There are many software packages that I would like to see packaged for StartOS as well. There is a fan site where folks can add their favorites and give thumbs ups for services already there.

3 Likes

Hello Jesse, I’m looking at the mentioned hello world example, and the first step in the manual (Set up your environment) is already problematic - the link doesn’t exist. Could someone please prepare a proper hello world example? I’m completely lost and AI can’t figure it out either. Thanks!

Welcome to StartOS!!! Glad to have you here. The current version packaging documentation is here: Start9 | Service Packaging

BUT version 0.4.0 is in late Alpha testing so you might prefer to start packaging for 0.4.0 straight away.

I suggest you join the Matrix Start9 Developer Space. There is a jitsi conference call twice a week (Monday/Thursday at 10am Mountain Time) which is an open forum to discuss, ask for help or just watch others as they are working on their packaging.

Is there a particular service you are looking to package?

Hello again, Jesse, thanks for your kind help, I am glad to be here. I am not doing anything fancy at the moment, just transferring some simple scripts from the paid VPS to my own private node, so I don’t have to renew the VPS subscription again. And my own package seems to be a natural way to accomplish this on Start9. Btw. after more AI assisted digging I understood that the trick was simple, “git -C ./hello-world-startos checkout v0.3.5” - checkout the correct version including the manifest file… .-)

1 Like

I just leveraged AI to code my first package. Started with https://github.com/Start9Labs/ai-service-packaging and went from nothing to MVP (minimum viable product) in under a week. Check out this github repo and use this to help you with your packaging efforts…