Make Digital Beautiful.

und schnell

Mastodon character limit increase – in a Docker environment

Mit dem Script erhöht ihr das Zeichenlimit auf 5000 Zeichen bei eurer Instanz.

For the Docker Mastodon admin newbies. With the script, you increase the character limit to 5000 characters for your instance. #!/bin/bashdocker-compose exec web sed -i ‘s/500/5000/g’ app/javascript/mastodon/features/compose/components/compose_form.jsdocker-compose exec web sed -i ‘s/500/5000/g’ app/validators/status_length_validator.rbdocker-compose exec web sed -i ‘s/:registrations/:registrations, :max_toot_chars /g’ app/serializers/rest/instance_serializer.rbdocker-compose exec web sed -i ‘s/private/def max_toot_charsn 5000n endnn private/g’ app/serializers/rest/instance_serializer.rbdocker-compose exec web bundle exec … Read more