Galacteek on Cloudron
-
@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 ..