tootstream icon indicating copy to clipboard operation
tootstream copied to clipboard

Automatically split and submit long toots

Open dredmorbius opened this issue 4 years ago • 0 comments

Splitting long toots at <= 500 characters (or other server / user-specified length), and submitting these, with numbering added, would be useful.

I've ginned up some crappy gawk that does the splits, though not submission:

https://pastebin.com/v3FXKxC3

Issues:

  • Max sizes vary by server. 500 is a reasonable default.
  • Unicode / multibyte characters.
  • In replies, references to parent / other thread participants eats into character count.
  • Widow/orphan protection would be useful.
  • Mastodon isn't a long-form medium, even if some ~~people~~ space alien cats abuse it that way.

dredmorbius avatar Jul 18 '19 07:07 dredmorbius