Skip to content

ts1994tw/twitter-hunter

Repository files navigation

twitter hunter

Tech stack

Get started

Install dependencies

yarn install

Setup environment variables

Create .env file, with your Twitter Hunter & Twitter API key

REACT_APP_PRODUCT_HUNT_API_KEY="<your-key>"
TWITTER_CONSUMER_KEY="<your-key>"
TWITTER_CONSUMER_SECRET="<your-key>"
TWITTER_ACCESS_TOKEN_KEY="<your-key>"
TWITTER_ACCESS_TOKEN_SECRET="<your-key>"

Fetch products

This will call Product Hunt API, and store result in <ProjectRoot>/data/today.json

yarn fetch

Start preview

This will open browser to preview video

yarn start

Render video

This will store generated video in <ProjectRoot>/out/video.mp4

yarn build

Post to Twitter

yarn post-tweet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published