bridges rss with twitter or even with generic commands

Umputun d58514a78f missing vendor for errors 5 éve
app d58514a78f missing vendor for errors 5 éve
vendor d58514a78f missing vendor for errors 5 éve
.gitignore b1dc239277 switch logging to lgr 5 éve
.travis.yml 742356b3b6 remove vendor flag, not using modules yet 5 éve
Dockerfile 0e36c98685 simplify dockefile 5 éve
Gopkg.lock d58514a78f missing vendor for errors 5 éve
Gopkg.toml b1dc239277 switch logging to lgr 5 éve
LICENSE 841e8fe748 Initial commit 5 éve
README.md 86677f986f typo 5 éve
docker-compose.yml ad29bfa236 comment dry run in compose 5 éve

README.md

rss2twitter Build Status Coverage Status Go Report Card Docker Automated build

The service publishes RSS updates to twitter. The reason is simple - I needed self-hosted thingy to post twits on feed change for my sites (podcasts and blogs). Tried several "cloud services" for this and lately switched to IFTTT. It worked, but slow and unreliable. Sometimes it took hours to get twit posted, sometimes I had to trigger it manually. In addition IFTTT can't have multiple twitter accounts defined for the same IFTTT account and I had to deal with multiple IFTTT accounts just to post to different twitter's timelines.

Install

Use provided docker-compose.yml and change FEED value. All twitter-api credentials can be retrieved from https://developer.twitter.com/en/apps and should be set in environment or directly in the compose file.

Parameters

Application Options:
  -r, --refresh=         refresh interval (default: 30s) [$REFRESH]
  -t, --timeout=         rss feed timeout (default: 5s) [$TIMEOUT]
  -f, --feed=            rss feed url [$FEED]
      --consumer-key=    twitter consumer key [$TWI_CONSUMER_KEY]
      --consumer-secret= twitter consumer secret [$TWI_CONSUMER_SECRET]
      --access-token=    twitter access token [$TWI_ACCESS_TOKEN]
      --access-secret=   twitter access secret [$TWI_ACCESS_SECRET]
      --template=        twitter message template (default: {{.Title}} - {{.Link}}) [$TEMPLATE]
      --dry              dry mode [$DRY]
      --dbg              debug mode [$DEBUG]