leoleoasd / Mastodon2TG

Sync mastodon toot to Telegram channel and group.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mastodon2TG

Sync mastodon toot to telegram channel or group.

Using mastodon websocket API to fetch statuses update.

Functions

Sync mastodon toot to telegram channel or group.

Photos are supported.

(Video may not working...)

Usage

Modify your config.sample.json to config.json with your own information.

All keys except chat_id is necessary.

Get your telegram bot token from telegram: @botfather.

Get your mastodon api token from your mastodon server.

Todo

  • Sync telegram channel message to mastodon.
  • Support other message type. (Maybe poll?)

About

Sync mastodon toot to Telegram channel and group.

License:Apache License 2.0


Languages

Language:Python 100.0%