1
0
Fork 0
Telegram bot to post messages from a Telegram group to Mastodon.
Go to file
Daniele Tricoli 7330ed07a1
continuous-integration/drone/push Build is passing Details
Don't use a regexp in splitTextAtChunk
It was not reliable, split all the words using spaces and concatenate
them again to form each line to be < limit works better.
2022-03-09 03:13:00 +01:00
cmd Don't use a regexp in splitTextAtChunk 2022-03-09 03:13:00 +01:00
.drone.yml Test sub packages 2022-02-28 23:26:05 +01:00
.gitignore Ignore envrc 2022-02-28 00:11:10 +01:00
LICENSE Initial import 2022-02-27 02:00:26 +01:00
README.md Allowed Telegram channel configuration done 2022-03-08 03:19:40 +01:00
go.mod Rename the project to telegram-group2mastodon 2022-03-05 03:51:35 +01:00
go.sum Switch to github.com/cking/go-mastodon 2022-03-01 00:50:36 +01:00
main.go Rename the project to telegram-group2mastodon 2022-03-05 03:51:35 +01:00

README.md

telegram-group2mastodon

telegram-group2mastodon is a Telegram bot to post messages from a Telegram group to Mastodon. You should only use on public groups and set the bot to be able to read all the messages.

This is still a Work In Progress, please don't use at the moment, since also documentation is missing.

TODO

  • Publish text messages from Telegram to Mastodon.
  • Handle text > 500 characters (or mastodon instance limit).
  • Handle messages with 1 photo and caption.
  • Handle messages with multiple photos.
  • Add configuration variable to set mastodon message visibility.
  • Set the Telegram channel allowed to use the bot: we don't want spam from someone that just add the bot somewhere.