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. Pixelfed, Federated Image Sharing

Pixelfed, Federated Image Sharing

Scheduled Pinned Locked Moved Solved App Wishlist
48 Posts 14 Posters 7.9k Views 13 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.
  • S stantropics

    @girish said in Pixelfed, Federated Image Sharing:

    @stantropics +1, will you be submitted a PR to @doodlemania2 's repo?

    This is now done. 🙂

    @mehdi said in Pixelfed, Federated Image Sharing:

    That is normal. As /app/data is a volume, it does not exist yet during build time, it is only there at runtime. So you cannot put stuff there in the dockerfile and expect it to be there. You can, however, do just the ln part, and do the copy as a cp in start.sh.

    Makes sense! However, the code does work. When I do a cat /app/code/pkg/.env inside the apps terminal (in recovery mode as it won't start up) it prints the entire and correct config.
    I have created this issue to work on it:
    https://git.cloudron.io/doodlemania2/pixelfed/-/issues/1

    If someone can help to move the config I would appreaciate it. 🙂

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #35

    @stantropics said in Pixelfed, Federated Image Sharing:

    However, the code does work

    Yes, that's because docker has a "feature" that if it copies files from the docker image into a volume on first run. So, if you put files in /app/data in Dockerfile, it gets copied over on first run into the /app/data volume. For cloudron packages, we don't use this feature (by convention) since this feature is kind of arcane.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stantropics
      wrote on last edited by stantropics
      #36

      The genius @mehdi helped to finally get the config-problems solved. I have put everything in a MR under https://git.cloudron.io/doodlemania2/pixelfed/-/merge_requests/4

      • Config rework
      • Activity Pub activation
      • Move config to /app/data

      Now let's get this official 🙂

      1 Reply Last reply
      1
      • doodlemania2D doodlemania2

        You can clone the repo locally and deploy it with the Cloudron CLI: https://cloudron.io/documentation/custom-apps/cli/#installing

        scookeS Offline
        scookeS Offline
        scooke
        wrote on last edited by
        #37

        @doodlemania2 Just did it, worked well, thanks. But it seems to start out with 256MB of ram, and crashes right away. Anyway to have it start with more ram?

        A life lived in fear is a life half-lived

        S 1 Reply Last reply
        0
        • scookeS scooke

          @doodlemania2 Just did it, worked well, thanks. But it seems to start out with 256MB of ram, and crashes right away. Anyway to have it start with more ram?

          S Offline
          S Offline
          stantropics
          wrote on last edited by
          #38

          @scooke Latest MR is not merged yet. I am increasing RAM in this one:
          https://git.cloudron.io/doodlemania2/pixelfed/-/merge_requests/4/diffs?commit_id=bba93ea1da4da8c83388014361ea85db120b1bb3

          However, my first test shows that it is still not enought. For me, this only happens after setup. After this it runs smooth, even with 256MB of RAM.

          scookeS 1 Reply Last reply
          1
          • S stantropics

            @scooke Latest MR is not merged yet. I am increasing RAM in this one:
            https://git.cloudron.io/doodlemania2/pixelfed/-/merge_requests/4/diffs?commit_id=bba93ea1da4da8c83388014361ea85db120b1bb3

            However, my first test shows that it is still not enought. For me, this only happens after setup. After this it runs smooth, even with 256MB of RAM.

            scookeS Offline
            scookeS Offline
            scooke
            wrote on last edited by
            #39

            @stantropics Interesting, yes, I noticed the same thing. But I increased the ram anyway to 2048.

            A life lived in fear is a life half-lived

            S 1 Reply Last reply
            0
            • scookeS scooke

              @stantropics Interesting, yes, I noticed the same thing. But I increased the ram anyway to 2048.

              S Offline
              S Offline
              stantropics
              wrote on last edited by
              #40

              @scooke That is what I do, but it might not be possible for users with smallers instances. 🙂

              scookeS 1 Reply Last reply
              1
              • S stantropics

                @scooke That is what I do, but it might not be possible for users with smallers instances. 🙂

                scookeS Offline
                scookeS Offline
                scooke
                wrote on last edited by
                #41

                @stantropics true

                A life lived in fear is a life half-lived

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #42

                  Thanks a lot 🙂 I will take a look soonish. Looks like all the hard works is done!

                  1 Reply Last reply
                  1
                  • doodlemania2D Offline
                    doodlemania2D Offline
                    doodlemania2
                    App Dev
                    wrote on last edited by
                    #43

                    I've merged that in @stantropics ... @girish may not accept it for production given it uses /app/data, but maybe! 🙂

                    1 Reply Last reply
                    2
                    • M Offline
                      M Offline
                      mattp
                      wrote on last edited by
                      #44

                      Hi, based on this thread it seems PixelFed might be headed to the App Store? If yes, is there a ballpark on timing? I'm stoked to add this but trying to decide whether I should wait for the App Store or do it manually now.

                      murgeroM 1 Reply Last reply
                      1
                      • doodlemania2D Offline
                        doodlemania2D Offline
                        doodlemania2
                        App Dev
                        wrote on last edited by
                        #45

                        Yep! I hear they are working on it soonish. +@girish FYI 🙂

                        girishG 1 Reply Last reply
                        3
                        • M mattp

                          Hi, based on this thread it seems PixelFed might be headed to the App Store? If yes, is there a ballpark on timing? I'm stoked to add this but trying to decide whether I should wait for the App Store or do it manually now.

                          murgeroM Offline
                          murgeroM Offline
                          murgero
                          App Dev
                          wrote on last edited by
                          #46

                          @mattp Honestly I'd wait. If you need ActivityPub right now, Nextcloud has an addon you can install to enable it. Which would allow you to speak to friendica, Matodon, pleroma, etc etc.

                          Then once this is in the appstore, you can move your data.

                          --
                          https://urgero.org
                          ~ Professional Nerd. Freelance Programmer. ~

                          1 Reply Last reply
                          3
                          • doodlemania2D doodlemania2

                            Yep! I hear they are working on it soonish. +@girish FYI 🙂

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #47

                            @doodlemania2 I have started the work here https://git.cloudron.io/cloudron/pixelfed-app

                            1 Reply Last reply
                            3
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by girish
                              #48

                              Pixelfed is now published in unstable 🙂 Thanks a lot @doodlemania2 , I will lock this thread. I have created a category for pixelfed under apps.

                              1 Reply Last reply
                              5
                              • girishG girish locked this topic on
                              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