Skip to content


Repository files navigation

Mastodon Bridge

A Mastodon <-> DeltaChat bridge plugin for SimpleBot.

If this plugin has collisions with commands from other plugins in your bot, you can set a command prefix like /masto_ for all commands:

simplebot -a db -s simplebot_mastodon/cmd_prefix masto_


To install run:

pip install simplebot-mastodon

User Guide

To log in with OAuth, send a message to the bot:


replace "" with your instance, the bot will reply with an URL that you should open to grant access to your account, copy the code you will receive and send it to the bot.

To log in with your user and password directly(not recommended):

/login myPassw0rd

Once you log in, A "Home" and "Notifications" chats will appear, in the Home chat you will receive your Home timeline and any message you send there will be published on Mastodon. In the Notifications chat you will receive all the notifications for your account.

If someone sends you a direct message in a private 1:1 conversation, it will be shown as a new chat where you can chat in private with that person, to start a private chat with some Mastodon user, send:


and the chat with "" will pop up.

To logout from your account:


For more info and all the available commands(follow, block, mute, etc), send this message to the bot: