Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
/ tsts Public archive

TweetStreamToSlack: dotnet container to send tweets from a Twitter list to a Slack channel.

Notifications You must be signed in to change notification settings

jski/tsts

Repository files navigation

NOTE: This repo will no longer function, as Twitter has changed their API and I don't care to update this tool for the enormous cost it would incur.

TweetStreamToSlack (tsts)

A simple dotnet app to capture tweets from a Twitter list and send them to a Slack channel you provide. Great for keeping track of stuff without obviously looking at Twitter!

Prerequisites

Only required for local debug/dotnet 3.1 usage

  1. dotnet core 3.1
  2. TweetInvi library installed from NuGet - Install-Package TweetInvi

Required for Docker usage

  1. Setup Twitter application to get a workable CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET (https://apps.twitter.com)
  2. Setup incoming Slack webhook to a channel in the group you want, to display the information you pass
  3. Collect credentials and pass them as environment variables; either using -e and docker run, or into the docker-compose file included

Usage

  • Modify docker-compose.yaml to include the values needed for the application to run from prerequisite step; everything in environment block must have a value!
  • Once all values are set in the compose file, docker-compose up will run everything for you, including pulling image from Dockerhub

Notes

To keep your environment values in docker-compose.yaml but not risk them being included in the repo if you fork/use your own: git update-index --assume-unchanged docker-compose.yaml

About

TweetStreamToSlack: dotnet container to send tweets from a Twitter list to a Slack channel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published