twitter-stream-collector

DB_PATH="[/data/twitter/]YYYY/MM/[twitter].YYYYMMDD.HH[.jsons]" TWITTER_USERNAME=username TWITTER_PASSWORD=password npm start

Usage no npm install needed!

<script type="module">
  import twitterStreamCollector from 'https://cdn.skypack.dev/twitter-stream-collector';
</script>

README

A twitter stream collector

Usage:

DB_PATH="[/data/twitter/]YYYY/MM/[twitter].YYYYMMDD.HH[.jsons]" TWITTER_USERNAME=username TWITTER_PASSWORD=password npm start

DB_PATH specifies the filename format of destination files. DB_PATH is treated as Moment.js format string (in UTC).