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.8k 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.
  • E Offline
    E Offline
    echokos
    wrote on last edited by
    #7

    I’m surprised this hasn’t gained more traction.

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

      Pixelfed is recommended by both PRISM Break and PrivacyTools
      https://prism-break.org/en/all/#media-publishing
      https://www.privacytools.io/providers/social-networks/#social

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

        All - I have begun packaging this based on instructions found here as well as basing it off of PHP Lamp. It's still VERY rough (IE, doesn't fully build yet), but would appreciate some eyes on it.

        https://git.cloudron.io/doodlemania2/pixelfed

        Currently, I'm trying to decide whether the initial setup goes in Dockerfile (would think so) or in start.sh in the uninitialized section. It's been a VERY long while since I attempted to package something, so am more than a little rusty 😉

        Also, my run.sh is doing an artisan migrate force on each run - thinking that is a good thing cause run wouldn't know if the container updated, but maybe there's another pattern somewhere that is better.

        cc: @girish

        murgeroM 1 Reply Last reply
        6
        • doodlemania2D doodlemania2

          All - I have begun packaging this based on instructions found here as well as basing it off of PHP Lamp. It's still VERY rough (IE, doesn't fully build yet), but would appreciate some eyes on it.

          https://git.cloudron.io/doodlemania2/pixelfed

          Currently, I'm trying to decide whether the initial setup goes in Dockerfile (would think so) or in start.sh in the uninitialized section. It's been a VERY long while since I attempted to package something, so am more than a little rusty 😉

          Also, my run.sh is doing an artisan migrate force on each run - thinking that is a good thing cause run wouldn't know if the container updated, but maybe there's another pattern somewhere that is better.

          cc: @girish

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

          @doodlemania2 Using start.sh is not a good idea since the code is in a readonly filesystem - Gotta do the build and most the setup in Dockerfile during packaging.

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

          doodlemania2D 1 Reply Last reply
          2
          • murgeroM murgero

            @doodlemania2 Using start.sh is not a good idea since the code is in a readonly filesystem - Gotta do the build and most the setup in Dockerfile during packaging.

            doodlemania2D Offline
            doodlemania2D Offline
            doodlemania2
            App Dev
            wrote on last edited by
            #11

            @murgero the app lives in data, not code, so it should be okay, but I'm open to putting it in the Dockerfile anyways to make initial startup faster. One of the challenges is that upstream doesn't do releases, we're just pulling from a branch. Will ponder some more on it though.

            murgeroM 1 Reply Last reply
            1
            • doodlemania2D doodlemania2

              @murgero the app lives in data, not code, so it should be okay, but I'm open to putting it in the Dockerfile anyways to make initial startup faster. One of the challenges is that upstream doesn't do releases, we're just pulling from a branch. Will ponder some more on it though.

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

              @doodlemania2 EDIT: Nevermind - I see now how you have to set it up. The only change I would make is instead of copying from /app/code/pkg, I would just put the source in /app/data/ so the user can dynamically update their instance.

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

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

                So, /app/data isn't available to work with during docker build, so it has to be in startup.sh, but once the app gets published, it will stay current via CR's processes and of course, end customers are able to modify /app/data as they see fit via terminal.

                One thing I'm struggling with (almost fixed), is how to copy everything from pkg over to the /app/data inclusive of dot files and folders, otherwise, artisan gets fussy. More soon!

                murgeroM 1 Reply Last reply
                2
                • doodlemania2D doodlemania2

                  So, /app/data isn't available to work with during docker build, so it has to be in startup.sh, but once the app gets published, it will stay current via CR's processes and of course, end customers are able to modify /app/data as they see fit via terminal.

                  One thing I'm struggling with (almost fixed), is how to copy everything from pkg over to the /app/data inclusive of dot files and folders, otherwise, artisan gets fussy. More soon!

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

                  @doodlemania2 Yes it is, just put this at the top of Dockerfile:

                  RUN mkdir -p /app/data
                  

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

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