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 8d2d78c8ec Fix first TODO 7 months ago
cmd Just use AccessToken to connect to Mastodon after correctly getting it 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 Fix first TODO 7 months ago
go.mod Switch to github.com/cking/go-mastodon 7 months ago
go.sum Switch to github.com/cking/go-mastodon 7 months ago
main.go Move the main code in a run sub-command 7 months ago

README.md

tg2mastodon

tg2mastodon 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).
  • Message attribution from telegram users (?).
  • Handle messages with 1 photos and caption.
  • Handle messages with multiple photos.
  • Add configuration variable to set mastodon message visibility.
  • Set the Telegram channels allowed to use the bot: we don't want spam from someone that just add the bot somewhere.