bridges rss with twitter or even with generic commands
Umputun 3b0dd528d6 fix env in compose | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
app | %!s(int64=5) %!d(string=hai) anos | |
vendor | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.travis.yml | %!s(int64=5) %!d(string=hai) anos | |
Dockerfile | %!s(int64=5) %!d(string=hai) anos | |
Gopkg.lock | %!s(int64=5) %!d(string=hai) anos | |
Gopkg.toml | %!s(int64=5) %!d(string=hai) anos | |
LICENSE | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
docker-compose.yml | %!s(int64=5) %!d(string=hai) anos |
The service publishes RSS updates to twitter.
Use provided docker-compose.yml
and change FEED
value. All twiter-api credentials can be retrieved from https://developer.twitter.com/en/apps and should be set in environment or directly in the compose file.
Application Options:
-r, --refresh= refresh interval (default: 30s) [$REFRESH]
-t, --timeout= twitter 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]