I’ve developed this, translate as needed: 1/3

#! /usr/bin/sh

if test $(echo $1 | wc -c) -le 140; then
/usr/bin/toot post "$1" &&
/home/oceane/.local/bin/twtxt tweet "$1" ||
echo "Je n’ai pas pu poster sur ActivityPub, je ne posterai donc pas non plus sur twtxt !";
else echo "Ce message dépasse 140 signes et ne peut pas être posté !";
fi

Second bug report: I tried to insert both code snippets in the same post but I couldn’t add anything after the code part in the first post. There wasn’t any newline after this portion. I’d like to maybe have a newline automatically inserted after a code block, if there’s none, when cycling with tab ?

It could be worth telling that the second screenshot was different from the first one. So there’s another bug, which is that you only got the first one, duplicated, with the image description of the second screenshot only.