Skip to main content
Archived

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

Tootbot

Repo at Codeberg CI - Woodpecker Downloads

Checked against Safety DB Checked with pip-audit CodeLimit

Code Style: Black PyPI - Python Version PyPI - Wheel

GPL3

This is a Python bot that looks up posts from specified subreddits and automatically posts them on Mastodon. It is based on reddit-twitter-bot.

Features:

  • Tootbot posts to Mastodon

  • Media from direct links, Gfycat, Imgur, Reddit, and Giphy is automatically attached in the social media post. Tootbot attaches up to the first 4 pictures for imgur albums and reddit gallery posts.

  • Links that do not contain media can be skipped, ideal for meme accounts like @babyelephantgifs

  • NSFW content, spoilers, and self-posts can be filtered

  • Tootbot can monitor multiple subreddits at once

  • Tootbot is fully open-source, so you don’t have to give an external service full access to your social media accounts

  • Tootbot also checks the sha256 checksum of media files to stop posting of the same media file from different subreddits.

  • Tootbot can ping a Healthchecks instance for monitoring continuous operation of Tootbot

  • Optionally throttle down frequency of tooting when mastodon errors are detected.

!!! Tootbot no longer supports posting to Twitter. !!!

If you need twitter functionality look into reddit-twitter-bot as a possible alternative.

!!! Tootbot no longer supports deleting old toots. !!!

If you’d like to delete older toots from your Mastodon account look into Fedinesia as a tool that might work for you.

Disclaimer

The developers of Tootbot hold no liability for what you do with this script or what happens to you by using this script. Abusing this script can get you banned from Mastodon, so make sure to read up on proper usage of the API for each site.

Setup and usage

For instructions on setting up and using Tootbot, please look at the documentation

Supporting Tootbot

There are a number of ways you can support Tootbot:

  • Create an issue with problems or ideas you have with/for Tootboot

  • You can buy me a coffee.

  • You can send me small change in Monero to the address below:

Monero donation address: 87C65WhSDMhg4GfCBoiy861XTB6DL2MwHT3SWudhjR3LMeGEJG8zeZZ9y4Exrtx5ihavXyfSEschtH4JqHFQS2k1Hmn2Lkt

Changelog

See the Changelog for any changes introduced with each version.

License

Tootbot is licences under the GNU General Public License v3.0

Metadata

Release files for tootbot 8.2.0

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

Source distribution (sdist)

Source distribution for tootbot 8.2.0
File Size Uploaded
tootbot-8.2.0.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tootbot 8.2.0
File Interpreter ABI Platform
tootbot-8.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 57.6 kB

Release files / tootbot-8.2.0.tar.gz

Download URL tootbot-8.2.0.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e61b6b12424b114153466cbabac52540ba35261eef9532fe58500c03617f2fea
BLAKE2b-256 checksum
How to use checksums
08df2d23c6fef13abb843cfdfe23fd15c68124b28fe3d99312d33de75f536c8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.11.1 CPython/3.11.7

Release files / tootbot-8.2.0-py3-none-any.whl

Download URL tootbot-8.2.0-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f0239a4b9c062f8256d51d6f4308eaab310809664254077dcf234d358ddf328
BLAKE2b-256 checksum
How to use checksums
090289eaf534622e8549aeb2392235e3f749ca66be09d56fce7bf3efa8ee69a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.11.1 CPython/3.11.7
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