ihabunek / toot

toot - Mastodon CLI & TUI
GNU General Public License v3.0
1.15k stars 111 forks source link

[Feature request] Toot chaining #464

Closed matthiasbeyer closed 1 week ago

matthiasbeyer commented 8 months ago

Hi,

from time to time I post chains of toots (where I reply to the latest toot again and again), because I have some long-form stuff to tell. You most likely have seen stuff like this already on the fediverse.

It would be really nice to be able to script these with toot, something like toot post-chain --from-file ./file to post each line as a seperate toot, replying to re previous one...

Or something more flexible even... I don't know. Maybe something to think about?

ihabunek commented 8 months ago

What about adding a flag like --reply-last which would make toot reply to the last posted toot on that instance?

matthiasbeyer commented 8 months ago

That sounds like a nice idea!

Fipaddict commented 1 month ago

Hi, This issue seems to me to be a "Good first issue" and I'd like to try to implement it.

My idea is (on post.py) :

danschwarz commented 1 week ago

What about adding a flag like --reply-last which would make toot reply to the last posted toot on that instance?

Seems like it would work most of time time, fail some of the time when others are posting toots simultaneously.

toot post --reply-to should work more reliably, if you have your last posted toot's ID available. Is it easy to retrieve this? If not, perhaps making it easy to retrieve your last posted toot's ID is the best way forward.