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


    Cloudron Forum

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

    GNU Social

    Discuss
    3
    17
    841
    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.
    • murgero
      murgero App Dev last edited by girish

      Hello all! I have packaged a PHP based Federated Social Network called GNU Social.
      GNU Social is able to federate with itself, Mastodon, Pleroma, and more that support ActivityPub and OStatus.

      Currently the package is a modified version of the LAMP 7.3 app which enables PSQL in place of MySQL.

      Per GNU Social's README:

      GNU social is a free social networking platform. It helps people in a community, company or group to exchange short status updates, do polls, announce events, or other social activities (and you can add more!). Users can choose which people to "follow" and receive only their friends' or colleagues' status messages. It provides a similar service to proprietary social network sites, but is much more awesome.
      

      App Package Repo: https://git.cloudron.io/murgero/gnu-social

      GNU Social Repo: https://notabug.org/diogo/gnu-social

      What is currently working (Besides the basics!)

      • Federation via OStatus
      • Some* Federation via ActivityPub
      • SMTP, invitations, registrations
      • PSQL replaced MySQL in the app (though MySQL is still available if the issue with NO_ZERO_DATES gets fixed)
      • Admin options
      • The Basic themes (I plan on adding qvitter later!)
      • Redis Queue for backend processing!

      *Federation with ActivityPub servers works decently enough for me to put the app's package source up, but some issues occur here. 1) Getting followed by someone using ActivityPub (Specifically Mastodon??) you never get the notification. There may be other AP issues I am unable to test further for now.

      The configuration of the app I am sure needs tweaking, the scripts will need tweaking, and upstream (See gnu social repo above) is constantly updating so I'll keep an eye out for big configuration changes.

      Installing

      git clone https://git.cloudron.io/murgero/gnu-social gnu-social
      cd gnu-social
      cloudron install --image=mitchellurgero/org.urgero.gs:latest
      

      Or just clone, build in docker and install like any other non-store app.

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

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

        @murgero Thanks a lot! I will add this to the list of apps to get published. I asked elsewhere how actively developed it us, but I see now that it is very actively developed.

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

          Are there any special federation requirements for the app? Or is this based on webfinger?

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

            @girish The only requirement is that the app cannot be in a sub-folder (subdomain of course is fine however!), otherwise the plugins "TheFreedomNetwork", "ActivityPub", and "OStatus" handle federation as needed. It's still WIP/Nightly code, however, for gnusocial to gnusocial it works fine. That said, ActivityPub in GS is still in development.

            On first run it will grab whatever the latest nightly is and run the cli installer in headless. This means first start is about 5 mins or so depending on internet speed and system. I plan to change this so the repo is built into the app before you publish it, but I needed something that could grab the nightly branch quickly without me having to modify any files for testing.

            There is also Diaspora support, but that is pretty untested AFAIK and I am not even sure if that works on PHP7+ yet. I'm still playing around with this app and my Unifi one 🐷

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

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

              @girish What will it take to get this packaged as an unstable app?

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

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

                @murgero Thanks, I have put this on my TODO list. I have a couple of apps in my list already, so I should get to this next week.

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

                  I marked this as WIP now.

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

                    @girish Can we get this as unstable in the app store?

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

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

                      @murgero Yup, it's in my wekan for next week. This week got busy with some app updates. Some apps are not updating cleanly like nodebb...

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

                        @girish I understand, thank you!

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

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

                          @girish any chance this might get packaged?

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

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

                            @murgero oh, what's the current status of the app?

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

                              @girish Working. LDAP is non-existent though.

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

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

                                @murgero That's fine, LDAP is not mandatory. Marked this one as WIP as well.

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

                                  @girish Thank you!

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

                                  jdaviescoates 1 Reply Last reply Reply Quote 0
                                  • jdaviescoates
                                    jdaviescoates @murgero last edited by jdaviescoates

                                    @murgero I had got the impression the GNU Social had mostly died until I looked at the repository you shared:

                                    https://notabug.org/diogo/gnu-social - updated 5 days ago

                                    From what look to be all the old "official" links it seems dead:

                                    https://en.wikipedia.org/wiki/GNU_social - mention last stable release 2014

                                    https://www.gnu.org/software/social/ links to https://gnu.io/social/ which links to https://git.gnu.io/gnu/gnu-social/ where the most recent update was 3 years ago.

                                    But looking at https://www.diogo.site/projects/GNU-social/soc/ it looks like this Diogo chap has been developing it since 2018 (and has implemented ActivityPub plugin?)

                                    What's the deal?

                                    Edit: yeah, Diogo is the lead developer these days.

                                    This seems up to date:

                                    https://gnusocial.network/

                                    You would think FSF would update the repository links etc on all the links above 🤦

                                    I use Cloudron with Gandi & Hetzner

                                    murgero 1 Reply Last reply Reply Quote 1
                                    • murgero
                                      murgero App Dev @jdaviescoates last edited by

                                      @jdaviescoates As far as I can tell - my repo for this is working. The only thing that needs heavy testing is ActivityPub support.

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

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post
                                      Powered by NodeBB