Skip to main content

Create instagram stories from tweets

Project description


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



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


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


  • Add media support in tweets
  • Add thread support



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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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