Skip to content

dilpreetsio/tweet2story

Repository files navigation

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

About

Create beautiful stories from tweets 🐦

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages