Galacteek on Cloudron
-
@LoudLemur said in Galacteek on Cloudron:
@cipres @timconsidine - you people are heroes!
@cipres might be
I'm just a blundering monkeyI'm not convinced it will be possible to get a working build, but we're certainly trying
-
@LoudLemur @timconsidine adapted the Dockerfile for Cloudron, i hope we can fix the remaining issues.
-
@LoudLemur I am finishing packaging it. We're almost there, but resolving some issues.
To be honest @LoudLemur I am not sure that performance as a Cloudron app will be enough for most people. Mostly because it is quite demanding in terms of memory (so if your Cloudron instance is running lots of apps or has limited RAM for the VPS), it will probably seem quite slow.
In addition it will depend where your Cloudron server is located. If it is a VPS in the cloud, which is probably true for 90% of people (??), you will need to use VNC from your local device to the server, over a SSH tunnel. That is going to reduce speed and increase screen refresh/lag times.
If your Cloudron server is on your home network, you won't need a ssh tunnel for the VNC ..... but it will still be VNC speeds for screen activity.
I downloaded the Galacteek app for Mac, and even running locally it is quite demanding (mind you, I do usually have a ton of apps running locally).
I am very interested in IPFS and using this packaging project to learn about the subject (and to advance my packaging skills). But I have to be honest and say that I am very likely to not use a Cloudron-installation of Galacteek, but a native app. So please be sure you check out those options also.
I think for Coudron, we may need some other kind of IPFS server app. But I'm still learning about the subject.
@cipres, if I said something not true in the above, please feel free to correct me ! Actually no, don't feel free : PLEASE correct me.
-
@timconsidine Everything you said is very accurate. The RAM requirements have to be considered, it will likely be an issue on a VPS. Thanks again for doing the work on the packaging, it's never lost ..
The primary use case on cloudron i think wouldn't be to access the UI via VNC (although you still could) but to act as a node on the network to cache linked data. galacteek uses RDF and SparQL (over libp2p tunnels, so it's fully P2P) to exchange linked data between peers. This works pretty well but needs some optimization (synchronization is slow).
I think it's best to wait a bit to see how it can best be deployed, there's no rush.
-
@cipres I don't know if ipfs-lite might be usable and able to reduce the size:
https://github.com/hsanjuan/ipfs-lite
Also, there is an IPFS Docker registry
https://github.com/ipdr/ipdr -
@timconsidine can you share your packaging? happy to look at it as well
-
@doodlemania2 : Sure.
I got it as far as my competencies allowed before the Ukraine war started on 24th Feb
Haven't touched it since then. In Warsaw for 2-3 weeks trying to get family out and get visas.
I will try to find the code, but I am not sure I have access on this laptop. Will check.I'm still bit unsure whether it is a good fit for Cloudron, as per messages above. But maybe your better skills can make it so !
-
@doodlemania2 I seem to have been a bit more efficient than I normally am.
There is a repo here : https://git.cloudron.io/timconsidine/cloudron-galacteek
2 issues :- it's not loading for me at the moment, but looks like there are some files there ! Maybe it will load for you.
- I am not convinced it's the absolute latest version, but maybe that doesn't matter, and you can pick up from a not-quite-latest commit.
I will try to get remote access to the computer in office to check if any o/s commits. But I ran out the door when leaving, so not sure what devices I left on/connected.
-
@timconsidine Not a problem and please take good care of your family! Will look as soon as I can.
-
@LoudLemur Sorry bit of a late reply .. No, go-ipfs really doesn't take much disk space that's not a problem. ipfs-lite only provides the strict minimum (great project), but galacteek needs and uses the whole ipfs stack, things like streams and pubsub.
A flatpak repository is now available. I'll integrate tim's work in the main repo but i can't test it (don't have cloudron).
@timconsidine hope you're ok, thanks again for the work you did on this
-
@timconsidine Built the docker image, all good. Only thing i've changed .. i'm using "python -m http.server 8000" instead of the server.js script to run the health check service. That got me wondering how the "node /app/code/server.js" command could work because nodejs isn't being installed anywhere ?
One question: does the Dockerfile for cloudron need to be named "Dockerfile" ? Or is it allowed to have it named "Dockerfile.cloudron" for example. If not, that's fine i'll symlink it.
-
@timconsidine Just pushed the code in the pimp-my-dweb branch (see Dockerfile.cloudron). Tried the docker image, it works, and the healthcheck on port 8000 should work. Had to fix a few things, /app/code/bin wasn't in PATH, it couldn't find go-ipfs ..