Skip to main content

Duplicate posted images from Mastodon to Instagram

Project description

Tootstagram

https://cvs.sonologic.net/gmc/tootstagram

Installation

pip install tootstagram

Usage

Create a configuration file name tootstragram.toml based on the example tootstragram.toml.example and place it in any of these locations:

  • In your home or user directory
  • In a subdirectory .tootstagram under your home or user directory
  • In the current working directory

The tool will search each of these locations in that order.

Then simply invoke the tool with:

tootstagram

This will fetch the feed from the Mastodon account and post any images that were not already posted to the Instagram account.

Limitations

  • Only posts toots with images, not videos (I don't do videos myself)
  • Any html tags in the toot are crudely removed by a simple regexp
  • If a toot has multiple images, but not all have alt text, none of the instagram posts will have alt text (because it is impossible to derive from the feed which alt text belongs to which image)
  • Editing a toot will not alter on or repost to instagram
  • Only posts listed toots, as those are the only ones available from the feed

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

tootstagram-0.0.2.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

tootstagram-0.0.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file tootstagram-0.0.2.tar.gz.

File metadata

  • Download URL: tootstagram-0.0.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tootstagram-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7f45ba7d7d14896c2cac513cebfed85c2a084e575cc9741a6771590679d9d35f
MD5 a63d4acda6f3431a9e6c0df5cc70e11f
BLAKE2b-256 82aa2b479f13ad99c5ce475b77b843b0b40a88a7d799f3c92d7e3c8aa99177f0

See more details on using hashes here.

File details

Details for the file tootstagram-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tootstagram-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tootstagram-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14f99f26cb1ad5687c3210e8594ee444e205484f15048eb9c64f294ec50c5cf9
MD5 c42e4ac5ec60a756643a2b9308a4e786
BLAKE2b-256 dfe4030b38684cf45796584b8ee294f7035bee205a4ee3f39152494bc3bf4af6

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