Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 678 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 678 Bytes

TwitterMediaStreamer

Monitors a specified twitter user using the streaming API, and stores their media posts in the highest possible resolution (images) & bitrate (video/mp4).

Downloads are stored in individual directories, with the format ./media/{username}

Installation

$ git clone https://github.com/Fshy/TwitterMediaStreamer
$ cd TwitterMediaStreamer
$ npm install

Usage

# Rename .env.example to .env and fill developer credentials

# Pass username as command-line argument to start
$ npm start @jack
# or
$ node app.js @jack
# or using a process manager
$ nodemon app.js @jack
$ pm2 start app.js -- @jack