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. Pixelfed
  3. Mobile App support

Mobile App support

Scheduled Pinned Locked Moved Solved Pixelfed
12 Posts 5 Posters 1.8k Views 5 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.
  • rmdesR Offline
    rmdesR Offline
    rmdes
    wrote on last edited by rmdes
    #1

    I have asked the Pixelfed dev's what need to be done to be able to use PixelDroid or Fedilab directly with one's instance, this is their reply :

    Mobile support is not activated by default, it needs to be activated manually.

    To enable mobile app support*

    (in the Cloudron context use : sudo -u www-data run php artisan "command" in the app/code/ location )

    • Run php artisan passport:keys (this generates a bunch of keys, ends without error)

    • Add OAUTH_ENABLED=true to .env (I have added this to env.production)

    • Run php artisan config:cache (this runs without error)

    • Run php artisan route:cache (this also runs without error)

    • Run php artisan passport:client --personal (this creates a personal access client token)

    70e47901-3fcf-411f-83a0-58beaa829b26-image.png

    What should we name the personal access client? [rMdes Pixelfed Personal Access Client]:

    rMdesApp

    Personal access client created successfully.
    Client ID: 1
    Client secret: verylongnumbersletterstoken

    Once all these steps are done, you can use PixelDroid or Fedilab to connect to your Pixelfed instance from your mobile and you're good to go !

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

      this is OUTSTANDING! I'm excited to see their official apps come out (closed beta I guess at the moment??)

      Trying this now on my very busy instance 🙂

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

        @girish - can we add this to the doc?

        1 Reply Last reply
        3
        • murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #4

          Does this need to be done for each user? or the app needs this to allow login for any user?

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

          rmdesR doodlemania2D 2 Replies Last reply
          0
          • murgeroM murgero

            Does this need to be done for each user? or the app needs this to allow login for any user?

            rmdesR Offline
            rmdesR Offline
            rmdes
            wrote on last edited by
            #5

            @murgero I think once it is done, it's for all the users of this instance!

            1 Reply Last reply
            0
            • doodlemania2D doodlemania2

              this is OUTSTANDING! I'm excited to see their official apps come out (closed beta I guess at the moment??)

              Trying this now on my very busy instance 🙂

              rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #6

              @doodlemania2 Pixeldroid is already pretty cool for a Alpha app :))
              and Fedilab is almost built around mastodon & pixelfed from the get go
              so you can really use the pixelfed features from the fedilab app directly
              I'm quite impressed if this is just the begining, I'm so glad I can really stop using Instagram my pixelfed instance is now my main driver for pictures from mobile & desktop 🙂

              1 Reply Last reply
              1
              • murgeroM murgero

                Does this need to be done for each user? or the app needs this to allow login for any user?

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

                @murgero Hopefully once per instance, but given it looks like it is creating some sort of PAT, that makes me wonder. I know the Pixelfed team is working on official mobile apps, so surely it wouldn't require PATs per user.

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

                  @rmdes said in Mobile App support:

                  Fedilab

                  Absent the official apps, still been looking for a good iOS app for Pixelfed.

                  1 Reply Last reply
                  0
                  • scookeS Offline
                    scookeS Offline
                    scooke
                    wrote on last edited by
                    #9

                    @rmdes said in Mobile App support:

                    OAUTH_ENABLED=true

                    Thank you for posting this. I also can now post remotely. If anyone is interested, my instance is @lenote.eu. I am @scooke. I add this because the one time I was able to search, and find, and follow someone was when they shared their entire name @username@theirinstance.com

                    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
                      #10

                      @rmdes Great write up, thanks. I will integrate this into the package itself so that the mobile app is enabled by default. Can't think of any reason why it's not (I think we do similar for monica app)

                      doodlemania2D 1 Reply Last reply
                      1
                      • girishG girish

                        @rmdes Great write up, thanks. I will integrate this into the package itself so that the mobile app is enabled by default. Can't think of any reason why it's not (I think we do similar for monica app)

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

                        @girish Will you bump the package when ready?

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

                          @doodlemania2 done 🙂

                          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