[ViTransfer] Help to learn how to package

Hello !

I’d like to contribute and learn the hardway, by packaging an app.
I’ve been in the matrix chat asking help to “where to begin”. I then have read all doc and check everything about git which I didn’t knew at all.

Now I’m stuck on the app side : “ GitHub - MansiVisuals/ViTransfer: ViTransfer - A modern selfhosted video feedback and sharing solution · GitHub

There are 2 branches, dev & main. I get that I should use the main for stability.
I find all the files of the app in the “src” (source I think). The other are for docker I guess ?

But then it’s only done to be able to install it easily using docker and docker-compose.
I don’t really find the way to install / compile for yunohost app. I found that the langage using is typescript, so I dig into already pack app using this langage, and using video to match the best :
Peertube, owncast & sync-in are using this langage and are able to handle videos sharing. I can may be compare, but what ? ^^’

I then am stuck. Dunno know where to begin. Some tips to help would be great ! :smiley:

Have a good day !

Hello and nice to see you want to package an app!

It’s maybe not the best app to begin with, because it’s docker-only and there is no instruction to install it on a bare-metal.

The best is to use the release/tag so you have a stable experience (e.g. https://github.com/MansiVisuals/ViTransfer/archive/refs/tags/v0.9.6.tar.gz).

Not entirely correct. Most of those directories are needed.

When I’ve to install an app where no info is given to build from sources, I usually check the Dockerfile to reproduce the installation (ViTransfer/Dockerfile at main · MansiVisuals/ViTransfer · GitHub). There you can find the needed commands.

But again, it’s not an easily app to package, especially for a first package.

1 Like

Thank you.

I’ll check that and update this thread. I would really need this app professionally, that’s why I’ll begin with it. If I can get an app made “for docker”, that mean I could do every app as now they are almost all “made for docker”. So that’s the positiv point !

It’s the hardway as I said. I’m willing to try, and follow your advice. I’ll ask more question also I guess… Thank you for this path to take.

You just ask in the repo for a guide on how to install it on debian without docker

I did it, the repo holder answer : ”if you ask, that mean you don’t have knowledge, all is made easy using docker. Then use docker.“

So, I get that if I need it, I’ll use docker now on my server.

And meanwhile, I’ll bang my head some times to try to get it done and packed here :smiley:

That doesn’t mean you don’t want to improve your knowledge..

I don’t know what to do, to laugh :joy: or to be sad :frowning:

May be he doesn’t know himself

2 Likes