1
0
Fork 0
Commit Graph

19 Commits (0059989510773433a054fd73385378d9872c4a8b)

Author SHA1 Message Date
Daniele Tricoli 0059989510 Move SplitTextAtChunk function into a separate package 9 months ago
Daniele Tricoli 7fb169443c Add MASTODON_TOOT_FOOTER option key 9 months ago
Daniele Tricoli 7330ed07a1 Don't use a regexp in splitTextAtChunk 9 months ago
Daniele Tricoli 6b162f1595 Use an heutistic technique to split text in chunks < mastodon max characters 9 months ago
Daniele Tricoli 58f682a4e1 Log the telegram message id for debugging purpose 9 months ago
Daniele Tricoli 8f3c97a532 Fix logging for telegram chat id 9 months ago
Daniele Tricoli c7dc59ebc7 Check the allowed telegram chat id 9 months ago
Daniele Tricoli c338bd0b68 Add TELEGRAM_CHAT_ID const field 9 months ago
Daniele Tricoli a9719668ee Slice caption only when > 500 characters 9 months ago
Daniele Tricoli ac0d898af9 s/DEBUG/TELEGRAM_DEBUG/ 9 months ago
Daniele Tricoli ff78aae3d7 Use max_characters also for photos' caption 9 months ago
Daniele Tricoli 86868d786f Split longer telegram messages to the max mastodon toot length 9 months ago
Daniele Tricoli 833ad0186e Write telegram message caption in the toot 9 months ago
Daniele Tricoli a9fdaca4d8 Add support to post media 9 months ago
Daniele Tricoli 4c082f2e03 Handle only text and photo 9 months ago
Daniele Tricoli f2c9bbacbc Make toot visibility configurable 9 months ago
Daniele Tricoli bda25e2c20 Just use AccessToken to connect to Mastodon after correctly getting it 9 months ago
Daniele Tricoli 2db7323032 Switch to github.com/cking/go-mastodon 9 months ago
Daniele Tricoli 32d5a2285d Move the main code in a run sub-command 9 months ago