twitter-firehose

1.0.0 • Public • Published

eshose

🦜 adds documents to a tweets index in elasticsearch, drinking from the twitter firehose

npm i -g eshose

create an ~/.eshose file like:

{
  "ELASTICSEARCH_HOST": "https://user:pass@localhost:9200",
  "TWITTER_SEARCH_TERMS": "trump",
  "TWITTER_CONSUMER_KEY": "PASTE_YOUR_CONSUMER_KEY_HERE",
  "TWITTER_CONSUMER_SECRET": "PASTE_YOUR_CONSUMER_SECRET_HERE",
  "TWITTER_ACCESS_TOKEN_KEY": "PASTE_YOUR_ACCESS_TOKEN_KEY_HERE",
  "TWITTER_ACCESS_TOKEN_SECRET": "PASTE_YOUR_ACCESS_TOKEN_SECRET_HERE"
}

run:

  • eshose
  • eshose "some other search query"
  • TWITTER_SEARCH_TERMS="some other search query" eshose

license

mit

Readme

Keywords

none

Package Sidebar

Install

npm i twitter-firehose

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.24 kB

Total Files

6

Last publish

Collaborators

  • bevacqua