Skip to content

Instantly share code, notes, and snippets.

@dewomser
Last active August 18, 2026 09:53
Show Gist options
  • Select an option

  • Save dewomser/e2a175e4c10de51a3fa5be08dfbbcc47 to your computer and use it in GitHub Desktop.

Select an option

Save dewomser/e2a175e4c10de51a3fa5be08dfbbcc47 to your computer and use it in GitHub Desktop.
mastodon toot comands for bash

Alle Follower mit Status 0 rausschmeißen

Also alle die, die folgen aber noch nie etwas selbst gepostet haben.

toot followers --json | jq -r '.[] | select(.statuses_count == 0) | .acct' | while read acct;
do toot block "$acct" && toot unblock "$acct"; done

Alle meine Mastodon-Follower in ein Array laden … 2.Zeile Ausgabe zeilenweise

mapfile -t array <<< "$(toot followers @dewomser)"
echo "${array[@]}" | tr '*' '\n'

Eine Möglichkeit von vielen. Aber diese gefällt mir gerade an besten.

Schnell mal was wegtröten

Es ist wieder ein Einzeiler geworden. Uhhh ! das sieht schick aus, weil mit kdialog .

toot post "$(kdialog --inputbox "Dialog-Tooter" "Lolo is a dancer")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment