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.
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2
    App Dev
    wrote on last edited by
    #15

    Just a quick update to those watching this space. I've got the app loading the DB and getting up and running now. Last things to deal with are:

    1. An apache error that throws out a 403, probably my .htaccess
    2. Moving the logs to /run
    3. Try one more time to leverage /app/code but at least this way works!
    1 Reply Last reply
    5
    • doodlemania2D Offline
      doodlemania2D Offline
      doodlemania2
      App Dev
      wrote on last edited by
      #16

      The app is finished packaging and works pretty well! Final Cloudron specific tweaks like tests, medialinks, etc and then I guess it can publish. If you want it now, you can grab it from my repo: https://git.cloudron.io/doodlemania2/pixelfed and do cloudron install 🙂

      murgeroM S B 3 Replies Last reply
      3
      • doodlemania2D doodlemania2

        The app is finished packaging and works pretty well! Final Cloudron specific tweaks like tests, medialinks, etc and then I guess it can publish. If you want it now, you can grab it from my repo: https://git.cloudron.io/doodlemania2/pixelfed and do cloudron install 🙂

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

        @doodlemania2 How does it handle cloudron server reboots? Has this been tested? It wont try to reinstall pixelfed will it 😉

        Do you have documentation on how to update the code on new releases of pixelfed?

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

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

          It's destined to be a standard app for Cloudron so will support server reboots, etc. Some tweaks will need to be made by the CR teams for it to move into the app store but will work with them on those over the coming days.

          1 Reply Last reply
          5
          • doodlemania2D doodlemania2

            The app is finished packaging and works pretty well! Final Cloudron specific tweaks like tests, medialinks, etc and then I guess it can publish. If you want it now, you can grab it from my repo: https://git.cloudron.io/doodlemania2/pixelfed and do cloudron install 🙂

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

            @doodlemania2 Awesome, thank you so much! I would love to test it, but do you know if there is any way to "migrate" once its release officially in the appstore?

            murgeroM 1 Reply Last reply
            0
            • S stantropics

              @doodlemania2 Awesome, thank you so much! I would love to test it, but do you know if there is any way to "migrate" once its release officially in the appstore?

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

              @stantropics You would need to backup and restore the database and public files (like user uploads since PixelFed is an image hosting service like IG)

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

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

                Correct, also make sure to do a backup of the database. The app as it is now supports the in built cloudron backup, so it SHOULD work for you, but no promises 🙂

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #22

                  Pixelfed can be accessed on Android from Fedilab --- a multifunctional client to access the distributed Fediverse
                  https://f-droid.org/en/packages/fr.gouv.etalab.mastodon/

                  murgeroM 1 Reply Last reply
                  1
                  • ? A Former User

                    Pixelfed can be accessed on Android from Fedilab --- a multifunctional client to access the distributed Fediverse
                    https://f-droid.org/en/packages/fr.gouv.etalab.mastodon/

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

                    @Hillside502 Fedilab is a decent client too - used it for a while when I was still in the AP scene. Works great on Pleroma too I heard?

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

                    ? 1 Reply Last reply
                    0
                    • murgeroM murgero

                      @Hillside502 Fedilab is a decent client too - used it for a while when I was still in the AP scene. Works great on Pleroma too I heard?

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #24

                      @murgero AP?

                      jdaviescoatesJ murgeroM 2 Replies Last reply
                      0
                      • ? A Former User

                        @murgero AP?

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #25

                        @Hillside502 said in Pixelfed, Federated Image Sharing:

                        AP?

                        I'd guess ActivityPub

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        0
                        • ? A Former User

                          @murgero AP?

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

                          @Hillside502 @jdaviescoates is correct - AP is short for ActivityPub (the backend for communication in Mastodon, and a supported protocol in Pixelfed 🙂 )

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

                          1 Reply Last reply
                          1
                          • doodlemania2D doodlemania2

                            The app is finished packaging and works pretty well! Final Cloudron specific tweaks like tests, medialinks, etc and then I guess it can publish. If you want it now, you can grab it from my repo: https://git.cloudron.io/doodlemania2/pixelfed and do cloudron install 🙂

                            B Offline
                            B Offline
                            blavkm
                            wrote on last edited by
                            #27

                            @doodlemania2

                            Hi, I am not a expert but I understand many things and I am learning everyday, can you guide me how to use your package on Cloudron? or point me where to look?

                            Thanks in advice, and thanks to @murgero that point me out about your package.

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

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

                              B scookeS 2 Replies Last reply
                              4
                              • doodlemania2D doodlemania2

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

                                B Offline
                                B Offline
                                blavkm
                                wrote on last edited by
                                #29

                                @doodlemania2 thanks

                                1 Reply Last reply
                                2
                                • S Offline
                                  S Offline
                                  stantropics
                                  wrote on last edited by
                                  #30

                                  Thanks to @doodlemania2, @mehdi, @girish and everybody who has worked on this so far - it looks pretty good and I cannot wait to have it as an official app.

                                  Just wanted to share my current experience and my thoughts with the community.
                                  While testing it I found there are two aspects that can be improved:

                                  1. Federation does not work and even configuring it in .env to
                                  ACTIVITY_PUB=true
                                  REMOTE_FOLLOW=true
                                  ACTIVITYPUB_INBOX=true
                                  ACTIVITYPUB_SHAREDINBOX=true
                                  

                                  doesn't seem to make it work. I'm tinkering with it but haven't found a solution so far.

                                  1. .env should be placed somewhere under /app/data so it can be edited by the user (e.g. for changing the instance name, activating/deactivating ActivityPub, setting max filesize etc.).

                                  Unfortunately, something like

                                  COPY .env /app/data/storage/config/.env
                                  RUN ln -fs /app/data/storage/config/.env /app/code/pkg/.env
                                  

                                  in the Dockerfile does not work. Pixelfed can't load the config correctly as it throws errors during startup.

                                  S mehdiM 2 Replies Last reply
                                  1
                                  • S stantropics

                                    Thanks to @doodlemania2, @mehdi, @girish and everybody who has worked on this so far - it looks pretty good and I cannot wait to have it as an official app.

                                    Just wanted to share my current experience and my thoughts with the community.
                                    While testing it I found there are two aspects that can be improved:

                                    1. Federation does not work and even configuring it in .env to
                                    ACTIVITY_PUB=true
                                    REMOTE_FOLLOW=true
                                    ACTIVITYPUB_INBOX=true
                                    ACTIVITYPUB_SHAREDINBOX=true
                                    

                                    doesn't seem to make it work. I'm tinkering with it but haven't found a solution so far.

                                    1. .env should be placed somewhere under /app/data so it can be edited by the user (e.g. for changing the instance name, activating/deactivating ActivityPub, setting max filesize etc.).

                                    Unfortunately, something like

                                    COPY .env /app/data/storage/config/.env
                                    RUN ln -fs /app/data/storage/config/.env /app/code/pkg/.env
                                    

                                    in the Dockerfile does not work. Pixelfed can't load the config correctly as it throws errors during startup.

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

                                    I solved issue number one today using those config parameters for AP:

                                    ## Activity Pub
                                    ACTIVITY_PUB=true
                                    AP_REMOTE_FOLLOW=true
                                    AP_INBOX=true
                                    AP_SHAREDINBOX=true
                                    AP_OUTBOX=true
                                    ATOM_FEEDS=true
                                    NODEINFO=true
                                    WEBFINGER=true
                                    

                                    Furthermore I got the information that in ordner to make federation work you need to follow a person from another instance and a person of this instance need to follow you so the other instance knows about yours.

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

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

                                      I am just finishing up metabase, I can look into getting pixelfed published after that.

                                      S 1 Reply Last reply
                                      2
                                      • S stantropics

                                        Thanks to @doodlemania2, @mehdi, @girish and everybody who has worked on this so far - it looks pretty good and I cannot wait to have it as an official app.

                                        Just wanted to share my current experience and my thoughts with the community.
                                        While testing it I found there are two aspects that can be improved:

                                        1. Federation does not work and even configuring it in .env to
                                        ACTIVITY_PUB=true
                                        REMOTE_FOLLOW=true
                                        ACTIVITYPUB_INBOX=true
                                        ACTIVITYPUB_SHAREDINBOX=true
                                        

                                        doesn't seem to make it work. I'm tinkering with it but haven't found a solution so far.

                                        1. .env should be placed somewhere under /app/data so it can be edited by the user (e.g. for changing the instance name, activating/deactivating ActivityPub, setting max filesize etc.).

                                        Unfortunately, something like

                                        COPY .env /app/data/storage/config/.env
                                        RUN ln -fs /app/data/storage/config/.env /app/code/pkg/.env
                                        

                                        in the Dockerfile does not work. Pixelfed can't load the config correctly as it throws errors during startup.

                                        mehdiM Offline
                                        mehdiM Offline
                                        mehdi
                                        App Dev
                                        wrote on last edited by
                                        #33

                                        @stantropics said in Pixelfed, Federated Image Sharing:

                                        Unfortunately, something like
                                        COPY .env /app/data/storage/config/.env
                                        RUN ln -fs /app/data/storage/config/.env /app/code/pkg/.env

                                        in the Dockerfile does not work. Pixelfed can't load the config correctly as it throws errors during startup.

                                        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.

                                        1 Reply Last reply
                                        0
                                        • girishG girish

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

                                          I am just finishing up metabase, I can look into getting pixelfed published after that.

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

                                          @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 1 Reply Last reply
                                          1
                                          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