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.1.tar.gz (11.0 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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tootstagram-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 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.1.tar.gz
Algorithm Hash digest
SHA256 7c0a1082185e721d2357135a42ed5962baf5cfe284bb7f0300ac57d25ced291b
MD5 791fafd475b3bbc83567d2b2663b8dc8
BLAKE2b-256 10f29c132aafe5c31e10b0f226c4de492e7300c02e9ea8f1551fd6c20cd997ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tootstagram-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7da74ddc74af7e2107d07eafa68139c181ac21f902ed45ff0359733b959310
MD5 e54867bb336c3dd903f76972811a3b5e
BLAKE2b-256 f322d763967b49a685ed434d8b602514c8815f8dcec881806c69da574a054417

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