Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

https://img.shields.io/pypi/v/simplebot_mastodon.svg https://img.shields.io/pypi/pyversions/simplebot_mastodon.svg https://pepy.tech/badge/simplebot_mastodon https://img.shields.io/pypi/l/simplebot_mastodon.svg https://github.com/simplebot-org/simplebot_mastodon/actions/workflows/python-ci.yml/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

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 bot@example.com db -s simplebot_mastodon/cmd_prefix masto_

Install

To install run:

pip install simplebot-mastodon

User Guide

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

/login mastodon.social

replace “mastodon.social” 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 mastodon.social me@example.com 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:

/dm friend@example.com

and the chat with “friend@example.com” will pop up.

To logout from your account:

/logout

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

/help

Metadata

Release files for simplebot-mastodon 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplebot-mastodon 0.6.1
File Size Uploaded
simplebot_mastodon-0.6.1.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplebot-mastodon 0.6.1
File Interpreter ABI Platform
simplebot_mastodon-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.8 kB

Release files / simplebot_mastodon-0.6.1.tar.gz

Download URL simplebot_mastodon-0.6.1.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b817813bae5994956a399dfca5c8ec8b87505879c59bac8d982d648ec9d0217d
BLAKE2b-256 checksum
How to use checksums
a2e9ce8326729e02cda6840ee6d074edf796285a80efb1db306b97a961212aad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / simplebot_mastodon-0.6.1-py3-none-any.whl

Download URL simplebot_mastodon-0.6.1-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4796a9dee8541ff5047155afbb1bf1f188f80536515f1bcabc242c610ca25619
BLAKE2b-256 checksum
How to use checksums
88db2a634e4eb7533465263979b37baa7338b110bd4b52cc9e7c0d7798828768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page