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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Mobile App support

    Pixelfed
    5
    12
    130
    Loading More Posts
    • 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.
    • rmdes
      rmdes last edited by rmdes

      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 Reply Quote 2
      • doodlemania2
        doodlemania2 App Dev last edited by

        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 🙂

        rmdes 1 Reply Last reply Reply Quote 3
        • doodlemania2
          doodlemania2 App Dev last edited by

          @girish - can we add this to the doc?

          1 Reply Last reply Reply Quote 3
          • M
            murgero App Dev last edited by

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

            rmdes doodlemania2 2 Replies Last reply Reply Quote 0
            • rmdes
              rmdes @murgero last edited by

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

              1 Reply Last reply Reply Quote 0
              • rmdes
                rmdes @doodlemania2 last edited by

                @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 Reply Quote 1
                • doodlemania2
                  doodlemania2 App Dev @murgero last edited by

                  @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 Reply Quote 0
                  • doodlemania2
                    doodlemania2 App Dev last edited by

                    @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 Reply Quote 0
                    • scooke
                      scooke last edited by

                      @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

                      1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff last edited by

                        @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)

                        doodlemania2 1 Reply Last reply Reply Quote 1
                        • doodlemania2
                          doodlemania2 App Dev @girish last edited by

                          @girish Will you bump the package when ready?

                          1 Reply Last reply Reply Quote 1
                          • girish
                            girish Staff last edited by

                            @doodlemania2 done 🙂

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post