Skip to main content

Mastodon/DeltaChat bridge.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplebot_mastodon-0.6.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplebot_mastodon-0.6.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file simplebot_mastodon-0.6.0.tar.gz.

File metadata

  • Download URL: simplebot_mastodon-0.6.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simplebot_mastodon-0.6.0.tar.gz
Algorithm Hash digest
SHA256 182dcb098b5f9185faa38f21dbae4b964f6587a7143c8fd798237539b4e34be9
MD5 21c782718bf37e54ce4006a42905cb53
BLAKE2b-256 8056ef3deebc9f9799aa5c9848642c78d80dbc8f427600e4f31266dc2e363293

See more details on using hashes here.

File details

Details for the file simplebot_mastodon-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simplebot_mastodon-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb66e14b9107dc02231d2874a0f37835b0b6dac6024e212a931915d26d0c237d
MD5 ba6b3fddd8673f4c06666eda1d0422d3
BLAKE2b-256 fc5b4abc01d170302bac579b2b08f0ef9875f8459f12844e0f7b3f98c25d0dac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page