Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Galacteek on Cloudron

Galacteek on Cloudron

Scheduled Pinned Locked Moved App Wishlist
galacteekipfs
47 Posts 7 Posters 5.3k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      L Offline
      LoudLemur
      wrote on last edited by
      #1

      Galacteek makes IPFS (Inter Planetary File System) easy. Its tools help you blog, run a Gemini, use IPNS (Inter Planetary Naming System) for content which is updated often, archive and much more.

      https://galacteek.gitlab.io/download/#v052

      There is a Docker:
      https://galacteek.gitlab.io/running-a-node/

      The user interface runs in a password protected, x11vnc service. IPFS is best run in some sort of container, such as Cloudron. (Pinning files effectively publishes one's IP address.)

      micmcM C 2 Replies Last reply
      4
      • L LoudLemur

        Galacteek makes IPFS (Inter Planetary File System) easy. Its tools help you blog, run a Gemini, use IPNS (Inter Planetary Naming System) for content which is updated often, archive and much more.

        https://galacteek.gitlab.io/download/#v052

        There is a Docker:
        https://galacteek.gitlab.io/running-a-node/

        The user interface runs in a password protected, x11vnc service. IPFS is best run in some sort of container, such as Cloudron. (Pinning files effectively publishes one's IP address.)

        micmcM Offline
        micmcM Offline
        micmc
        wrote on last edited by
        #2

        @loudlemur Sounds great, been wanted to get deeper into IPFS for a while so if implemented on CR that could be a nice start.
        +1 for me Cheers!

        Ignorance is not an excuse anymore!
        https://AutomateKit.com

        L timconsidineT 2 Replies Last reply
        1
        • L LoudLemur

          Galacteek makes IPFS (Inter Planetary File System) easy. Its tools help you blog, run a Gemini, use IPNS (Inter Planetary Naming System) for content which is updated often, archive and much more.

          https://galacteek.gitlab.io/download/#v052

          There is a Docker:
          https://galacteek.gitlab.io/running-a-node/

          The user interface runs in a password protected, x11vnc service. IPFS is best run in some sort of container, such as Cloudron. (Pinning files effectively publishes one's IP address.)

          C Offline
          C Offline
          cipres
          wrote on last edited by
          #3

          @loudlemur @micmc Hello, galacteek author here. Recently learned about Cloudron, nice project !

          The docker image for galacteek is about 1Gb and that's a bit much, trying to find ways to reduce that to a minimum. If you have ideas on how to improve the docker image i'm quite interested, i'm not sure the x11vnc thing is ideal but it's worked better for me than the trick with the X11 socket.

          L 2 Replies Last reply
          5
          • micmcM micmc

            @loudlemur Sounds great, been wanted to get deeper into IPFS for a while so if implemented on CR that could be a nice start.
            +1 for me Cheers!

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by LoudLemur
            #4

            @micmc The maintainer, @cipres, has a channel on LBRY and intends to start uploading some short, explainer videos on how to use some of Galacteek's many useful functions.

            https://odysee.com/@galacteek:9

            1 Reply Last reply
            1
            • C cipres

              @loudlemur @micmc Hello, galacteek author here. Recently learned about Cloudron, nice project !

              The docker image for galacteek is about 1Gb and that's a bit much, trying to find ways to reduce that to a minimum. If you have ideas on how to improve the docker image i'm quite interested, i'm not sure the x11vnc thing is ideal but it's worked better for me than the trick with the X11 socket.

              L Offline
              L Offline
              LoudLemur
              wrote on last edited by LoudLemur
              #5

              @cipres I am not sure specifically, but there are some tips about reducing the number of layers, using a smaller base image size (Alpine) and a dockerignore file might help:

              https://learnk8s.io/blog/smaller-docker-images
              https://phoenixnap.com/kb/docker-image-size
              https://www.ianlewis.org/en/creating-smaller-docker-images

              It is great you are here, @cipres ! Please give this amazing developer a big welcome, Cloudron!

              1 Reply Last reply
              2
              • micmcM micmc

                @loudlemur Sounds great, been wanted to get deeper into IPFS for a while so if implemented on CR that could be a nice start.
                +1 for me Cheers!

                timconsidineT Online
                timconsidineT Online
                timconsidine
                App Dev
                wrote on last edited by
                #6

                @micmc : me too +1
                IPFS is interesting but my knowledge needs improving.
                Getting hands on is good for that

                1 Reply Last reply
                2
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  Welcome @cipres !

                  dapps is so cool! I am an ex-Qt developer, btw. I wrote among other things Qt style sheets, QCompleter, QLabel etc 🙂 Good to see QML going strong -

                  C L 2 Replies Last reply
                  5
                  • girishG girish

                    Welcome @cipres !

                    dapps is so cool! I am an ex-Qt developer, btw. I wrote among other things Qt style sheets, QCompleter, QLabel etc 🙂 Good to see QML going strong -

                    C Offline
                    C Offline
                    cipres
                    wrote on last edited by
                    #8

                    @girish Thank you ! Cool, 2011 talk, i'll watch it.

                    Yeah i think writing dapps in QML has some potential (or it could be a complete dead-end :D), i wrote the necessary interfaces so that from the QML code you can use IPFS functions like pubsub, to broadcast messages efficiently to all the peers. Also it integrates with QtWebEngine so you can load a JS-based ipfs page from your dapp ..

                    Most people working with ipfs write dapps in NodeJS, it's the classic approach. Ideally we could mix both ... but QML won't let you do async so i write the complex code in python and call that from the QML side.

                    1 Reply Last reply
                    1
                    • girishG girish

                      Welcome @cipres !

                      dapps is so cool! I am an ex-Qt developer, btw. I wrote among other things Qt style sheets, QCompleter, QLabel etc 🙂 Good to see QML going strong -

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #9

                      @girish Qt is so beautiful! 😊

                      micmcM 1 Reply Last reply
                      1
                      • L LoudLemur

                        @girish Qt is so beautiful! 😊

                        micmcM Offline
                        micmcM Offline
                        micmc
                        wrote on last edited by
                        #10

                        @loudlemur said in Galacteek on Cloudron:

                        @girish Qt is so beautiful! 😊

                        Indeed! 😆

                        Ignorance is not an excuse anymore!
                        https://AutomateKit.com

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          cipres
                          wrote on last edited by cipres
                          #11

                          Some documentation on how to use SparQL and IPFS from a QML dapp

                          https://galacteek.gitlab.io/docs/dapps/sparql/

                          https://galacteek.gitlab.io/docs/dapps/ipfs

                          1 Reply Last reply
                          1
                          • C Offline
                            C Offline
                            cipres
                            wrote on last edited by
                            #12

                            New shapshots and docker image. Now when you search for things on the dweb it's automatically cached as RDF so it's way faster to lookup things later on even being offline.

                            There's also a bash script now to run the latest AppImage snapshot automatically:

                            curl -L https://galacteek.gitlab.io/galacteek-snapshot-install.sh | bash
                            
                            L 1 Reply Last reply
                            1
                            • C cipres

                              New shapshots and docker image. Now when you search for things on the dweb it's automatically cached as RDF so it's way faster to lookup things later on even being offline.

                              There's also a bash script now to run the latest AppImage snapshot automatically:

                              curl -L https://galacteek.gitlab.io/galacteek-snapshot-install.sh | bash
                              
                              L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #13

                              @cipres Thank you!

                              I hope that Galacteek can be packaged for Cloudron. You have kindly created a fresh Docker. Perhaps somebody will now volunteer to package it.

                              C 1 Reply Last reply
                              0
                              • L LoudLemur

                                @cipres Thank you!

                                I hope that Galacteek can be packaged for Cloudron. You have kindly created a fresh Docker. Perhaps somebody will now volunteer to package it.

                                C Offline
                                C Offline
                                cipres
                                wrote on last edited by
                                #14

                                @LoudLemur Managed to get the Docker image down to ~820Mb, based on python:3.7-slim. It can be reduced even more but not that much, i'm surprised by the space the xorg packages take on a debian ...

                                L 1 Reply Last reply
                                2
                                • C cipres

                                  @LoudLemur Managed to get the Docker image down to ~820Mb, based on python:3.7-slim. It can be reduced even more but not that much, i'm surprised by the space the xorg packages take on a debian ...

                                  L Offline
                                  L Offline
                                  LoudLemur
                                  wrote on last edited by
                                  #15

                                  @cipres Well done! Could somebody take a crack at putting this on Cloudron?

                                  C 1 Reply Last reply
                                  0
                                  • L LoudLemur

                                    @cipres Well done! Could somebody take a crack at putting this on Cloudron?

                                    C Offline
                                    C Offline
                                    cipres
                                    wrote on last edited by
                                    #16

                                    @LoudLemur I've read the packaging tutorial, i can write and publish the CloudronManifest.json file in the galacteek repo if that helps. It seems that the docker image url/ref is not specified in the manifest but rather that you need to pass it when you run "cloudron install --image ..." ?

                                    timconsidineT 1 Reply Last reply
                                    1
                                    • C cipres

                                      @LoudLemur I've read the packaging tutorial, i can write and publish the CloudronManifest.json file in the galacteek repo if that helps. It seems that the docker image url/ref is not specified in the manifest but rather that you need to pass it when you run "cloudron install --image ..." ?

                                      timconsidineT Online
                                      timconsidineT Online
                                      timconsidine
                                      App Dev
                                      wrote on last edited by timconsidine
                                      #17

                                      @cipres
                                      Yes you need :

                                      • CloudronManifest.json ( can be simple )
                                      • Dockerfile
                                      • source code

                                      Then :

                                      • docker build -t <reponame>/<appname>:<tag> .
                                      • docker push <reponame>/<appname>:<tag>
                                      • cloudron install --image <reponame>/<appname>:<tag>
                                      C 1 Reply Last reply
                                      1
                                      • timconsidineT timconsidine

                                        @cipres
                                        Yes you need :

                                        • CloudronManifest.json ( can be simple )
                                        • Dockerfile
                                        • source code

                                        Then :

                                        • docker build -t <reponame>/<appname>:<tag> .
                                        • docker push <reponame>/<appname>:<tag>
                                        • cloudron install --image <reponame>/<appname>:<tag>
                                        C Offline
                                        C Offline
                                        cipres
                                        wrote on last edited by
                                        #18

                                        @timconsidine Thank you ! The docker image is already automatically built from gitlab ci and pushed to gitlab's container registry here:

                                        registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc

                                        So apart from the manifest there isn't much else that needs to be done it seems ?

                                        timconsidineT 1 Reply Last reply
                                        0
                                        • C cipres

                                          @timconsidine Thank you ! The docker image is already automatically built from gitlab ci and pushed to gitlab's container registry here:

                                          registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc

                                          So apart from the manifest there isn't much else that needs to be done it seems ?

                                          timconsidineT Online
                                          timconsidineT Online
                                          timconsidine
                                          App Dev
                                          wrote on last edited by timconsidine
                                          #19

                                          @cipres generally nothing else needed BUT I think the Dockerfile may need to be custom to Cloudron. Depends on how complex the Dockerfile is.

                                          • Generally advised to use latest base build
                                            FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
                                            Although I am not entirely sure about whether this is essential.

                                          • May need to consider passing some Cloudron-specific variables for DB connection etc.

                                          • Generally Cloudron deployments are 'static' in terms of system code under /app/code and changeable config and data under /app/data. But again not sure if this is essential.

                                          Someone with more technical knowledge and better packaging experience may be able to explain / advise better than me.

                                          C 1 Reply Last reply
                                          0
                                          • timconsidineT timconsidine

                                            @cipres generally nothing else needed BUT I think the Dockerfile may need to be custom to Cloudron. Depends on how complex the Dockerfile is.

                                            • Generally advised to use latest base build
                                              FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
                                              Although I am not entirely sure about whether this is essential.

                                            • May need to consider passing some Cloudron-specific variables for DB connection etc.

                                            • Generally Cloudron deployments are 'static' in terms of system code under /app/code and changeable config and data under /app/data. But again not sure if this is essential.

                                            Someone with more technical knowledge and better packaging experience may be able to explain / advise better than me.

                                            C Offline
                                            C Offline
                                            cipres
                                            wrote on last edited by
                                            #20

                                            @timconsidine Thanks a lot for your help.The Dockerfile is pretty simple. I don't want to have to maintain 2 different docker images.

                                            Given that the password to access the UI via VNC is printed on the console when the container is started, won't be that be a problem when running it from cloudron ?

                                            timconsidineT 3 Replies Last reply
                                            0
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search