Skip to content

Latest commit

 

History

History
79 lines (47 loc) · 1.58 KB

README.md

File metadata and controls

79 lines (47 loc) · 1.58 KB

social-notifications

A simple project that listens to specific words across the web and sends notifications about them to slack.

Config

  • DATABASE_FILE
  • LITESTREAM_ACCESS_KEY_ID
  • LITESTREAM_REPLICA_URL
  • LITESTREAM_SECRET_ACCESS_KEY
  • LOG_FORMAT
  • NOTIFY_SLACK
  • RAPID_API_KEY
  • SLACK_CHANNEL_ID
  • SLACK_TOKEN
  • TAG

Usage

# run for all configured services
social-notifications

# run for a single service
social-notifications --services github

# disable notifications (useful when building the database for the first time)
social-notifications --notify-slack=false

Services

Devto

Shows posts where the post has the tag.

devto preview

Github

Shows results where the repository name contains the tag in the name.

github preview

Hacker News

Shows results where the story or comment has the tag in the contents, title, or url.

hackernews preview

Medium

Shows articles where the content has the tag.

medium preview

Mastodon

Shows results from mastodon.social where the mastodon content has the tag.

mastodon preview

Reddit

Shows results where the post is in a particular subreddit.

reddit preview

Stackoverflow

Shows questions where the question has the tag.

stackoverflow preview

Twitter

Shows results where the tweet content has the tag. Has certain filtering conditions (see code for details).

twitter preview