1
0
Fork 0
Telegram bot to post messages from a Telegram group to Mastodon.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniele Tricoli 6b162f1595 Use an heutistic technique to split text in chunks < mastodon max characters 7 months ago
cmd Use an heutistic technique to split text in chunks < mastodon max characters 7 months ago
.drone.yml Test sub packages 7 months ago
.gitignore Ignore envrc 7 months ago
LICENSE Initial import 7 months ago
README.md Allowed Telegram channel configuration done 7 months ago
go.mod Rename the project to telegram-group2mastodon 7 months ago
go.sum Switch to github.com/cking/go-mastodon 7 months ago
main.go Rename the project to telegram-group2mastodon 7 months ago

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.