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

    Increase character limit for toots from 500 to xxxx

    Mastodon
    4
    7
    328
    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.
    • S
      stoccafisso last edited by

      Hi all

      The default character limit for new toots is 500. But I would like to increase that limit for my special instance.

      How can I do this? And hopefully make it a permanent change, not overwritten by updates?

      Any help? 🙂

      nebulon 1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff @stoccafisso last edited by

        @stoccafisso do you have a link on how to do this from the upstream docs? Then we can see what adjustments, if possible, we can do on the package side.

        S 1 Reply Last reply Reply Quote 0
        • S
          stoccafisso @nebulon last edited by stoccafisso

          Hi @nebulon

          I am not sure this is directly from upstream docs, but here is one suggestion:

          https://draklyckan.se/2021/11/how-to-increase-the-character-limit-for-toots-in-mastodon/

          The above article mention these sources:

          https://github.com/mastodon/mastodon/issues/12265
          https://github.com/kamysheblid/mastodon_max_characters
          https://old.reddit.com/r/Mastodon/comments/hozl70/
          https://docs.joinmastodon.org/admin/

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @stoccafisso last edited by

            @stoccafisso hm looks like some code patches are required or at least add some ruby files. This won't work with the code residing in a read-only fs section on Cloudron and I don't think it makes sense to allow such patching, as it makes it very hard later to ensure correct updates.

            In your case I guess you could fork the mastodon app package and create your own with that patchset.

            S 1 Reply Last reply Reply Quote 0
            • S
              stoccafisso @nebulon last edited by

              @nebulon Thank you for having a look at it.

              @nebulon said in Increase character limit for toots from 500 to xxxx:

              In your case I guess you could fork the mastodon app package and create your own with that patchset.

              Holy moly, unknown territory 🙂

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

                @stoccafisso patches to make the character limit customizable were rejected upstream . see https://github.com/mastodon/mastodon/pull/5697#issuecomment-345078582 for upstream author's comment .

                1 Reply Last reply Reply Quote 2
                • robi
                  robi last edited by

                  does mastodon support threads yet?

                  Life of Advanced Technology

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