Skip to main content

Create instagram stories from tweets

Project description

Tweet2Story

Intro Gif
Create instagram stories from tweets using cli.
Elon Sample Naval Sample Mr beast Sample Orange Sample Stoic Sample

Requirements

Commands

Create a story using a url

tweet2story -u <URL OF THE TWEET>

Start a streamer (requires API keys to be exported)

tweet2story -s <USERNAME>

This requires creating a twitter app from developer console & exporting credentials.

Set environment variables

TWITTER_CUSTOMER_KEY = Customer key of the created app
TWITTER_CUSTOMER_SECRET = Customer secret of the created app
TWITTER_ACCESS_TOKEN = Access token of the created app
TWITTER_ACCESS_TOKEN_SECRET = Access secret of the created app

Options

Flag Description
-u Flag for url mode uses TWINT to generate the tweet no API integration required
-s Flag for streamer mode REQUIRES API KEYS
-c Set background color of the tweet from these colors orange, red, green, yellow, violet, blue, pink

Roadmap

  • Add media support in tweets
  • Add thread support

License

MIT

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

tweet2story-1.0.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

tweet2story-1.0.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file tweet2story-1.0.4.tar.gz.

File metadata

  • Download URL: tweet2story-1.0.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for tweet2story-1.0.4.tar.gz
Algorithm Hash digest
SHA256 33e2bf8b44a72da49e215139b202352449c59d566aca72f350ae82ec67fa1117
MD5 351fa5329c7df6ac7c878911956e60d0
BLAKE2b-256 c6a0abf8445552c6e48067452d1533150f6dc56402ab773653843476a8bdac33

See more details on using hashes here.

File details

Details for the file tweet2story-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: tweet2story-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for tweet2story-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4518bf835561358c1d071a587400b46a524fa36d6ff75d9fb0f6a043584b1c0f
MD5 f81602da5aaea923e929f0df98e0fd0b
BLAKE2b-256 02301271e4b81a5b81f923b7c03a0e6b09202ded17eed48ea64f67d612a90126

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