0.1.2 • Published 3 years ago

heuristicalert v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

test release

Heuristicalert

Instant access to twitter mentions relevant to your interest/business.

It crawls Twitter every one hour and notify to Slack.

Installation

npm -g install heuristicalert

Run

env TWITTER_CONSUMER_KEY=xxx \
    TWITTER_CONSUMER_SECRET=xxx \
    TWITTER_ACCESS_TOKEN_KEY=xxx \
    TWITTER_ACCESS_TOKEN_SECRET=xxx \
    SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx \
    heuristicalert heuristicalert.yml

heuristicalert.yml looks like this:

# Tweet including "Hello" and author's followers > 1000, favorite > 10, retweet > 10
- query: Hello
  lang: en
  followers_count: 1000
  favorite_count: 10
  retweet_count: 10

# Every tweet including "Remotehour"
- query: Remotehour
  lang: en
  followers_count: 0
  favorite_count: 0
  retweet_count: 0

TODO

  • Add "oneshot" run to work with other scheduling service
  • Usable in Module (to support AWS lambda environment)
  • Customize cron scheduling
  • Provide official docker image
  • Write tests for easier maintainability
0.1.2

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago